summaryrefslogtreecommitdiffstats
path: root/php-pecl-zookeeper.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-05-04 16:19:56 +0200
committerRemi Collet <remi@remirepo.net>2018-05-04 16:19:56 +0200
commit73944b9f7eff3a41472d5eed74c63c55eca37b19 (patch)
treef0b509f1af0fa35d9b5d4c67f0b511678b4f81fa /php-pecl-zookeeper.spec
parente545787d2886eb5e3a167adf926d6badac28b0a1 (diff)
v0.4.1
Diffstat (limited to 'php-pecl-zookeeper.spec')
-rw-r--r--php-pecl-zookeeper.spec21
1 files changed, 10 insertions, 11 deletions
diff --git a/php-pecl-zookeeper.spec b/php-pecl-zookeeper.spec
index 50bd7ee..b5fbdff 100644
--- a/php-pecl-zookeeper.spec
+++ b/php-pecl-zookeeper.spec
@@ -8,6 +8,9 @@
#
%{?scl: %scl_package php-pecl-zookeeper}
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
%global pecl_name zookeeper
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%if "%{php_version}" < "5.6"
@@ -18,13 +21,14 @@
Summary: PHP extension for interfacing with Apache ZooKeeper
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 0.4.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 0.4.1
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://github.com/andreiz/php-zookeeper
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: zookeeper-devel
@@ -43,14 +47,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-Obsoletes: php53-pecl-%{pecl_name} <= %{version}
-Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "5.5"
-Obsoletes: php55u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
@@ -161,7 +157,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -212,6 +208,9 @@ cd ../ZTS
%changelog
+* Fri May 4 2018 Remi Collet <remi@remirepo.net> - 0.4.1-1
+- update to 0.4.1
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.4.0-3
- rebuild for PHP 7.2.0beta1 new API