packages: couchdb/couchdb.spec - dropped unused parts

sparky sparky at pld-linux.org
Sat Feb 5 02:53:56 CET 2011


Author: sparky                       Date: Sat Feb  5 01:53:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- dropped unused parts

---- Files affected:
packages/couchdb:
   couchdb.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/couchdb/couchdb.spec
diff -u packages/couchdb/couchdb.spec:1.1 packages/couchdb/couchdb.spec:1.2
--- packages/couchdb/couchdb.spec:1.1	Sun Jun  8 15:23:14 2008
+++ packages/couchdb/couchdb.spec	Sat Feb  5 02:53:51 2011
@@ -82,20 +82,6 @@
 	/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
@@ -109,18 +95,14 @@
 %{_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
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/02/05 01:53:51  sparky
+- dropped unused parts
+
 Revision 1.1  2008/06/08 13:23:14  japhy
 - New spec file.
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/couchdb/couchdb.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list