[NetworkManager/f15/master] fix systemd requires

Matthias Clasen mclasen at fedoraproject.org
Wed Mar 9 01:05:10 UTC 2011


commit 1c8e56e27ddc6fb137020db1229db1870ca3e79e
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue Mar 8 20:04:54 2011 -0500

    fix systemd requires

 NetworkManager.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/NetworkManager.spec b/NetworkManager.spec
index 261f423..911e3c8 100644
--- a/NetworkManager.spec
+++ b/NetworkManager.spec
@@ -20,7 +20,7 @@ Name: NetworkManager
 Summary: Network connection manager and user applications
 Epoch: 1
 Version: 0.8.995
-Release: 1%{snapshot}%{?dist}
+Release: 2%{snapshot}%{?dist}
 Group: System Environment/Base
 License: GPLv2+
 URL: http://www.gnome.org/projects/NetworkManager/
@@ -36,9 +36,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): chkconfig
 Requires(preun): chkconfig
 %if %{use_systemd}
-Requires(post): systemctl
-Requires(preun): systemctl
-Requires(postun): systemctl
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
 %endif
 
 Requires: dbus >= %{dbus_version}
@@ -433,6 +433,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/gtk-doc/html/libnm-util/*
 
 %changelog
+* Tue Mar  8 2011 Matthias Clasen <mclasen at redhat.com> - 0.8.995-2.git20110308
+- Fix systemd requires
+
 * Mon Mar  7 2011 Dan Williams <dcbw at redhat.com> - 0.8.995-1.git20110308
 - Update to NetworkManager 0.9-beta1
 - core: consolidate user and system settings services into NM itself


More information about the scm-commits mailing list