From 8c6d63748048b1775daa07916b3af440ba5eb632 Mon Sep 17 00:00:00 2001 From: Pete Zaitcev Date: Mar 26 2013 22:35:53 +0000 Subject: Add BuildRequires: systemd Quoting http://fedoraproject.org/wiki/Packaging:Systemd Please note that in order for the %{_unitdir} macro to exist, your package must have: BuildRequires: systemd-units On Fedora 18 and newer, the systemd-units subpackage has been merged into the base systemd package, so your package for those targets can instead include: BuildRequires: systemd See, "must have". --- diff --git a/openstack-swift.spec b/openstack-swift.spec index eacec40..606299b 100644 --- a/openstack-swift.spec +++ b/openstack-swift.spec @@ -61,6 +61,7 @@ Requires: pyxattr Requires: python-setuptools Requires: python-netifaces +BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd