Add License file to rpms and modify the service file name 79/59479/1 accepted/tizen/ivi/20160218.084202 accepted/tizen/mobile/20160218.060100 accepted/tizen/tv/20160218.060123 accepted/tizen/wearable/20160218.060146 submit/tizen/20160218.041451
authorYu Jiung <jiung.yu@samsung.com>
Tue, 16 Feb 2016 02:55:01 +0000 (11:55 +0900)
committerYu Jiung <jiung.yu@samsung.com>
Tue, 16 Feb 2016 02:55:01 +0000 (11:55 +0900)
Change-Id: I61b56661da055d59d4e20a79716363d77d8dfe16

packaging/mdnsresponder.spec

index 201dbe1..eaf6734 100755 (executable)
@@ -70,10 +70,10 @@ ln -sf %{_libdir}/libdns_sd.so.%{version} %{buildroot}%{_libdir}/libdns_sd.so
 systemctl daemon-reload
 
 if [ $1 = 1 ]; then
-    systemctl enable %{name}.service
+    systemctl enable mdnsd.service
 fi
 
-systemctl restart %{name}.service
+systemctl restart mdnsd.service
 
 %preun
 if [ $1 = 0 ]; then
@@ -87,6 +87,7 @@ fi
 
 %files
 %manifest mdnsresponder.manifest
+%license LICENSE
 %attr(755,root,root) %{_sbindir}/mdnsd
 %attr(-,root,root) %{_libdir}/systemd/system/mdnsd.service
 %attr(-,root,root) %{_libdir}/systemd/system/multi-user.target.wants/mdnsd.service
@@ -98,4 +99,5 @@ fi
 
 %files -n libdns_sd
 %manifest libdns_sd.manifest
+%license LICENSE
 %{_libdir}/libdns_sd.so*