]> git.pld-linux.org Git - packages/php.git/blobdiff - php.spec
up to 8.2.9 (fixes (CVE-2023-3823 CVE-2023-3824)
[packages/php.git] / php.spec
index ebbb616eec3eb0d22e48d5f1f8a35f45f37c6014..ac585da9a7eeb418cda203615aa3094fe543e2db 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -1,7 +1,5 @@
 # NOTES
 # - mysqlnd driver doesn't support reconnect: https://bugs.php.net/bug.php?id=52561
-# TODO 8.0:
-# - removed packages: xmlrpc
 # TODO 5.6:
 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
 # TODO:
 %bcond_without alternatives    # use alternatives system to select default phar and php-fpm
 %bcond_with    default_php     # build this PHP as default PHP in system (disables alternatives)
 # - General options:
-%bcond_with    embed           # disable building Embedded API
-%bcond_with    gcov            # Enable Code coverage reporting
-%bcond_without kerberos5       # without Kerberos5 support
+%bcond_with    embed           # Embedded API
+%bcond_with    gcov            # Code coverage reporting
+%bcond_without kerberos5       # Kerberos5 support
 %bcond_with    systemtap       # systemtap/DTrace support
 %bcond_with    tests           # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
 %bcond_with    zts             # Zend Thread Safety
 %bcond_with    debug           # Zend Debug Build
 # - SAPI
-%bcond_without apache2         # disable building Apache 2.x SAPI
-%bcond_without cgi             # disable CGI/FCGI SAPI
-%bcond_without fpm             # disable FPM SAPI
-%bcond_without litespeed       # build litespeed SAPI
-%bcond_without phpdbg          # disable phpdbg SAPI
+%bcond_without apache2         # building Apache 2.x SAPI
+%bcond_without cgi             # CGI/FCGI SAPI
+%bcond_without fpm             # FPM SAPI
+%bcond_without litespeed       # litespeed SAPI
+%bcond_without phpdbg          # phpdbg SAPI
 # - Extensions
-%bcond_without bcmath          # without bcmath extension module
-%bcond_without bzip2           # without bz2 extension module
-%bcond_without calendar        # without calendar extension module
-%bcond_without ctype           # without ctype extension module
-%bcond_without curl            # without CURL extension module
-%bcond_without dba             # without DBA extension module
-%bcond_without dom             # without DOM extension module
-%bcond_without enchant         # without Enchant extension module
-%bcond_without exif            # without EXIF extension module
-%bcond_without ffi             # without FFI extension module
-%bcond_without fileinfo        # without fileinfo extension module
-%bcond_without filter          # without filter extension module
-%bcond_without ftp             # without FTP extension module
-%bcond_without gd              # without GD extension module
-%bcond_without gettext         # without gettext extension module
-%bcond_without gmp             # without gmp extension module
-%bcond_without iconv           # without iconv extension module
-%bcond_without imap            # without IMAP extension module
-%bcond_without intl            # without Intl extension module
-%bcond_without ldap            # without LDAP extension module
-%bcond_without mbstring        # without mbstring extension module
-%bcond_without mhash           # without mhash extension (supported by hash extension)
-%bcond_without mysqli          # without mysqli support (Requires mysql >= 4.1)
-%bcond_without mysqlnd         # without mysqlnd support in mysql related extensions
-%bcond_with    oci             # with Oracle oci8 extension module     (BR: proprietary libs)
-%bcond_without odbc            # without ODBC extension module
-%bcond_without opcache         # without Enable Zend OPcache extension support
-%bcond_without openssl         # without OpenSSL support and OpenSSL extension (module)
-%bcond_without pcntl           # without pcntl extension module
+%bcond_without bcmath          # bcmath extension module
+%bcond_without bzip2           # bz2 extension module
+%bcond_without calendar        # calendar extension module
+%bcond_without ctype           # ctype extension module
+%bcond_without curl            # CURL extension module
+%bcond_without dba             # DBA extension module
+%bcond_without dom             # DOM extension module
+%bcond_without enchant         # Enchant extension module
+%bcond_without exif            # EXIF extension module
+%bcond_without ffi             # FFI extension module
+%bcond_without fileinfo        # fileinfo extension module
+%bcond_without filter          # filter extension module
+%bcond_without ftp             # FTP extension module
+%bcond_without gd              # GD extension module
+%bcond_without gettext         # gettext extension module
+%bcond_without gmp             # gmp extension module
+%bcond_without iconv           # iconv extension module
+%bcond_without imap            # IMAP extension module
+%bcond_without intl            # Intl extension module
+%bcond_without ldap            # LDAP extension module
+%bcond_without mbstring        # mbstring extension module
+%bcond_without mhash           # mhash extension (supported by hash extension)
+%bcond_without mysqli          # mysqli support (Requires mysql >= 4.1)
+%bcond_without mysqlnd         # mysqlnd support in mysql related extensions
+%bcond_with    oci             # Oracle oci8 extension module (BR: proprietary libs)
+%bcond_without odbc            # ODBC extension module
+%bcond_without opcache         # Enable Zend OPcache extension support
+%bcond_without openssl         # OpenSSL support and OpenSSL extension (module)
+%bcond_without pcntl           # pcntl extension module
 %bcond_without pcre_jit        # PCRE JIT
-%bcond_without pdo             # without PDO extension module
-%bcond_without pdo_dblib       # without PDO dblib extension module
-%bcond_without pdo_firebird    # without PDO Firebird extension module
-%bcond_without pdo_mysql       # without PDO MySQL extension module
+%bcond_without pdo             # PDO extension module
+%bcond_without pdo_dblib       # PDO dblib extension module
+%bcond_without pdo_firebird    # PDO Firebird extension module
+%bcond_without pdo_mysql       # PDO MySQL extension module
 %bcond_without pdo_oci # without PDO oci extension module
-%bcond_without pdo_odbc        # without PDO ODBC extension module
-%bcond_without pdo_pgsql       # without PDO pgsql extension module
-%bcond_without pdo_sqlite      # without PDO SQLite extension module
-%bcond_without pgsql           # without PostgreSQL extension module
-%bcond_without phar            # without Phar extension module
-%bcond_without posix           # without POSIX extension module
-%bcond_without pspell          # without pspell extension module
-%bcond_without readline        # without readline extension module
-%bcond_without session         # without session extension module
-%bcond_without snmp            # without SNMP extension module
-%bcond_without sodium          # without sodium extension module
-%bcond_without sqlite2         # without SQLite extension module
-%bcond_without sqlite3         # without SQLite3 extension module
-%bcond_without tidy            # without Tidy extension module
-%bcond_without xsl                     # without xsl extension module
-%bcond_without zip                     # without zip extension module
+%bcond_without pdo_odbc        # PDO ODBC extension module
+%bcond_without pdo_pgsql       # PDO pgsql extension module
+%bcond_without pdo_sqlite      # PDO SQLite extension module
+%bcond_without pgsql           # PostgreSQL extension module
+%bcond_without phar            # Phar extension module
+%bcond_without posix           # POSIX extension module
+%bcond_without pspell          # pspell extension module
+%bcond_without readline        # readline extension module
+%bcond_without session         # session extension module
+%bcond_without snmp            # SNMP extension module
+%bcond_without sodium          # sodium extension module
+%bcond_without sqlite2         # SQLite extension module
+%bcond_without sqlite3         # SQLite3 extension module
+%bcond_without tidy            # Tidy extension module
+%bcond_without xsl             # xsl extension module
+%bcond_without zip             # zip extension module
 # extensions options
 %bcond_without argon2          # argon2 password hashing
-%bcond_without instantclient   # build Oracle oci8 extension module against oracle-instantclient package
+%bcond_without instantclient   # Oracle oci8 extension module against oracle-instantclient package
 %bcond_with    interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
-%bcond_with    mm              # without mm support for session storage
-%bcond_without system_gd       # system gd
-%bcond_without webp            # Without WebP support in GD extension (imagecreatefromwebp)
+%bcond_with    mm              # mm support for session storage
+%bcond_without system_gd       # system gd library
+%bcond_without avif            # AVIF support in GD extension (imagecreatefromavif and imageavif)
+%bcond_without webp            # WebP support in GD extension (imagecreatefromwebp)
 
 %define        apxs2           /usr/sbin/apxs
 
 %undefine      with_pdo_oci
 %endif
 
-%ifnarch %{ix86} %{x8664} x32
-# unsupported, see sapi/cgi/fpm/fpm_atomic.h
+%ifnarch %{ix86} %{x8664} x32 %{arm} aarch64 sparcv9 sparc64
+# unsupported, see sapi/fpm/fpm/fpm_atomic.h
 %undefine      with_fpm
 %endif
 
 %undefine      with_pdo_sqlite
 %endif
 
-%define                orgname php
-%define                ver_suffix 80
-%define                php_suffix %{!?with_default_php:%{ver_suffix}}
-%define                subver RC3
+%define                orgname         php
+%define                ver_suffix      82
+%define                php_suffix      %{!?with_default_php:%{ver_suffix}}
+%define                subver          %{nil}
+%define                rel             1
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
 Summary(pt_BR.UTF-8):  A linguagem de script PHP
-Summary(ru.UTF-8):     PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
-Summary(uk.UTF-8):     PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
+Summary(ru.UTF-8):     PHP - язык препроцессирования HTML-файлов, выполняемый на сервере
+Summary(uk.UTF-8):     PHP - мова препроцесування HTML-файлів, виконувана на сервері
 Name:          %{orgname}%{php_suffix}
-Version:       8.0.0
-Release:       1.%{subver}.1
+Version:       8.2.9
+Release:       %{rel}
 Epoch:         4
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
 License:       PHP 3.01 and Zend and BSD
 Group:         Libraries
-#Source0:      https://php.net/distributions/%{orgname}-%{version}.tar.xz
-Source0:       https://downloads.php.net/~carusogabriel/php-%{version}%{subver}.tar.xz
-# Source0-md5: 60162de680b1c0777ff0249bc5de929c
+Source0:       https://www.php.net/distributions/%{orgname}-%{version}.tar.xz
+# Source0-md5: 897c9c416663d03e516a68cb86b598f3
+#Source0:      https://downloads.php.net/~pierrick/php-%{version}%{subver}.tar.xz
 Source1:       opcache.ini
 Source2:       %{orgname}-mod_php.conf
 Source3:       %{orgname}-cgi-fcgi.ini
@@ -177,8 +177,9 @@ Patch1:             %{orgname}-pldlogo.patch
 Patch2:                %{orgname}-mail.patch
 Patch3:                %{orgname}-link-libs.patch
 Patch4:                intl-stdc++.patch
+# https://bugs.php.net/bug.php?id=79589
+Patch5:                openssl.patch
 Patch7:                %{orgname}-sapi-ini-file.patch
-Patch9:                libtool-tag.patch
 Patch10:       %{orgname}-ini.patch
 Patch11:       embed.patch
 Patch14:       %{orgname}-no_pear_install.patch
@@ -204,18 +205,19 @@ Patch67:  mysql-lib-ver-mismatch.patch
 # https://bugs.php.net/bug.php?id=68344
 Patch68:       php-mysql-ssl-context.patch
 Patch71:       libdb-info.patch
-URL:           http://php.net/
+URL:           https://www.php.net/
 %{?with_pdo_firebird:%{!?with_interbase_inst:BuildRequires:    Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:  aspell-devel >= 2:0.50.0}
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1.4d
 BuildRequires: bison >= 3.0.0
 BuildRequires: bzip2-devel >= 1.0.0
-%{?with_curl:BuildRequires:    curl-devel >= 7.15.5}
+%{?with_opcache:BuildRequires: capstone-devel >= 3.0.0}
+%{?with_curl:BuildRequires:    curl-devel >= 7.29.0}
 BuildRequires: cyrus-sasl-devel >= 2
 BuildRequires: db-devel >= 4.0
 BuildRequires: elfutils-devel
-%{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
+%{?with_enchant:BuildRequires: enchant2-devel}
 %if %{with pdo_dblib}
 BuildRequires: freetds-devel >= 0.82
 %endif
@@ -230,7 +232,8 @@ BuildRequires:      gmp-devel >= 4.2
 %{?with_gcov:BuildRequires:    lcov}
 %{?with_fpm:BuildRequires:     libapparmor-devel}
 %{?with_argon2:BuildRequires:  libargon2-devel >= 20161029}
-%{?with_ffi:BuildRequires:     libffi-devel}
+%{?with_avif:BuildRequires:    libavif-devel >= 0.8.2}
+%{?with_ffi:BuildRequires:     libffi-devel >= 7:3.0.11}
 %{?with_intl:BuildRequires:    libicu-devel >= 50.1}
 BuildRequires: libjpeg-devel
 BuildRequires: libltdl-devel >= 1.4
@@ -238,10 +241,10 @@ BuildRequires:    libpng-devel >= 1.0.8
 %{?with_sodium:BuildRequires:  libsodium-devel >= 1.0.8}
 %{?with_intl:BuildRequires:    libstdc++-devel}
 BuildRequires: libtool >= 2:2.4.6
-%{?with_webp:BuildRequires:    libwebp-devel}
-BuildRequires: libxml2-devel >= 1:2.7.6-4
+%{?with_webp:BuildRequires:    libwebp-devel >= 0.2.0}
+BuildRequires: libxml2-devel >= 1:2.9.0
 %{?with_xsl:BuildRequires:     libxslt-devel >= 1.1.0}
-%{?with_zip:BuildRequires:     libzip-devel >= 1.3.1}
+%{?with_zip:BuildRequires:     libzip-devel >= 1.7.1}
 %{?with_snmp:%{?with_tests:BuildRequires:      mibs-net-snmp}}
 %{?with_mm:BuildRequires:      mm-devel >= 1.3.0}
 %{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
@@ -250,7 +253,7 @@ BuildRequires:      libxml2-devel >= 1:2.7.6-4
 BuildRequires: oniguruma-devel
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.3.0}
 %if %{with openssl} || %{with ldap}
-BuildRequires: openssl-devel >= 1.0.1
+BuildRequires: openssl-devel >= 1.0.2
 %endif
 %{?with_oci:%{?with_instantclient:BuildRequires:       oracle-instantclient-devel}}
 BuildRequires: pam-devel
@@ -259,11 +262,11 @@ BuildRequires:    pkgconfig
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 BuildRequires: readline-devel
 BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpm-build >= 4.4.0
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.566
 BuildRequires: sed >= 4.0
 %if %{with sqlite3} || %{with pdo_sqlite}
-BuildRequires: sqlite3-devel >= 3.7.4
+BuildRequires: sqlite3-devel >= 3.7.7
 %endif
 %{?with_systemtap:BuildRequires:       systemtap-sdt-devel}
 BuildRequires: tar >= 1:1.22
@@ -284,7 +287,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _sysconfdir                     %{php_sysconfdir}
 
 # must be in sync with source. extra check ensuring that it is so is done in %%build
-%define                php_api_version         20200930
+%define                php_api_version         20220829
 %define                zend_module_api         %{php_api_version}
 %define                zend_extension_api      4%{zend_module_api}
 %define                php_pdo_api_version     20170320
@@ -298,7 +301,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                jsonver         %{version}
 %define                pharver         %{version}
 %define                sqlite3ver      %{version}
-%define                zipver          1.19.1
+%define                zipver          1.21.1
 %define                phpdbgver       %{version}
 %define                sodiumver       %{version}
 
@@ -463,8 +466,20 @@ Summary:   /usr/bin/php symlink
 Summary(pl.UTF-8):     Dowiązanie symboliczne /usr/bin/php
 Group:         Development/Languages/PHP
 Requires:      %{name}-cli = %{epoch}:%{version}-%{release}
-Obsoletes:     /usr/bin/php
 Obsoletes:     php-program < 4:5.3.28-7
+Obsoletes:     php4-program < 3:5
+Obsoletes:     php52-program < 4:5.3
+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
+Obsoletes:     php81-program < 4:8.2
 
 %description program
 Package providing /usr/bin/php symlink to PHP CLI.
@@ -476,7 +491,7 @@ Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
 Summary:       PHP FastCGI Process Manager
 Summary(pl.UTF-8):     PHP FastCGI Process Manager - zarządca procesów FastCGI
 Group:         Development/Languages/PHP
-URL:           http://php-fpm.org/
+URL:           https://php-fpm.org/
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/userdel
 Requires(pre): /bin/id
@@ -612,16 +627,20 @@ Requires: pcre2-8-devel >= 10.30
 Requires:      shtool
 Provides:      php-devel = %{epoch}:%{version}-%{release}
 Obsoletes:     php-devel
-Obsoletes:     php-pear-devel
-Obsoletes:     php4-devel
-Obsoletes:     php52-devel
-Obsoletes:     php53-devel
-Obsoletes:     php54-devel
-Obsoletes:     php55-devel
-Obsoletes:     php56-devel
-Obsoletes:     php70-devel
-Obsoletes:     php71-devel
-Obsoletes:     php73-devel
+Obsoletes:     php-pear-devel < 3:4.3.0-1
+Obsoletes:     php4-devel < 3:5
+Obsoletes:     php52-devel < 4:5.3
+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
+Obsoletes:     php74-devel < 4:8
+Obsoletes:     php80-devel < 4:8.1
+Obsoletes:     php81-devel < 4:8.2
 
 %description devel
 The php-devel package lets you compile dynamic extensions to PHP.
@@ -660,7 +679,7 @@ oracle, встановіть цей пакет для компіляції ок
 Summary:       bcmath extension module for PHP
 Summary(pl.UTF-8):     Moduł bcmath dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.bc.php
+URL:           https://www.php.net/manual/en/book.bc.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(bcmath)
 Obsoletes:     php-bcmath < 4:5.3.28-7
@@ -677,7 +696,7 @@ matematycznych takich jak w programie bc.
 Summary:       Bzip2 extension module for PHP
 Summary(pl.UTF-8):     Moduł bzip2 dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.bzip2.php
+URL:           https://www.php.net/manual/en/book.bzip2.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      bzip2-libs >= 1.0.0
 Provides:      php(bz2) = %{bz2ver}
@@ -698,7 +717,7 @@ Moduł PHP umożliwiający używanie kompresji bzip2.
 Summary:       Calendar extension module for PHP
 Summary(pl.UTF-8):     Moduł funkcji kalendarza dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.calendar.php
+URL:           https://www.php.net/manual/en/book.calendar.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(calendar)
 Obsoletes:     php-calendar < 4:5.3.28-7
@@ -714,7 +733,7 @@ Moduł PHP dodający wsparcie dla kalendarza.
 Summary:       ctype extension module for PHP
 Summary(pl.UTF-8):     Moduł ctype dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.ctype.php
+URL:           https://www.php.net/manual/en/book.ctype.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(ctype)
 Obsoletes:     php-ctype < 4:5.3.28-7
@@ -730,9 +749,9 @@ Moduł PHP umożliwiający korzystanie z funkcji ctype.
 Summary:       curl extension module for PHP
 Summary(pl.UTF-8):     Moduł curl dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.curl.php
+URL:           https://www.php.net/manual/en/book.curl.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
-Requires:      curl-libs >= 7.12.0
+Requires:      curl-libs >= 7.29.0
 Provides:      php(curl)
 Obsoletes:     php-curl < 4:5.3.28-7
 
@@ -747,7 +766,7 @@ Moduł PHP umożliwiający korzystanie z biblioteki curl.
 Summary:       DBA extension module for PHP
 Summary(pl.UTF-8):     Moduł DBA dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.dba.php
+URL:           https://www.php.net/manual/en/book.dba.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(dba)
 Obsoletes:     php-dba < 4:5.3.28-7
@@ -766,7 +785,7 @@ Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
 Summary:       DOM extension module for PHP
 Summary(pl.UTF-8):     Moduł DOM dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.dom.php
+URL:           https://www.php.net/manual/en/book.dom.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(dom)
 # it has some compatibility functions
@@ -786,7 +805,7 @@ Moduł PHP dodający nową obsługę DOM.
 Summary:       libenchant binder
 Summary(pl.UTF-8):     dowiązania biblioteki libenchant
 Group:         Libraries
-URL:           http://php.net/manual/en/book.enchant.php
+URL:           https://www.php.net/manual/en/book.enchant.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(enchant) = %{enchantver}
 Obsoletes:     php-enchant < 4:5.3.28-7
@@ -816,7 +835,7 @@ ujednolicone API dla wielu narzędzi sprawdzających pisownię:
 Summary:       exif extension module for PHP
 Summary(pl.UTF-8):     Moduł exif dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.exif.php
+URL:           https://www.php.net/manual/en/book.exif.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(exif)
 Obsoletes:     php-exif < 4:5.3.28-7
@@ -848,12 +867,12 @@ funkcje z dowolnych bibliotek współdzielonych i wywoływać je.
 Summary:       libmagic bindings
 Summary(pl.UTF-8):     Wiązania do libmagic
 Group:         Libraries
-URL:           http://php.net/manual/en/book.fileinfo.php
+URL:           https://www.php.net/manual/en/book.fileinfo.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pcre = %{epoch}:%{version}-%{release}
 Provides:      php(fileinfo) = %{fileinfover}
 Obsoletes:     php-fileinfo < 4:5.3.28-7
-Obsoletes:     php-mime_magic
+Obsoletes:     php-mime_magic < 4:5.3
 Obsoletes:     php-pecl-fileinfo < %{fileinfover}
 
 %description fileinfo
@@ -875,12 +894,12 @@ pliku oraz kodowania plików tekstowych.
 Summary:       Extension for safely dealing with input parameters
 Summary(pl.UTF-8):     Rozszerzenie do bezpiecznej obsługi danych wejściowych
 Group:         Libraries
-URL:           http://php.net/manual/en/book.filter.php
+URL:           https://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-filter < 4:5.3.28-7
-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
@@ -900,7 +919,7 @@ mogą bezpiecznie używać do dostępu do danych.
 Summary:       FTP extension module for PHP
 Summary(pl.UTF-8):     Moduł FTP dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.ftp.php
+URL:           https://www.php.net/manual/en/book.ftp.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(ftp)
 Obsoletes:     php-ftp < 4:5.3.28-7
@@ -916,7 +935,7 @@ Moduł PHP dodający obsługę protokołu FTP.
 Summary:       GD extension module for PHP
 Summary(pl.UTF-8):     Moduł GD dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.image.php
+URL:           https://www.php.net/manual/en/book.image.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 %if %{with system_gd}
 Requires:      gd >= 2.1
@@ -937,7 +956,7 @@ tworzenie i obróbkę obrazków.
 Summary:       gettext extension module for PHP
 Summary(pl.UTF-8):     Moduł gettext dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.gettext.php
+URL:           https://www.php.net/manual/en/book.gettext.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(gettext)
 Obsoletes:     php-gettext < 4:5.3.28-7
@@ -953,7 +972,7 @@ Moduł PHP dodający obsługę lokalizacji przez gettext.
 Summary:       gmp extension module for PHP
 Summary(pl.UTF-8):     Moduł gmp dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.gmp.php
+URL:           https://www.php.net/manual/en/book.gmp.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      gmp >= 4.2
 Provides:      php(gmp)
@@ -971,7 +990,7 @@ liczbach o dowolnej długości.
 Summary:       iconv extension module for PHP
 Summary(pl.UTF-8):     Moduł iconv dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.iconv.php
+URL:           https://www.php.net/manual/en/book.iconv.php
 Requires:      %{_libdir}/gconv
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      iconv
@@ -990,7 +1009,7 @@ Summary:   IMAP extension module for PHP
 Summary(pl.UTF-8):     Moduł IMAP dla PHP
 Summary(pt_BR.UTF-8):  Um módulo para aplicações PHP que usam IMAP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.imap.php
+URL:           https://www.php.net/manual/en/book.imap.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pcre = %{epoch}:%{version}-%{release}
 Requires:      imap-lib >= 1:2007e-2
@@ -1011,7 +1030,7 @@ Um módulo para aplicações PHP que usam IMAP.
 Summary:       Internationalization extension (ICU wrapper)
 Summary(pl.UTF-8):     Rozszerzenie do internacjonalizacji (interfejs do ICU)
 Group:         Libraries
-URL:           http://php.net/intl
+URL:           https://www.php.net/intl
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(intl) = %{intlver}
 Obsoletes:     php-intl < 4:5.3.28-7
@@ -1033,7 +1052,7 @@ daty/czasu/walut.
 Summary:       PHP C extension for JSON serialization
 Summary(pl.UTF-8):     Rozszerzenie C PHP dla serializacji JSON
 Group:         Libraries
-URL:           http://php.net/manual/en/book.json.php
+URL:           https://www.php.net/manual/en/book.json.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(json) = %{jsonver}
 Obsoletes:     php-json < 4:5.3.28-7
@@ -1052,7 +1071,7 @@ Summary:  LDAP extension module for PHP
 Summary(pl.UTF-8):     Moduł LDAP dla PHP
 Summary(pt_BR.UTF-8):  Um módulo para aplicações PHP que usam LDAP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.ldap.php
+URL:           https://www.php.net/manual/en/book.ldap.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(ldap)
 Obsoletes:     php-ldap < 4:5.3.28-7
@@ -1071,7 +1090,7 @@ Um módulo para aplicações PHP que usam LDAP.
 Summary:       mbstring extension module for PHP
 Summary(pl.UTF-8):     Moduł mbstring dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.mbstring.php
+URL:           https://www.php.net/manual/en/book.mbstring.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(mbstring)
 Obsoletes:     php-mbstring < 4:5.3.28-7
@@ -1087,7 +1106,7 @@ Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
 Summary:       MySQLi module for PHP
 Summary(pl.UTF-8):     Moduł MySQLi dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.mysqli.php
+URL:           https://www.php.net/manual/en/book.mysqli.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 %{?with_mysqlnd:Requires:      %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
@@ -1109,7 +1128,7 @@ MySQL w wersji 4.1 i nowszych.
 Summary:       MySQL Native Client Driver for PHP
 Summary(pl.UTF-8):     Sterownik natywnego klienta MySQL dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.mysqlnd.php
+URL:           https://www.php.net/manual/en/book.mysqlnd.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(mysqlnd)
 Obsoletes:     php-mysqlnd < 4:5.3.28-7
@@ -1147,7 +1166,7 @@ tym sterowniku - tylko raz.
 Summary:       Oracle 8+ database module for PHP
 Summary(pl.UTF-8):     Moduł bazy danych Oracle 8+ dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.oci8.php
+URL:           https://www.php.net/manual/en/book.oci8.php
 %{?requires_php_extension}
 Provides:      php(oci8)
 Obsoletes:     php-oci8 < 4:5.3.28-7
@@ -1167,7 +1186,7 @@ Summary:  ODBC extension module for PHP
 Summary(pl.UTF-8):     Moduł ODBC dla PHP
 Summary(pt_BR.UTF-8):  Um módulo para aplicações PHP que usam bases de dados ODBC
 Group:         Libraries
-URL:           http://php.net/manual/en/book.uodbc.php
+URL:           https://www.php.net/manual/en/book.uodbc.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      unixODBC >= 2.1.1-3
 Provides:      php(odbc)
@@ -1212,7 +1231,7 @@ czyniąc wykonywanie kodu szybszym.
 Summary:       OpenSSL extension module for PHP
 Summary(pl.UTF-8):     Moduł OpenSSL dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.openssl.php
+URL:           https://www.php.net/manual/en/book.openssl.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(openssl)
 Obsoletes:     php-openssl < 4:5.3.28-7
@@ -1228,7 +1247,7 @@ Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
 Summary:       Process Control extension module for PHP
 Summary(pl.UTF-8):     Moduł Process Control dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.pcntl.php
+URL:           https://www.php.net/manual/en/book.pcntl.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(pcntl)
 Obsoletes:     php-pcntl < 4:5.3.28-7
@@ -1246,13 +1265,13 @@ Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
 Summary:       PHP Data Objects (PDO)
 Summary(pl.UTF-8):     Obsługa PHP Data Objects (PDO)
 Group:         Libraries
-URL:           http://php.net/manual/en/book.pdo.php
+URL:           https://www.php.net/manual/en/book.pdo.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
 Provides:      %{name}(PDO_API) = %{php_pdo_api_version}
 Provides:      php(pdo)
 Obsoletes:     php-pdo < 4:5.3.28-7
-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
@@ -1265,7 +1284,7 @@ Moduł PHP dodający obsługę PDO (PHP Data Objects).
 Summary:       PHP Data Objects (PDO) FreeTDS support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą FreeTDS
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-dblib.php
+URL:           https://www.php.net/manual/en/ref.pdo-dblib.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:      php(pdo_dblib)
@@ -1283,13 +1302,13 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) Firebird support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą Firebirda
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-firebird.php
+URL:           https://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)
 Provides:      php(pdo_firebird)
 Obsoletes:     php-pdo-firebird < 4:5.3.28-7
-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
@@ -1303,14 +1322,14 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) MySQL support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą MySQL-a
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-mysql.php
+URL:           https://www.php.net/manual/en/ref.pdo-mysql.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 %{?with_mysqlnd:Requires:      %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
 Requires:      %{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:      php(pdo-mysql)
 Provides:      php(pdo_mysql)
 Obsoletes:     php-pdo-mysql < 4:5.3.28-7
-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
@@ -1324,13 +1343,13 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) Oracle support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą Oracle'a
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-oci.php
+URL:           https://www.php.net/manual/en/ref.pdo-oci.php
 %{?requires_php_extension}
 %{?requires_php_pdo_module}
 Provides:      php(pdo-oci)
 Provides:      php(pdo_oci)
 Obsoletes:     php-pdo-oci < 4:5.3.28-7
-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
@@ -1344,13 +1363,13 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) ODBC support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą ODBC
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-odbc.php
+URL:           https://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)
 Provides:      php(pdo_odbc)
 Obsoletes:     php-pdo-odbc < 4:5.3.28-7
-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
@@ -1364,7 +1383,7 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) PostgreSQL support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-pgsql.php
+URL:           https://www.php.net/manual/en/ref.pdo-pgsql.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-pdo = %{epoch}:%{version}-%{release}
 Provides:      php(pdo-pgsql)
@@ -1384,13 +1403,13 @@ interfejsu PDO.
 Summary:       PHP Data Objects (PDO) SQLite support
 Summary(pl.UTF-8):     Moduł PHP Data Objects (PDO) z obsługą SQLite
 Group:         Libraries
-URL:           http://php.net/manual/en/ref.pdo-sqlite.php
+URL:           https://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)
 Provides:      php(pdo_sqlite)
 Obsoletes:     php-pdo-sqlite < 4:5.3.28-7
-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
@@ -1404,7 +1423,7 @@ interfejsu PDO.
 Summary:       PostgreSQL database module for PHP
 Summary(pl.UTF-8):     Moduł bazy danych PostgreSQL dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.pgsql.php
+URL:           https://www.php.net/manual/en/book.pgsql.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(pgsql)
 Obsoletes:     php-pgsql < 4:5.3.28-7
@@ -1423,7 +1442,7 @@ Um módulo para aplicações PHP que usam bancos de dados postgresql.
 Summary:       Phar archive module for PHP
 Summary(pl.UTF-8):     Moduł phar dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.phar.php
+URL:           https://www.php.net/manual/en/book.phar.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-hash = %{epoch}:%{version}-%{release}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
@@ -1447,7 +1466,7 @@ Moduł PHP umożliwiający dostęp do achiwów .phar.
 Summary:       POSIX extension module for PHP
 Summary(pl.UTF-8):     Moduł POSIX dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.posix.php
+URL:           https://www.php.net/manual/en/book.posix.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(posix)
 Obsoletes:     php-posix < 4:5.3.28-7
@@ -1463,7 +1482,7 @@ Moduł PHP umożliwiający korzystanie z funkcji POSIX.
 Summary:       pspell extension module for PHP
 Summary(pl.UTF-8):     Moduł pspell dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.pspell.php
+URL:           https://www.php.net/manual/en/book.pspell.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(pspell)
 Obsoletes:     php-pspell < 4:5.3.28-7
@@ -1481,7 +1500,7 @@ sprawdzanie pisowni słowa i sugerowanie poprawek.
 Summary:       readline extension module for PHP
 Summary(pl.UTF-8):     Moduł readline dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.readline.php
+URL:           https://www.php.net/manual/en/book.readline.php
 Requires:      %{name}-cli = %{epoch}:%{version}-%{release}
 Provides:      php(readline)
 Obsoletes:     php-readline < 4:5.3.28-7
@@ -1497,6 +1516,7 @@ Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
 Summary:       session extension module for PHP
 Summary(pl.UTF-8):     Moduł session dla PHP
 Group:         Libraries
+URL:           https://www.php.net/manual/en/book.session.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
 Suggests:      %{name}-hash = %{epoch}:%{version}-%{release}
@@ -1515,7 +1535,7 @@ Moduł PHP dodający obsługę sesji.
 Summary:       Shared Memory Operations extension module for PHP
 Summary(pl.UTF-8):     Moduł shmop dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.shmop.php
+URL:           https://www.php.net/manual/en/book.shmop.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(shmop)
 Obsoletes:     php-shmop < 4:5.3.28-7
@@ -1531,7 +1551,7 @@ Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
 Summary:       Simple XML extension module for PHP
 Summary(pl.UTF-8):     Moduł prostego rozszerzenia XML dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.simplexml.php
+URL:           https://www.php.net/manual/en/book.simplexml.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
 Provides:      php(simplexml)
@@ -1548,7 +1568,7 @@ Moduł PHP dodający obsługę prostego XML-a.
 Summary:       SNMP extension module for PHP
 Summary(pl.UTF-8):     Moduł SNMP dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.snmp.php
+URL:           https://www.php.net/manual/en/book.snmp.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-sockets = %{epoch}:%{version}-%{release}
 Requires:      %{name}-spl = %{epoch}:%{version}-%{release}
@@ -1566,7 +1586,7 @@ Moduł PHP dodający obsługę SNMP.
 Summary:       soap extension module for PHP
 Summary(pl.UTF-8):     Moduł soap dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.soap.php
+URL:           https://www.php.net/manual/en/book.soap.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(soap)
 Obsoletes:     php-soap < 4:5.3.28-7
@@ -1582,7 +1602,7 @@ Moduł PHP dodający obsługę SOAP/WSDL.
 Summary:       sockets extension module for PHP
 Summary(pl.UTF-8):     Moduł socket dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.sockets.php
+URL:           https://www.php.net/manual/en/book.sockets.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(sockets)
 Obsoletes:     php-sockets < 4:5.3.28-7
@@ -1612,7 +1632,7 @@ Proste, niskopoziomowe rozszerzenie PHP wykorzystując libsodium.
 Summary:       SQLite3 extension module for PHP
 Summary(pl.UTF-8):     Moduł SQLite3 dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.sqlite3.php
+URL:           https://www.php.net/manual/en/book.sqlite3.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(sqlite3) = %{sqlite3ver}
 Obsoletes:     php-sqlite3 < 4:5.3.28-7
@@ -1641,7 +1661,7 @@ dysku.
 Summary:       SysV msg extension module for PHP
 Summary(pl.UTF-8):     Moduł SysV msg dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.sem.php
+URL:           https://www.php.net/manual/en/book.sem.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(sysvmsg)
 Obsoletes:     php-sysvmsg < 4:5.3.28-7
@@ -1657,7 +1677,7 @@ Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
 Summary:       SysV sem extension module for PHP
 Summary(pl.UTF-8):     Moduł SysV sem dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.sem.php
+URL:           https://www.php.net/manual/en/book.sem.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(sysvsem)
 Obsoletes:     php-sysvsem < 4:5.3.28-7
@@ -1673,7 +1693,7 @@ Moduł PHP umożliwiający korzystanie z semaforów SysV.
 Summary:       SysV shm extension module for PHP
 Summary(pl.UTF-8):     Moduł SysV shm dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.sem.php
+URL:           https://www.php.net/manual/en/book.sem.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(sysvshm)
 Obsoletes:     php-sysvshm < 4:5.3.28-7
@@ -1691,9 +1711,7 @@ Summary(pl.UTF-8):        Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
 Group:         Libraries
 URL:           http://qa.php.net/
 Requires:      %{name}-cli
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description tests
 This package contains unit tests for PHP and its extensions.
@@ -1705,7 +1723,7 @@ Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
 Summary:       Tidy extension module for PHP
 Summary(pl.UTF-8):     Moduł Tidy dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.tidy.php
+URL:           https://www.php.net/manual/en/book.tidy.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      tidy
 Provides:      php(tidy)
@@ -1722,7 +1740,7 @@ Moduł PHP umożliwiający korzystanie z tidy.
 Summary:       tokenizer extension module for PHP
 Summary(pl.UTF-8):     Moduł rozszerzenia tokenizer dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.tokenizer.php
+URL:           https://www.php.net/manual/en/book.tokenizer.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(tokenizer)
 Obsoletes:     php-tokenizer < 4:5.3.28-7
@@ -1738,7 +1756,7 @@ Moduł PHP dodający obsługę tokenizera do PHP.
 Summary:       XML extension module for PHP
 Summary(pl.UTF-8):     Moduł XML dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.xml.php
+URL:           https://www.php.net/manual/en/book.xml.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(xml)
 Obsoletes:     php-xml < 4:5.3.28-7
@@ -1757,7 +1775,7 @@ następnie definiować procedury obsługi dla różnych zdarzeń XML.
 Summary:       XML Reader extension module for PHP
 Summary(pl.UTF-8):     Moduł XML Reader dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.xmlreader.php
+URL:           https://www.php.net/manual/en/book.xmlreader.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-dom = %{epoch}:%{version}-%{release}
 Provides:      php(xmlreader)
@@ -1778,10 +1796,10 @@ zatrzymujący się na każdym węźle po drodze.
 Summary:       Fast, non-cached, forward-only means to write XML data
 Summary(pl.UTF-8):     Szybka, nie cachowana metoda zapisu danych w formacie XML
 Group:         Libraries
-URL:           http://php.net/manual/en/book.xmlwriter.php
+URL:           https://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
 Obsoletes:     php-xmlwriter < 4:5.3.28-7
 
 %description xmlwriter
@@ -1798,7 +1816,7 @@ plików zawierających dane XML.
 Summary:       xsl extension module for PHP
 Summary(pl.UTF-8):     Moduł xsl dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.xsl.php
+URL:           https://www.php.net/manual/en/book.xsl.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Requires:      %{name}-dom = %{epoch}:%{version}-%{release}
 Requires:      libxslt >= 1.1.0
@@ -1818,9 +1836,9 @@ Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
 Summary:       Zip management extension
 Summary(pl.UTF-8):     Zarządzanie archiwami zip
 Group:         Libraries
-URL:           http://php.net/manual/en/book.zip.php
+URL:           https://www.php.net/manual/en/book.zip.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
-Requires:      libzip >= 1.3.1
+Requires:      libzip >= 1.7.1
 Provides:      php(zip) = %{zipver}
 Obsoletes:     php-pecl-zip < %{zipver}
 Obsoletes:     php-zip < 4:5.3.28-7
@@ -1836,7 +1854,7 @@ odczyt archiwów zip.
 Summary:       Zlib extension module for PHP
 Summary(pl.UTF-8):     Moduł zlib dla PHP
 Group:         Libraries
-URL:           http://php.net/manual/en/book.zlib.php
+URL:           https://www.php.net/manual/en/book.zlib.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(zlib)
 Obsoletes:     php-zlib < 4:5.3.28-7
@@ -1857,9 +1875,9 @@ cp -p php.ini-production php.ini
 #%patch2 -p1 -b .mail
 %patch3 -p1
 %patch4 -p1
+#%patch5 -p1 resolved upstream?
 
 %patch7 -p1 -b .sapi-ini-file
-%patch9 -p1
 %patch10 -p1 -b .ini
 %patch14 -p1
 %patch18 -p1
@@ -1876,10 +1894,7 @@ cp -p php.ini-production php.ini
 %patch43 -p1
 %patch44 -p1
 %patch50 -p1
-
 %patch53 -p1
-%undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
-
 %patch59 -p1 -b .systzdata
 %if %{with instantclient}
 %patch60 -p1 -b .instantclient
@@ -1889,7 +1904,7 @@ cp -p php.ini-production php.ini
 #%patch68 -p1 DROP or update to 7.0 APIs
 %patch71 -p1 -b .libdb-info
 
-sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
+%{__sed} -i -e '1s,/usr/bin/env php,%{_bindir}/php,' \
       ext/ext_skel.php \
       run-tests.php
 
@@ -1909,8 +1924,6 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 #%{__rm} -r ext/gd/libgd
 #%{__rm} -r ext/mbstring/libmbfl
 #%{__rm} -r ext/pcre/pcre2lib
-#%{__rm} -r ext/soap/interop
-#%{__rm} -r ext/zip/lib
 %{__rm} ext/date/lib/timezonedb.h
 
 cp -pf Zend/LICENSE{,.Zend}
@@ -2199,6 +2212,7 @@ for sapi in $sapis; do
        %{__enable_disable pcntl pcntl shared} \
        %{__enable_disable pdo pdo shared} \
        --enable-xmlwriter=shared \
+       %{?with_avif:--with-avif} \
 %if %{with fpm}
        --with-fpm-user=http \
        --with-fpm-group=http \
@@ -2289,7 +2303,7 @@ cp -af Makefile.cli Makefile
        MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
 
 %if %{with apache2}
-%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp7.la -f Makefile.apxs2
+%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp8.la -f Makefile.apxs2
 %endif
 
 %if %{with litespeed}
@@ -2297,7 +2311,7 @@ cp -af Makefile.cli Makefile
 %endif
 
 %if %{with embed}
-%{__make} -f Makefile.embed libphp7.la
+%{__make} -f Makefile.embed libphp8.la
 %endif
 
 %if %{with phpdbg}
@@ -2412,9 +2426,9 @@ v=$(echo %{version} | cut -d. -f1-2)
 
 # install Apache2 DSO module
 %if %{with apache2}
-libtool --mode=install install -p sapi/apache2handler/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7{,-$v}.so
-ln -s libphp7-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
+libtool --mode=install install -p sapi/apache2handler/libphp8.la $RPM_BUILD_ROOT%{_libdir}/apache
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp8{,-$v}.so
+ln -s libphp8-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
 %endif
 
 # install litespeed sapi
@@ -2476,7 +2490,7 @@ touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
 # we could use install-headers from Makefile.embed, but that would reinstall all headers
 # install-sapi installs to wrong dir, so just do it all manually
 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
-install -p libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}
+install -p libs/libphp8.so $RPM_BUILD_ROOT%{_libdir}
 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
 %endif
 
@@ -2494,7 +2508,7 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/cli.d/php.ini
 %if %{with apache2}
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/apache2handler.d/php.ini
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.la
+%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp8.la
 %endif
 
 # ensure that paths are correct for current php version and arch
@@ -2589,7 +2603,14 @@ fi
 # restart webserver at the end of transaction
 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
 
-%triggerpostun common -- php-common < 4:5.3.28-7
+%triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
+# switch to browscap package if the ini file has original value
+%{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
+# disable browscap, if optional package not present
+if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
+       %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
+fi
+
 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
@@ -2610,14 +2631,6 @@ for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
        ' $nf
 done
 
-%triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
-# switch to browscap package if the ini file has original value
-%{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
-# disable browscap, if optional package not present
-if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
-       %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
-fi
-
 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:7.0.0-2.RC4
 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
 
@@ -2729,7 +2742,7 @@ fi
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/apache2handler.d
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache2handler.d/php.ini
-%attr(755,root,root) %{_libdir}/apache/libphp7-*.*.so
+%attr(755,root,root) %{_libdir}/apache/libphp8-*.*.so
 %endif
 
 %if %{with litespeed}
@@ -2750,7 +2763,7 @@ fi
 %if %{with embed}
 %files embedded
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libphp7.so
+%attr(755,root,root) %{_libdir}/libphp8.so
 %endif
 
 %files cli
@@ -3003,7 +3016,7 @@ fi
 %if %{with pdo_oci}
 %files oci8
 %defattr(644,root,root,755)
-%doc ext/oci8/{CREDITS,README}
+%doc ext/oci8/{CREDITS,README.md}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_oci8.ini
 %attr(755,root,root) %{php_extensiondir}/oci8.so
 %endif
@@ -3239,7 +3252,6 @@ fi
 %{php_data_dir}/tests/php/run-test
 %{php_data_dir}/tests/php/security
 %{php_data_dir}/tests/php/strings
-%{php_data_dir}/tests/php/quicktester.inc
 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
 
 %if %{with tidy}
This page took 0.102039 seconds and 4 git commands to generate.