[packages/php/PHP_5_2] Updated URL, more versioned Obsoletes

glen glen at pld-linux.org
Thu Sep 29 17:54:29 CEST 2022


commit 57832adac53e44ecc3e45ba74ef771e3b672a27c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 25 19:47:55 2022 +0200

    Updated URL, more versioned Obsoletes
    
    Cherry picked 7940efe7d66c39fbdf739188ffaab64f3fd19559
    
    Co-authored-by: Elan Ruusamäe <glen at pld-linux.org>

 php.spec | 60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/php.spec b/php.spec
index 0cd2983..dab6697 100644
--- a/php.spec
+++ b/php.spec
@@ -237,7 +237,7 @@ Patch314:	php-5.3.6-39199.patch
 Patch355:	php-5.3.7-bug-55323.patch
 # Bug-323016 CVE-2012-0831
 Patch402:	php-5.2.17-bug-323016.patch
-URL:		https://code.google.com/p/php52-backports/
+URL:		https://code.google.com/archive/p/php52-backports/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:	Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:	aspell-devel >= 2:0.50.0}
 BuildRequires:	autoconf >= 2.53
@@ -486,17 +486,17 @@ Summary(pl.UTF-8):	Dowiązanie symboliczne /usr/bin/php
 Group:		Development/Languages/PHP
 Requires:	%{name}-cli = %{epoch}:%{version}-%{release}
 Obsoletes:	php-program < 4:5.3.28-7
-Obsoletes:	php4-program
-Obsoletes:	php52-program
-Obsoletes:	php54-program
-Obsoletes:	php55-program
-Obsoletes:	php56-program
-Obsoletes:	php70-program
-Obsoletes:	php71-program
-Obsoletes:	php72-program
-Obsoletes:	php73-program
-Obsoletes:	php74-program
-Obsoletes:	php80-program
+Obsoletes:	php4-program < 3:5
+Obsoletes:	php53-program < 4:5.4
+Obsoletes:	php54-program < 4:5.5
+Obsoletes:	php55-program < 4:5.6
+Obsoletes:	php56-program < 4:7
+Obsoletes:	php70-program < 4:7.1
+Obsoletes:	php71-program < 4:7.2
+Obsoletes:	php72-program < 4:7.3
+Obsoletes:	php73-program < 4:7.4
+Obsoletes:	php74-program < 4:8
+Obsoletes:	php80-program < 4:8.1
 
 %description program
 Package providing /usr/bin/php symlink to PHP CLI.
@@ -609,16 +609,16 @@ Requires:	libtool
 %{?with_pcre:Requires:	pcre-devel >= 6.6}
 Requires:	shtool
 Obsoletes:	php-devel
-Obsoletes:	php-pear-devel
-Obsoletes:	php4-devel
-Obsoletes:	php53-devel
-Obsoletes:	php54-devel
-Obsoletes:	php55-devel
-Obsoletes:	php56-devel
-Obsoletes:	php70-devel
-Obsoletes:	php71-devel
-Obsoletes:	php72-devel
-Obsoletes:	php73-devel
+Obsoletes:	php-pear-devel < 3:4.3.0-1
+Obsoletes:	php4-devel < 3:5
+Obsoletes:	php53-devel < 4:5.4
+Obsoletes:	php54-devel < 4:5.5
+Obsoletes:	php55-devel < 4:5.6
+Obsoletes:	php56-devel < 4:7
+Obsoletes:	php70-devel < 4:7.1
+Obsoletes:	php71-devel < 4:7.2
+Obsoletes:	php72-devel < 4:7.3
+Obsoletes:	php73-devel < 4:7.4
 
 %description devel
 The php-devel package lets you compile dynamic extensions to PHP.
@@ -820,7 +820,7 @@ URL:		http://www.php.net/manual/en/book.filter.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pcre = %{epoch}:%{version}-%{release}
 Provides:	php(filter)
-Obsoletes:	php-pecl-filter
+Obsoletes:	php-pecl-filter < 0.12
 
 %description filter
 We all know that you should always check input variables, but PHP does
@@ -1245,7 +1245,7 @@ URL:		http://www.php.net/manual/en/book.pdo.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-spl = %{epoch}:%{version}-%{release}
 Provides:	php(pdo)
-Obsoletes:	php-pecl-PDO
+Obsoletes:	php-pecl-PDO < 1.1
 
 %description pdo
 This is a dynamic shared object (DSO) for PHP that will add PDO
@@ -1279,7 +1279,7 @@ URL:		http://www.php.net/manual/en/ref.pdo-firebird.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:	php(pdo-firebird)
-Obsoletes:	php-pecl-PDO_FIREBIRD
+Obsoletes:	php-pecl-PDO_FIREBIRD < 0.3
 
 %description pdo-firebird
 This is a dynamic shared object (DSO) for PHP that will add PDO
@@ -1297,7 +1297,7 @@ URL:		http://www.php.net/manual/en/ref.pdo-mysql.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:	php(pdo-mysql)
-Obsoletes:	php-pecl-PDO_MYSQL
+Obsoletes:	php-pecl-PDO_MYSQL < 1.1
 
 %description pdo-mysql
 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
@@ -1315,7 +1315,7 @@ URL:		http://www.php.net/manual/en/ref.pdo-oci.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:	php(pdo-oci)
-Obsoletes:	php-pecl-PDO_OCI
+Obsoletes:	php-pecl-PDO_OCI < 1.1
 
 %description pdo-oci
 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
@@ -1333,7 +1333,7 @@ URL:		http://www.php.net/manual/en/ref.pdo-odbc.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:	php(pdo-odbc)
-Obsoletes:	php-pecl-PDO_ODBC
+Obsoletes:	php-pecl-PDO_ODBC < 1.1
 
 %description pdo-odbc
 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
@@ -1369,7 +1369,7 @@ URL:		http://www.php.net/manual/en/ref.pdo-sqlite.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:	php(pdo-sqlite)
-Obsoletes:	php-pecl-PDO_SQLITE
+Obsoletes:	php-pecl-PDO_SQLITE < 1.1
 
 %description pdo-sqlite
 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
@@ -1809,7 +1809,7 @@ Group:		Libraries
 URL:		http://www.php.net/manual/en/book.xmlwriter.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Provides:	php(xmlwriter)
-Obsoletes:	php-pecl-xmlwriter
+Obsoletes:	php-pecl-xmlwriter < 2.1
 
 %description xmlwriter
 This extension wraps the libxml xmlWriter API. Represents a writer
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/5dbfba834cabd9691e34b4f5962f3c39c3c86716



More information about the pld-cvs-commit mailing list