On Sat, 22 Jan 2011 06:42:38 -0800, Brad wrote: > The www.coin-or.org server seems to be down, so I have placed a copy of > the CppAD spec file at > http://www.seanet.com/~bradbell/cppad.spec Okay, got it. In %prep, you patch the source code to use includedir=%{buildroot}%{_includedir} As discussed before in the thread, rpmlint just warns about doing something with %buildroot prior to the %install section as it may lead to including broken files in the built packages and may also break --short-circuit rpmbuilds (see rpmlint's verbose warning and the rpmbuild manual page). BuildRoot is emptied and recreated no earlier than in the %install section: | %install | rm -rf %{buildroot} | make install DESTDIR=%{buildroot} And even if you dropped the "rm -rf ..." there, rpmbuild defaults to recreating BuildRoot from scratch at the beginning of %install. You should not use %buildroot earlier than in %install. If you can verify that the files included in the built noarch package don't depend on anything related to %buildroot (i.e. neither the path itself nor any contents deleted prior to %install, you may ignore the rpmlint warning. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel