diff options
| author | Remi Collet <fedora@famillecollet.com> | 2016-03-08 16:55:09 +0100 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2016-03-08 16:55:09 +0100 | 
| commit | 6b8dca1abe1fdf78634ccd929f32fcbd018b3128 (patch) | |
| tree | 7b2d98b60fa26043435297ed136fea9b25a6871a | |
| parent | f48cde1848aadf51fb859f662604389c42b4c6f5 (diff) | |
php-pecl-stomp: F24
| -rw-r--r-- | php-pecl-stomp.spec | 24 | 
1 files changed, 15 insertions, 9 deletions
| diff --git a/php-pecl-stomp.spec b/php-pecl-stomp.spec index 978331d..1c4dac2 100644 --- a/php-pecl-stomp.spec +++ b/php-pecl-stomp.spec @@ -8,9 +8,6 @@  #  %{?scl:          %scl_package         php-pecl-stomp}  %{!?scl:         %global _root_prefix %{_prefix}} -%{!?php_inidir:  %global php_inidir   %{_sysconfdir}/php.d} -%{!?__pecl:      %global __pecl       %{_bindir}/pecl} -%{!?__php:       %global __php        %{_bindir}/php}  %global with_zts    0%{!?_without_zts:%{?__ztsphp:1}}  %global pecl_name   stomp @@ -25,7 +22,7 @@  Summary:        Stomp client extension  Name:           %{?scl_prefix}php-pecl-%{pecl_name}  Version:        1.0.9 -Release:        1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release:        2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}  License:        PHP  Group:          Development/Languages  URL:            http://pecl.php.net/package/%{pecl_name} @@ -40,10 +37,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 @@ -83,7 +82,9 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO  mv %{pecl_name}-%{version} NTS  # 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 NTS @@ -162,6 +163,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done +%if 0%{?fedora} < 24  # when pear installed alone, after us  %triggerin -- %{?scl_prefix}php-pear  if [ -x %{__pecl} ] ; then @@ -178,6 +180,7 @@ fi  if [ $1 -eq 0 -a -x %{__pecl} ] ; then      %{pecl_uninstall} %{pecl_name} >/dev/null || :  fi +%endif  %check @@ -216,6 +219,9 @@ rm -rf %{buildroot}  %changelog +* Tue Mar  8 2016 Remi Collet <remi@fedoraproject.org> - 1.0.9-2 +- adapt for F24 +  * Tue Jan 05 2016 Remi Collet <remi@fedoraproject.org> - 1.0.9-1  - Update to 1.0.9 (stable) @@ -234,4 +240,4 @@ rm -rf %{buildroot}  - enable openssl support  * Fri Oct 10 2014 Remi Collet <remi@fedoraproject.org> - 1.0.5-1 -- initial package, version 1.0.5 (stable)
\ No newline at end of file +- initial package, version 1.0.5 (stable) | 
