Remove systemctl enable/disable for duplicated installation 47/100247/1 accepted/tizen/3.0/common/20161130.064611 accepted/tizen/3.0/ivi/20161130.011751 accepted/tizen/3.0/mobile/20161130.011423 accepted/tizen/3.0/tv/20161130.011626 accepted/tizen/3.0/wearable/20161130.011709 submit/tizen_3.0/20161129.051721
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 25 Nov 2016 11:25:15 +0000 (20:25 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 25 Nov 2016 11:26:54 +0000 (20:26 +0900)
[Version] 0.0.74-3
[Profile] Common
[Issue Type] systemd

Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e

packaging/murphy.spec

index 45511b7f0c97b9473e1358abaf22adb66aab16fb..8151e228a74fffa08aa7abf1840fa3866fbcb136 100644 (file)
 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}