On Aug 22, 2006, at 5:40 PM, Lars Wilke wrote:
Is this stuff documented, especially how one is going to use that
thing to cleanup after the build. What will rpm choose as BuildRoot
in this version?
rpm-4.4.7 will use the value of %{buildroot} from macros rather than
from a spec file. Similarly %clean, from configuration, not from spec
files.
Not a whole lot to document, and not really major surgery. But yes, the
%{buildroot} macro is documented in /usr/lib/rpm/macros, and whatever I
decide to do to make %clean configurable will be documented there
when I'm
done as well.
Meanwhile, ignoring BuildRoot: and %clean in spec files is sure to
confuse, and not because of lack of documentation within rpm, but
rather through
misleading but well-meaning tutorials and such. It will take years for
the noise to subside, if ever.
Not my rpm problem, %clean and BuildRoot: from a spec file are largely
cut-n-paste boilerplate these days, always have been.
But i bet you will tell me know that it doesn't matter that much,
right :)
The desire to delete the build sub-directory is known, already
mentioned at
https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-August/
001346.html
I get to hack on rpm only on weekends ...
73 de Jeff
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list