summaryrefslogtreecommitdiffstats
path: root/php-pecl-rpminfo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r--php-pecl-rpminfo.spec24
1 files changed, 11 insertions, 13 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec
index daedc3c..f236f2e 100644
--- a/php-pecl-rpminfo.spec
+++ b/php-pecl-rpminfo.spec
@@ -22,15 +22,12 @@
Summary: RPM information
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 0.5.0
-Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 0.5.1
+Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# Upstream patch for test suite
-Patch0: %{pecl_name}-tests.patch
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: pkgconfig(rpm) >= 4.11.3
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -51,17 +48,14 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.3"
Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.4"
Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
+%if "%{php_version}" > "8.0"
+Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
%endif
@@ -92,8 +86,6 @@ sed -e 's/role="test"/role="src"/' \
mv %{pecl_name}-%{version} NTS
cd NTS
-%patch0 -p1 -b .up
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_RPMINFO_VERSION/{s/.* "//;s/".*$//;p}' php_rpminfo.h)
if test "x${extver}" != "x%{version}"; then
@@ -231,6 +223,12 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 0.5.1-6
+- rebuild for PHP 8.0.0RC1
+
+* Wed Sep 23 2020 Remi Collet <remi@remirepo.net> - 0.5.1-5
+- update to 0.5.1
+
* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 0.5.0-5
- rebuild for PHP 8.0.0beta3