summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-snappy.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-snappy.spec b/php-snappy.spec
index e7a06ff..71ad7bf 100644
--- a/php-snappy.spec
+++ b/php-snappy.spec
@@ -28,16 +28,15 @@ Summary: Snappy Extension for PHP
Name: %{?sub_prefix}php-snappy
Version: 0.1.9
%if 0%{?gh_date:1}
-Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.4.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%endif
%if %{?with_libsnappy}
License: PHP
%else
License: PHP and BSD
%endif
-Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{pkg_name}-%{version}-%{gh_short}.tgz
# retrieve a recursive git snapshot with submodule
@@ -80,6 +79,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
@@ -220,6 +223,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 0.1.9-2
+- rebuild for 7.3.0alpha4 new ABI
+
* Fri Sep 8 2017 Remi Collet <remi@remirepo.net> - 0.1.9-1
- update to 0.1.9 (no change)