]> git.pld-linux.org Git - packages/Zope-CMF.git/commitdiff
- %files simplified
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 16 Nov 2003 09:43:59 +0000 (09:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- do not uninstall products after package upgrade

Changed files:
    Zope-CMF.spec -> 1.7

Zope-CMF.spec

index 9278c3beba1284fd408f4985a45a28df646d0e67..3fe23bd1c630ee9d934ab42978a39814a9ba6d54 100644 (file)
@@ -62,9 +62,11 @@ if [ -f /var/lock/subsys/zope ]; then
 fi
 
 %postun
-for p in CMFCalendar CMFCore CMFDefault CMFTopic DCWorkflow ; do
-       /usr/sbin/installzopeproduct -d $p
-done
+if [ "$1" = "0" ]; then
+       for p in CMFCalendar CMFCore CMFDefault CMFTopic DCWorkflow ; do
+               /usr/sbin/installzopeproduct -d $p
+       done
+fi
 if [ -f /var/lock/subsys/zope ]; then
        /etc/rc.d/init.d/zope restart >&2
 fi
@@ -72,11 +74,4 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc docs/*
-%{_datadir}/%{name}/all_cmf_tests.*
-%{_datadir}/%{name}/slurp*
-%{_datadir}/%{name}/*.txt
-%{_datadir}/%{name}/CMFCalendar
-%{_datadir}/%{name}/CMFCore
-%{_datadir}/%{name}/CMFDefault
-%{_datadir}/%{name}/CMFTopic
-%{_datadir}/%{name}/DCWorkflow
+%{_datadir}/%{name}
This page took 0.077882 seconds and 4 git commands to generate.