From: sparky Date: Sat, 5 Feb 2011 01:53:51 +0000 (+0000) Subject: - dropped unused parts X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcouchdb.git;a=commitdiff_plain;h=6ef30b33ee13a48e7b6568113a1fbf242e8fd5d5 - dropped unused parts Changed files: couchdb.spec -> 1.2 --- diff --git a/couchdb.spec b/couchdb.spec index 67658ea..85ef473 100644 --- a/couchdb.spec +++ b/couchdb.spec @@ -81,20 +81,6 @@ if [ "$1" = "0" ]; then /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 @@ -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} - -# 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