rpm-buildroot-usage

Brad Bell bradbell at seanet.com
Wed Jan 19 14:57:09 UTC 2011


I am using the compile directive
     -I%{buildroot}%{_includedir}
during the test phase of a projects rpm build. This tests the installed 
copy of the include files instead of the copy in the distribution (and 
hence is a better test of the install).

The problem is that rpmlint complains with the warning
     W: rpm-buildroot-usage.
Is there another rpm macro I should use to specify the path 
%{buildroot}%{_includedir} ?



More information about the devel mailing list