Эх сурвалжийг харах

net-snmp-5.7.1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5851 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 13 жил өмнө
parent
commit
40926ec2df
1 өөрчлөгдсөн 8 нэмэгдсэн , 5 устгасан
  1. 8 5
      p/php5/php5-vl.spec

+ 8 - 5
p/php5/php5-vl.spec

@@ -30,7 +30,7 @@ Name: php5
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Summary(ja): HTML 埋め込み型スクリプト言語 PHP
 Version: 5.3.10
-Release: 2%{_dist_release}
+Release: 3%{_dist_release}
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -683,7 +683,7 @@ fi
 %preun
 if [ "$1" = 0 ]; then
     /sbin/update-alternatives --remove php %{_bindir}/php%{majorver}
-    /sbin/update-alternatives --auto php
+    /sbin/update-alternatives --auto php ||:
 fi
 
 %post fpm
@@ -700,7 +700,7 @@ fi
 if [ "$1" = 0 ]; then
     /sbin/chkconfig --del php-fpm
     /sbin/update-alternatives --remove php-fpm %{_sbindir}/php%{majorver}-fpm
-    /sbin/update-alternatives --auto php-fpm
+    /sbin/update-alternatives --auto php-fpm ||:
 fi
 
 %post pear
@@ -720,7 +720,7 @@ fi
 %preun pear
 if [ "$1" = "0" ]; then
     /sbin/update-alternatives --remove pear %{_bindir}/pear%{majorver}
-    /sbin/update-alternatives --auto pear
+    /sbin/update-alternatives --auto pear ||:
 fi
 
 %if %{?_dist_release} == "vl5"
@@ -837,10 +837,13 @@ rm -f files.*
 
 #======================================================================
 %changelog
-* Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.10-2
+* Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.10-3
 - rebuild with net-snmp-5.7.1
 - update Source21 (php.ini-vine)
 
+* Fri Feb 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.10-2
+- fixed %%preun scripts.
+
 * Fri Feb 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.10-1
 - new upstream release.
 - reverted revision #319823 (bug#60723).