From f5580373c5a1f456399cb923e797bab15b3f1dba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Aug 2017 14:56:10 +0200 Subject: v5.0.2 --- php-pecl-uopz.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'php-pecl-uopz.spec') diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index da82f1d..9035928 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -23,8 +23,8 @@ Summary: User Operations for Zend Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 5.0.1 -Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 5.0.2 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -34,8 +34,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif -Patch0: %{pecl_name}-upstream.patch - BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -126,7 +124,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .upstream # Sanity check, really often broken extver=$(sed -n '/#define PHP_UOPZ_VERSION/{s/.* "//;s/".*$//;p}' uopz.h) @@ -140,6 +137,9 @@ cd .. cat << EOF | tee %{ini_name} ; Enable '%{summary}' extension module extension=%{pecl_name}.so + +; Configuration +;uopz.disable = 0 EOF %if %{with_zts} @@ -149,6 +149,8 @@ cp -pr NTS ZTS %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -165,6 +167,8 @@ make %{?_smp_mflags} %install +%{?dtsenable} + make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -249,6 +253,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Aug 3 2017 Remi Collet - 5.0.2-1 +- update to 5.0.2 + * Tue Jul 18 2017 Remi Collet - 5.0.1-6 - rebuild for PHP 7.2.0beta1 new API -- cgit