diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-03-08 15:13:14 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-03-08 15:13:14 +0100 |
commit | 8ee9a79bf370e385a9ccb277dbb2b025df2eac6e (patch) | |
tree | 2e1c6af525f4ea8c4f7f7b7131a1f41bd458f433 | |
parent | ee3c317ae110b86771780b3c1cbb92f1c5c3da9b (diff) |
php-pecl-pthreads: F24
-rw-r--r-- | php-pecl-pthreads.spec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/php-pecl-pthreads.spec b/php-pecl-pthreads.spec index 021b8d3..d2ab730 100644 --- a/php-pecl-pthreads.spec +++ b/php-pecl-pthreads.spec @@ -21,7 +21,7 @@ Summary: Threading API Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.0.10 -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;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -35,10 +35,12 @@ 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} -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff @@ -77,7 +79,9 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -c # Don't install/register tests -sed -e 's/role="test"/role="src"/' -i package.xml +sed -e 's/role="test"/role="src"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml cd %{pecl_name}-%{version} @@ -124,6 +128,7 @@ do sed -e 's/\r//' -i $i done +%if 0%{?fedora} < 24 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -140,6 +145,7 @@ fi if [ $1 -eq 0 -a -x %{__pecl} ] ; then %{pecl_uninstall} %{pecl_name} >/dev/null || : fi +%endif %check @@ -173,6 +179,9 @@ rm -rf %{buildroot} %changelog +* Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 2.0.10-2 +- adapt for F24 + * Wed Oct 01 2014 Remi Collet <remi@fedoraproject.org> - 2.0.10-1 - Update to 2.0.10 (stable) |