>>>>> "AW" == Adam Williamson <awill...@redhat.com> writes:

AW> that's not the problem. rpmlint just thinks you usually shouldn't do
AW> anything with the build root in certain sections of spec files and
AW> so complains if it sees usage of any buildroot definition
AW> ($RPM_BUILD_ROOT or %buildroot) in those sections, IIRC.

Well, the guidelines say:

http://fedoraproject.org/wiki/Packaging:Guidelines#Scriplets_are_only_allowed_to_write_in_certain_directories

Of course, that governs writing, and rpmlint can't really tell if
something intends to read or write, so it warns when it sees mention of
buildroot in potentially problematic places.  As with many rpmlint
complaints, you should simply indicate in your review ticket why you
believe the usage is justified.

 - J<
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to