- $(CAT) junkbuster-rh.spec | \
- $(SED) 's/^Version:.*/Version: $(RPM_VERSION)/g;s/^Release:.*/Release: $(RPM_PACKAGEV)/g' > abc && \
- $(MV) -f abc junkbuster-rh.spec; \
- $(CAT) junkbuster.init | \
- $(SED) 's#JB_PID=.*/\(.*\.pid\).*#JB_PID=@PID_FILE_PATH@/\1#g' > abc && \
- $(MV) -f abc junkbuster.init; \
+ $(SED) 's/^\(Version:\).*/\1 $(RPM_VERSION)/g; \
+ s/^\(Release:\).*/\1 $(RPM_PACKAGEV)/g' junkbuster-rh.spec > $(TMPFILE) && $(MV) -f $(TMPFILE) junkbuster-rh.spec; \