summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-19 01:38:03 +0200
committerRemi Collet <remi@remirepo.net>2017-07-19 01:38:03 +0200
commit8388f91095590d864d88fffab420131adbd617a5 (patch)
tree0e9921817d06608964cf2d82017a47e12ae68cf4
parent575d8c7ec5d55c05914ed289a85d90fc43aa10ab (diff)
rebuild for 7.2.0beta1
-rw-r--r--php-smbclient.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-smbclient.spec b/php-smbclient.spec
index 4eafae3..b2d94e3 100644
--- a/php-smbclient.spec
+++ b/php-smbclient.spec
@@ -33,9 +33,9 @@
Name: %{?sub_prefix}php-smbclient
Version: 0.9.0
%if 0%{?gh_date}
-Release: 0.2.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
-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;')}}
%endif
Summary: PHP wrapper for libsmbclient
@@ -103,6 +103,12 @@ Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-%{pecl_name} <= %{version}
+Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php72w-%{pecl_name} <= %{version}
+Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -252,6 +258,9 @@ fi
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.9.0-3
+- rebuild for PHP 7.2.0beta1 new API
+
* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 0.9.0-2
- rebuild for 7.2.0alpha2