On 05/20/2009 08:47 PM, Chuck Anderson wrote:
On Wed, May 20, 2009 at 05:46:18PM -0700, Toshio Kuratomi wrote:
Since the rpm version shipped in Fedora 10 and beyond defines a default
buildroot, I think we can start phasing out the current buildroot
Guideline. How about adding this to the start of the buildroot tag
section?
I'd be concerned about accidentally blowing away people's systems if
they take a src.rpm from Fedora and try to build it on an older Fedora
or non-Fedora system.
%install
rm -rf $RPM_BUILD_ROOT
...
%clean
rm -rf $RPM_BUILD_ROOT
What will this evaluate to on older systems? Won't it be "rm -rf\n"?
Which actually won't remove anything?
-Toshio
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging