- add conflicts with earlier versions of php (boo#181292)
- update contents of configuration file (still referenced php7) % mod_php8.conf OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php8?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
00612782c4
commit
e5d19f7fdb
@@ -1,13 +1,14 @@
|
||||
<IfModule mod_php7.c>
|
||||
<FilesMatch "\.ph(p[3457]?|tml)$">
|
||||
<IfModule mod_php8.c>
|
||||
<FilesMatch "\.ph(p[34578]?|tml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.php[3457]?s$">
|
||||
<FilesMatch "\.php[34578]?s$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
</FilesMatch>
|
||||
DirectoryIndex index.php4
|
||||
DirectoryIndex index.php5
|
||||
DirectoryIndex index.php7
|
||||
DirectoryIndex index.php8
|
||||
DirectoryIndex index.php
|
||||
</IfModule>
|
||||
|
||||
|
11
php8.changes
11
php8.changes
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 29 08:47:27 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- add conflicts with earlier versions of php (boo#181292)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 28 19:16:39 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- update contents of configuration file (still referenced php7)
|
||||
% mod_php8.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 23 21:27:09 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
|
26
php8.spec
26
php8.spec
@@ -162,7 +162,7 @@ BuildRequires: php-fpm = %{version}
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == ""
|
||||
Requires: php-sapi
|
||||
Requires: php-sapi = %{version}
|
||||
Requires: timezone
|
||||
Requires(pre): group(www)
|
||||
Requires(pre): user(wwwrun)
|
||||
@@ -176,12 +176,12 @@ Recommends: php-xmlreader = %{version}
|
||||
Recommends: php-xmlwriter = %{version}
|
||||
# Recommends instead of Requires smtp_daemon bsc#1115213
|
||||
Recommends: smtp_daemon
|
||||
# suggest php-* = %%{version} instead of php-* [bsc#1022158c#4]
|
||||
Suggests: php-cli = %{version}
|
||||
Suggests: php-gd = %{version}
|
||||
Suggests: php-gettext = %{version}
|
||||
Suggests: php-mbstring = %{version}
|
||||
Suggests: php-mysql = %{version}
|
||||
# suggest %%{php_name}-* instead of php-* [bsc#1022158c#4]
|
||||
Suggests: %{php_name}-cli
|
||||
Suggests: %{php_name}-gd
|
||||
Suggests: %{php_name}-gettext
|
||||
Suggests: %{php_name}-mbstring
|
||||
Suggests: %{php_name}-mysql
|
||||
## Provides
|
||||
Provides: php = %{version}
|
||||
Provides: php-api = %{apiver}
|
||||
@@ -201,7 +201,7 @@ Provides: php-spl = %{version}
|
||||
Provides: php-xml = %{version}
|
||||
Provides: zend = %{zendver}
|
||||
# conflicts other php major versions with and should replace it
|
||||
Obsoletes: php < %{version}
|
||||
Conflicts: php < %{version}
|
||||
Conflicts: php72
|
||||
# mcrypt was removed in php 7.2
|
||||
Obsoletes: php7-mcrypt
|
||||
@@ -224,7 +224,7 @@ Summary: Interpreter for the PHP scripting language version 8
|
||||
Group: Development/Libraries/PHP
|
||||
Requires: php = %{version}
|
||||
Provides: php-cli = %{version}
|
||||
Provides: php-sapi = cli
|
||||
Provides: php-sapi = %{version}
|
||||
Conflicts: php-cli < %{version}
|
||||
|
||||
%description cli
|
||||
@@ -278,7 +278,7 @@ Requires: php = %{version}
|
||||
Requires(post): %{_sbindir}/a2enmod
|
||||
Requires(preun): %{_sbindir}/a2enmod
|
||||
Provides: mod_php_any = %{version}
|
||||
Provides: php-sapi = %{flavor}
|
||||
Provides: php-sapi = %{version}
|
||||
Obsoletes: mod_php_any < %{version}
|
||||
|
||||
%description
|
||||
@@ -299,7 +299,7 @@ BuildRequires: php = %{version}
|
||||
Requires: php = %{version}
|
||||
Provides: php-cgi = %{version}
|
||||
Provides: php-fastcgi = %{version}
|
||||
Provides: php-sapi = %{flavor}
|
||||
Provides: php-sapi = %{version}
|
||||
Conflicts: php-fastcgi < %{version}
|
||||
|
||||
%description
|
||||
@@ -317,7 +317,7 @@ BuildRequires: php = %{version}
|
||||
BuildRequires: pkgconfig(libsystemd) >= 209
|
||||
Requires: php = %{version}
|
||||
Provides: php-fpm = %{version}
|
||||
Provides: php-sapi = %{flavor}
|
||||
Provides: php-sapi = %{version}
|
||||
Conflicts: php-fpm < %{version}
|
||||
%systemd_requires
|
||||
|
||||
@@ -334,7 +334,7 @@ Summary: Embedded SAPI Library
|
||||
Group: Development/Libraries/PHP
|
||||
BuildRequires: php = %{version}
|
||||
Requires: php = %{version}
|
||||
Provides: php-sapi = %{flavor}
|
||||
Provides: php-sapi = %{version}
|
||||
|
||||
%description
|
||||
PHP is a server-side, cross-platform HTML embedded scripting language.
|
||||
|
Reference in New Issue
Block a user