Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Richard W.M. Jones
On Wed, Nov 30, 2011 at 03:20:41PM +, David Howells wrote: > Michael Cronenworth wrote: > > > > rpmbuild. > > > > There's your answer. The rpmbuild command would inherit all the packages > > already installed on your system. You will already have systemd-units > > installed because it is a

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread David Howells
Michael Cronenworth wrote: > > rpmbuild. > > There's your answer. The rpmbuild command would inherit all the packages > already installed on your system. You will already have systemd-units > installed because it is a dependency of just about every service. > > If you used mock or scratch bui

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Ralf Corsepius
On 11/30/2011 03:49 PM, Michael Cronenworth wrote: > David Howells wrote: >> rpmbuild. > > There's your answer. The rpmbuild command would inherit all the packages > already installed on your system. You will already have systemd-units > installed because it is a dependency of just about every serv

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Michael Cronenworth
David Howells wrote: > rpmbuild. There's your answer. The rpmbuild command would inherit all the packages already installed on your system. You will already have systemd-units installed because it is a dependency of just about every service. If you used mock or scratch building on koji (which k

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread David Howells
Michael Cronenworth wrote: > > Yes, I seem to be missing that. I have Requires but not BuildRequires. The > > question is, though, why it builds on my desktop machine at all then... Did > > F16 always set it? > > Are you using mock or rpmbuild on your desktop machine? rpmbuild. David -- de

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Michael Cronenworth
David Howells wrote: > Yes, I seem to be missing that. I have Requires but not BuildRequires. The > question is, though, why it builds on my desktop machine at all then... Did > F16 always set it? Are you using mock or rpmbuild on your desktop machine? -- devel mailing list devel@lists.fedorap

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Paul Howarth
On 11/30/2011 11:49 AM, David Howells wrote: > Paul Howarth wrote: > >> You must have missed the bit in the guidelines where it says: >> >> Please note that in order for the %{_unitdir} macro to exist, your >> package must have: >> >> BuildRequires: systemd-units > > Yes, I seem to be missing that

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread David Howells
Paul Howarth wrote: > You must have missed the bit in the guidelines where it says: > > Please note that in order for the %{_unitdir} macro to exist, your > package must have: > > BuildRequires: systemd-units Yes, I seem to be missing that. I have Requires but not BuildRequires. The questio

Re: The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread Paul Howarth
On 11/30/2011 11:39 AM, David Howells wrote: > I'm trying to build the latest cachefilesd package in the Fedora build system > for Rawhide/F17, but the build failed because I used %{_unitdir} in my > specfile > and this doesn't appear to be expanded in the Fedora build system (see the > attached b

The Fedora build system and the use of %{_unitdir} in specfiles

2011-11-30 Thread David Howells
Hi, I'm trying to build the latest cachefilesd package in the Fedora build system for Rawhide/F17, but the build failed because I used %{_unitdir} in my specfile and this doesn't appear to be expanded in the Fedora build system (see the attached build.log). For reference, the build log can be fo