Fix the build by ensuring that the %{_unitdir} RPM macro is defined

A BuildRequires on systemd should be added as specified in the Fedora
packaging guidelines: https://fedoraproject.org/wiki/Packaging:Systemd

It's likely that something in the dependency chain was implicitly
pulling in the systemd RPM, but that's not the case at the moment.
This commit is contained in:
Debarshi Ray 2019-03-19 12:55:36 +01:00
parent 1ae1855dfc
commit 289b46ab85

View File

@ -69,6 +69,7 @@ BuildRequires: libselinux-devel
BuildRequires: ostree-devel BuildRequires: ostree-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: make BuildRequires: make
BuildRequires: systemd
Requires: runc >= 2:1.0.0-57 Requires: runc >= 2:1.0.0-57
Requires: containers-common Requires: containers-common
Requires: containernetworking-plugins >= 0.7.3-2 Requires: containernetworking-plugins >= 0.7.3-2