summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungbae Shin <seungbae.shin@samsung.com>2016-11-25 20:25:15 +0900
committerSeungbae Shin <seungbae.shin@samsung.com>2016-11-27 22:35:05 -0800
commit3b82a369364544fe41127c9d84d7076975c6f221 (patch)
tree0738b33e152a718ee17eb3c0db39ed5353dafab3
parentf5366d1b9446ba6d270382ccabe67681862c815d (diff)
downloadmurphy-3b82a369364544fe41127c9d84d7076975c6f221.tar.gz
murphy-3b82a369364544fe41127c9d84d7076975c6f221.tar.bz2
murphy-3b82a369364544fe41127c9d84d7076975c6f221.zip
[Version] 0.0.74-3 [Profile] Common [Issue Type] systemd Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e (cherry picked from commit 06d0ba2d2501fac59f2d1b96782412afd1194b81)
-rw-r--r--packaging/murphy.spec8
1 files changed, 1 insertions, 7 deletions
diff --git a/packaging/murphy.spec b/packaging/murphy.spec
index 45511b7..8151e22 100644
--- a/packaging/murphy.spec
+++ b/packaging/murphy.spec
@@ -29,16 +29,14 @@
Summary: Resource policy framework
Name: murphy
Version: 0.0.74
-Release: 3
+Release: 4
License: BSD-2.0
Group: System/Service
URL: http://01.org/murphy/
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
-Requires(post): /bin/systemctl
#Requires(post): libcap-tools
-Requires(postun): /bin/systemctl
BuildRequires: flex
BuildRequires: bison
@@ -309,14 +307,10 @@ cp packaging/org.Murphy.conf \
rm -rf %{buildroot}
%post
-/bin/systemctl enable murphyd.service
#setcap 'cap_net_admin=+ep' %{_bindir}/murphyd
ldconfig
%postun
-if [ "$1" = "0" ]; then
-systemctl disable murphyd.service
-fi
ldconfig
%if %{with glib}