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-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 plac

Re: rpm-buildroot-usage

2011-01-22 Thread Michael Schwendt
On Fri, 21 Jan 2011 10:54:13 -0800, Brad wrote: > On 11:59 AM, Michael Schwendt wrote: > > 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

Re: Re: rpm-buildroot-usage

2011-01-21 Thread Brad Bell
On 11:59 AM, Michael Schwendt wrote: > 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 distr

Re: rpm-buildroot-usage

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

Re: rpm-buildroot-usage

2011-01-19 Thread Jason L Tibbitts III
> "AW" == Adam Williamson 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

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 usu

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 devel@lists.fedoraproje