summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pggi.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pggi.spec b/php-pggi.spec
index 5608cba..916f5a1 100644
--- a/php-pggi.spec
+++ b/php-pggi.spec
@@ -18,7 +18,7 @@
Summary: GTK bindings
Name: %{?scl_prefix}php-pggi
Version: 0.3.0
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
@@ -31,7 +31,7 @@ Patch1: https://patch-diff.githubusercontent.com/raw/Letargie/pggi/pull/9
# https://github.com/Letargie/pggi/pull/11
Patch2: https://patch-diff.githubusercontent.com/raw/Letargie/pggi/pull/11.patch
-BuildRequires: gcc
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: gtk3-devel
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
@@ -57,6 +57,10 @@ Obsoletes: php71w-%{pecl_name} <= %{version}
Obsoletes: php72u-%{pecl_name} <= %{version}
Obsoletes: php72w-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-%{pecl_name} <= %{version}
+Obsoletes: php73w-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -172,6 +176,9 @@ cd ../ZTS
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 0.3.0-3
+- rebuild for 7.3.0alpha4 new ABI
+
* Mon Jun 18 2018 Remi Collet <remi@remirepo.net> - 0.3.0-2
- rebuild with new sources