On Wed, 19 Jan 2011 06:57:09 -0800, Brad wrote: > 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} ? Can you upload the spec file to some public place? Without a look at it, it's hard to guess where you use %buildroot. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel