%define orgname php
%define ver_suffix 80
%define php_suffix %{!?with_default_php:%{ver_suffix}}
+%define subver RC2
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 8.0.0
-Release: 0.rc1.1
+Release: 1.%{subver}.1
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
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}rc1.tar.xz
-# Source0-md5: 95923f24e336801d704d4177fcb3e0ce
+Source0: https://downloads.php.net/~pollita/php-%{version}%{subver}.tar.xz
+# Source0-md5: 61a74b2413470f3152bd6e64a46e4dfb
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Moduł PHP umożliwiający używanie kompresji zlib.
%prep
-%if 0
-%setup -q -n %{orgname}-%{version}
-%else
-%setup -q -n %{orgname}-%{version}rc1
-%endif
+%setup -q -n %{orgname}-%{version}%{?subver}
cp -p php.ini-production php.ini
%patch0 -p1