]> git.pld-linux.org Git - packages/couchdb.git/commitdiff
- dropped unused parts
authorsparky <sparky@pld-linux.org>
Sat, 5 Feb 2011 01:53:51 +0000 (01:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    couchdb.spec -> 1.2

couchdb.spec

index 67658eaac2b34f763e91effed4d1adb1501fd43b..85ef473d1602f2c76e0713315a02befffbf1c70a 100644 (file)
@@ -81,20 +81,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del %{name}
 fi
 
        /sbin/chkconfig --del %{name}
 fi
 
-%postun
-
-%if %{with initscript}
-%post init
-/sbin/chkconfig --add %{name}
-%service %{name} restart
-
-%preun init
-if [ "$1" = "0" ]; then
-       %service -q %{name} stop
-       /sbin/chkconfig --del %{name}
-fi
-%endif
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS CHANGES NEWS NOTICE README THANKS
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS CHANGES NEWS NOTICE README THANKS
@@ -107,9 +93,3 @@ fi
 %attr(700,couchdb,couchdb) %dir %{_localstatedir}/log/apache-couchdb
 %{_mandir}/man1/*
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(700,couchdb,couchdb) %dir %{_localstatedir}/log/apache-couchdb
 %{_mandir}/man1/*
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
-
-# initscript and its config
-%if %{with initscript}
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%endif
This page took 0.026071 seconds and 4 git commands to generate.