Fix service and binary names 49/72849/4
authorOskar Świtalski <o.switalski@samsung.com>
Wed, 1 Jun 2016 15:27:46 +0000 (17:27 +0200)
committerOskar Świtalski <o.switalski@samsung.com>
Tue, 7 Jun 2016 05:08:44 +0000 (07:08 +0200)
Change-Id: I59159eaafa0a408ccfa5c855f852793bcc4b0b30

packaging/askuser.spec

index 0b8f2c7..78383eb 100644 (file)
@@ -80,14 +80,14 @@ rm -rf %{buildroot}
 systemctl daemon-reload
 
 if [ $1 = 1 ]; then
-    systemctl enable %{name}.service
+    systemctl enable askuser.service
 fi
 
-systemctl restart %{name}.service
+systemctl restart askuser.service
 
 %preun
 if [ $1 = 0 ]; then
-    systemctl stop %{name}.service
+    systemctl stop askuser.service
 fi
 
 %postun
@@ -102,8 +102,8 @@ fi
 %files -f %{name}.lang
 %manifest %{name}.manifest
 %license LICENSE
-%attr(755,root,root) /usr/bin/%{name}
-/usr/lib/systemd/system/%{name}.service
+%attr(755, root, root) /usr/bin/askuser
+/usr/lib/systemd/system/askuser.service
 
 %files -n libaskuser-common
 %manifest libaskuser-common.manifest