Re: %clean in rpm-4.4.7+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On May 23, 2007, at 12:51 PM, Tomasz Kłoczko wrote:

On Mon, 21 May 2007, Tim Mooney wrote:


All-

With rpm 4.4.7 and later, rpm ignores the %clean in the spec file and
instead uses a set of macros to handle post-build cleanup of the build system. This was discussed on the rpm devel list and is documented in
the CHANGES, and the new functionality has been working fine.

What I'm after is configuring my personal/system build default so that

- the BuildRoot is NOT removed after a successful rpmbuild
- the Build subdirectory (%_topdir/BUILD/foo-1.0) IS removed after
 a successful rpmbuild, but left on an unsuccessful build.

In 4.4.2 this is performed by "rpmbuild --clean <spec>".
If it still true in > 4.4.2 I dont see any reasons for changes.


rpm-4.4.7 and later has refactored BuildRoot: and %clean out of spec files.

Unfortunately there's no fix for legacy spec files except to parse
and ignore the contents. Yet.

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux