aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-11-30 12:19:33 +0000
committerDavid Howells <dhowells@redhat.com>2011-11-30 12:19:33 +0000
commit8d81bb2ac457751764682b2307a59778c7882aa6 (patch)
tree71222a58d5a169845b960ffe63ad14556213511b
parentc12f9cac3d5113c375f46b5986308f9f4c26873a (diff)
downloadcachefilesd-8d81bb2ac457751764682b2307a59778c7882aa6.tar.gz
Fix the specfile to require the bits for the _unitdir macro during the build
Fix the specfile to require the bits for the _unitdir macro during the build of an RPM as specified in: https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--redhat/cachefilesd.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec
index 34d1911..569eca2 100644
--- a/redhat/cachefilesd.spec
+++ b/redhat/cachefilesd.spec
@@ -10,6 +10,7 @@ URL: http://people.redhat.com/~dhowells/fscache/
Source0: http://people.redhat.com/dhowells/fscache/cachefilesd-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
+BuildRequires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
@@ -86,6 +87,9 @@ fi
%{_localstatedir}/cache/fscache
%changelog
+* Wed Nov 30 2011 David Howells <dhowells@redhat.com>
+- Fix packaging of systemd service file.
+
* Tue Nov 22 2011 David Howells <dhowells@redhat.com> 0.10.3-1
- Move to native systemd management [RH BZ 754811].