diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-10-15 16:06:17 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-10-15 16:06:17 +0200 |
commit | 154a605ca8f1970c184ea92231e605d0685e65b7 (patch) | |
tree | 9fa177dc9e4f4637e22b3f161a38351a81cb885f /php-pecl-uopz.spec | |
parent | 5be72098193ec1ed3b5910002fd8696cb914a0d0 (diff) |
php-pecl-uopz: 2.0.6
Diffstat (limited to 'php-pecl-uopz.spec')
-rw-r--r-- | php-pecl-uopz.spec | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index 9af9f7f..b853801 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -23,8 +23,8 @@ Summary: User Operations for Zend Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 2.0.5 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 2.0.6 +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} @@ -38,6 +38,7 @@ Requires(post): %{__pecl} Requires(postun): %{__pecl} Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} @@ -85,11 +86,16 @@ It supports the following activities: Documentation: http://php.net/uopz +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}. + %prep %setup -q -c mv %{pecl_name}-%{version} NTS +# Don't install/register tests +sed -e 's/role="test"/role="src"/' -i package.xml + cd NTS #sed -e /PHP_UOPZ_VERSION/s/2.0.0/%{version}/ -i uopz.h @@ -170,10 +176,7 @@ make -C ZTS install INSTALL_ROOT=%{buildroot} install -D -m 644 ZTS/%{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif -# Test & Documentation -for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i -done +# Documentation for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done @@ -226,7 +229,6 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc %{pecl_docdir}/%{pecl_name} -%doc %{pecl_testdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml %config(noreplace) %{php_inidir}/%{ini_name} @@ -241,6 +243,10 @@ rm -rf %{buildroot} # add date time as upstream used to release various # archives using the same version :( %changelog +* Wed Oct 15 2014 Remi Collet <remi@fedoraproject.org> - 2.0.6-1 +- Update to 2.0.6 +- don't provide test suite + * Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 2.0.5-2 - improve SCL build |