Re: [GuidelinesChange] Prepping BuildRoot For %install

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

 



Hi,
On 4/10/07, Tom Lane <tgl@xxxxxxxxxx> wrote:
"Tom \"spot\" Callaway" <tcallawa@xxxxxxxxxx> writes:
> It is important to properly prepare the BuildRoot in the %install
> section of your package before it is used. Every Fedora package MUST
> have an %install section that begins with either:
> %install
> rm -rf %{buildroot}
> or
> %install
> rm -rf $RPM_BUILD_ROOT

Just outta curiosity, why is it not considered an RPM bug that every
specfile has to take care of this detail?  Seems like it'd be trivial
to fix it once instead of memorializing this oversight in every package
till the end of time.
 To less up your work on checking whats mandatory things are missing
from a SPEC file, you can use rpmdevtools package in extras. This
package gives you fedora-newrpmspec command that will generate default
template with necessary fields/tags that should be present in SPEC
file.
Regards,
Parag.

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux