commit 779d221e626af2f6df351c1d2c9c35820ce34b70
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Oct 8 15:25:26 2013 +0300

    obsolete old package name in th

 php.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 7a71d7b..99d539b 100644
--- a/php.spec
+++ b/php.spec
@@ -117,9 +117,16 @@ ERROR: You need to select at least one Apache SAPI to 
build shared modules.
 %if 0%{!?_with_default_php:1}
 %undefine      with_default_php
 %endif
+%else
+# redefine package to obsolete old names
+%define        old_version 4:5.3.27-4
+%define        package(n:l:) \
+%%package %{!?-n:%1}%{?-n:-n %{-n*}} %{-l:-l %{-l*}} \
+Obsoletes: %{!?-n:php-%1}%{?-n:%(echo %{-n*} | sed -e 's,%{php_suffix}$,,')} < 
%{old_version} \
+%{nil}
 %endif
 
-%define                rel     4
+%define                rel     5
 %define                orgname php
 %define                ver_suffix 53
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/7fa571ef7ac6adba77506d86836fde761e656559

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to