Re: rpm-buildroot-usage

2011-01-22 Thread Michael Schwendt
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

Re: Re: rpm-buildroot-usage

2011-01-22 Thread Brad Bell
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 On 11:59 AM, Michael Schwendt wrote: On Fri, 21 Jan 2011 10:54:13 -0800, Brad wrote: ... snip ... Can you upload the spec file to some public place?

Re: rpm-buildroot-usage

2011-01-22 Thread Michael Schwendt
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

Re: Re: rpm-buildroot-usage

2011-01-21 Thread Brad Bell
(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

Re: rpm-buildroot-usage

2011-01-20 Thread Michael Schwendt
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

rpm-buildroot-usage

2011-01-19 Thread Brad Bell
with the warning W: rpm-buildroot-usage. Is there another rpm macro I should use to specify the path %{buildroot}%{_includedir} ? -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: rpm-buildroot-usage

2011-01-19 Thread Richard
On Wed, Jan 19, 2011 at 06:57:09AM -0800, Brad Bell wrote: Is there another rpm macro I should use to specify the path %{buildroot}%{_includedir} ? did you try $RPM_BUILD_ROOT ? Richard --- Name and OpenPGP keys available from pgp key servers -- devel mailing list

Re: rpm-buildroot-usage

2011-01-19 Thread Adam Williamson
On Wed, 2011-01-19 at 19:43 +0100, Richard wrote: On Wed, Jan 19, 2011 at 06:57:09AM -0800, Brad Bell wrote: Is there another rpm macro I should use to specify the path %{buildroot}%{_includedir} ? did you try $RPM_BUILD_ROOT ? that's not the problem. rpmlint just thinks you usually

Re: rpm-buildroot-usage

2011-01-19 Thread Jason L Tibbitts III
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