[Bug 252010] Review Request: rpmrebuild - A tool to build rpm file from rpm database

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 28 16:06:33 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: rpmrebuild - A tool to build rpm file from rpm database


https://bugzilla.redhat.com/show_bug.cgi?id=252010





------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp  2007-09-28 12:06 EST -------
Ah.. after I checked %postun scriptlet again, I came to
think that the following is simpler:

----------------------------------------------------------
%postun
# Remove all lines which contain 'RPMREBUILD START' 
# to 'RPMREBUILD END' in %{_sysconfdir}/popt
[ $1 -eq 0 ] || exit 0
if [ -f %{_sysconfdir}/popt ]; then
  sed -i -e '/RPMREBUILD START/,/RPMREBUILD END/d' %{_sysconfdir}/popt
fi
---------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the package-review mailing list