]> git.pld-linux.org Git - packages/Zope-ZopeScheduler.git/commitdiff
- changes %post section
authorciesiel <ciesiel@pld-linux.org>
Mon, 13 Sep 2004 20:02:06 +0000 (20:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed ln
- cleanup

Changed files:
    Zope-ZopeScheduler.spec -> 1.2

Zope-ZopeScheduler.spec

index 58cb37d4a07190a269f37113ad3d0c660419c1ef..b49ea27020a7b7636dbccd61f4fb6038aac32d87 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Cron like service for Zope
 Summary(pl):   Produkt dla Zope pomocny przy wywo³ywaniu okresowych zadañ
 Name:          Zope-%{zope_subname}
 Version:       0.2
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         Development/Tools
 Source0:       http://dev.legco.biz/downloads/%{zope_subname}-%{version}.tar.gz
@@ -42,21 +42,17 @@ cp -af %{zope_subname}/{Extensions,skins,zpt,*.py,refresh.txt,version.txt} $RPM_
 rm -rf $RPM_BUILD_ROOT
 
 %post
-for p in ZopeScheduler ; do
-        /usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
-done
+/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
 if [ -f /var/lock/subsys/zope ]; then
-       /etc/rc.d/init.d/zope restart >&2
+        /etc/rc.d/init.d/zope restart >&2
 fi
 
 %postun
 if [ "$1" = "0" ]; then
-        for p in ZopeScheduler ; do
-                /usr/sbin/installzopeproduct -d $p
-        done
-       if [ -f /var/lock/subsys/zope ]; then
-            /etc/rc.d/init.d/zope restart >&2
-       fi
+        /usr/sbin/installzopeproduct -d %{zope_subname}
+        if [ -f /var/lock/subsys/zope ]; then
+                /etc/rc.d/init.d/zope restart >&2
+        fi
 fi
 
 %files
This page took 0.080788 seconds and 4 git commands to generate.