[Fedora-packaging] About BuildRoot tag
Sergio Belkin
sebelk at gmail.com
Wed Feb 2 20:19:25 UTC 2011
Hi,
I've read in Packaging Guidelines that:
"Fedora (as of F-10) does not require the presence of the BuildRoot
tag in the spec and if one is defined it will be ignored. The provided
buildroot will automatically be cleaned before commands in %install
are called."
However if I run rpmdev-newspec myprog.spec it creates the tag:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
So what is the right approach about it?
Thanks in advance!
--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified
More information about the packaging
mailing list