Remove commented lines 80/237080/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.112839 accepted/tizen/6.0/unified/hotfix/20201102.231439 accepted/tizen/unified/20200630.131337 submit/tizen/20200629.101202 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 tizen_6.0.m2_release
authorCheoleun Moon <chleun.moon@samsung.com>
Thu, 25 Jun 2020 01:40:16 +0000 (10:40 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Thu, 25 Jun 2020 01:40:22 +0000 (10:40 +0900)
Change-Id: Ie9056a100ca52f1bb256812e0a0c7befef659d33

packaging/mdnsresponder.spec

index 144b784..344c6be 100755 (executable)
@@ -61,11 +61,6 @@ mkdir -p %{buildroot}%{_bindir}/
 mkdir -p %{buildroot}%{_libdir}/
 mkdir -p %{buildroot}%{_libdir}/pkgconfig/
 
-#mkdir -p %{buildroot}%{_libdir}/systemd/system/
-#cp mdnsd.service %{buildroot}%{_libdir}/systemd/system/mdnsd.service
-#mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/
-#ln -s mdnsd.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/mdnsd.service
-
 cp mdnsresponder-server.sh.in %{buildroot}%{_bindir}/mdnsresponder-server.sh
 
 mkdir -p %{buildroot}%{_includedir}/
@@ -80,19 +75,6 @@ ln -sf %{_libdir}/libdns_sd.so.%{version} %{buildroot}%{_libdir}/libdns_sd.so
 
 %post
 chmod 755 %{_bindir}/mdnsresponder-server.sh
-#systemctl daemon-reload
-
-#if [ $1 = 1 ]; then
-#    systemctl enable mdnsd.service
-#fi
-
-#systemctl restart mdnsd.service
-
-#%preun
-#if [ $1 = 0 ]; then
-#    # unistall
-#    systemctl stop mdnsd.service
-#fi
 
 %post -n libdns_sd -p /sbin/ldconfig
 
@@ -103,8 +85,6 @@ chmod 755 %{_bindir}/mdnsresponder-server.sh
 %license LICENSE
 %attr(755,root,root) %{_sbindir}/mdnsd
 %attr(-,root,root) %{_bindir}/mdnsresponder-server.sh
-#%attr(-,root,root) %{_libdir}/systemd/system/mdnsd.service
-#%attr(-,root,root) %{_libdir}/systemd/system/multi-user.target.wants/mdnsd.service
 
 %files devel
 %{_includedir}/*.h