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

Paul Howarth paul at city-fan.org
Wed Nov 30 13:05:01 UTC 2011


On 11/30/2011 11:49 AM, David Howells wrote:
> Paul Howarth<paul at city-fan.org>  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
> question is, though, why it builds on my desktop machine at all then...  Did
> F16 always set it?

I'd guess that it's being pulled in as a dependency of something.

Paul.


More information about the devel mailing list