From 282fcb6bfe3d8ccc8861fa9b5d01c7b3b8a18d96 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Jan 2014 11:10:30 +0100 Subject: php-pecl-yar: 1.2.3 (stable) --- php-pecl-yar.spec | 57 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/php-pecl-yar.spec b/php-pecl-yar.spec index ca34318..cbca1a2 100644 --- a/php-pecl-yar.spec +++ b/php-pecl-yar.spec @@ -6,6 +6,7 @@ # # Please, preserve the changelog entries # +%{?scl: %scl_package php-pecl-yar} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} %{!?__php: %global __php %{_bindir}/php} @@ -14,8 +15,8 @@ %global pecl_name yar Summary: Light, concurrent RPC framework -Name: php-pecl-%{pecl_name} -Version: 1.2.2 +Name: %{?scl_prefix}php-pecl-%{pecl_name} +Version: 1.2.3 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages @@ -24,28 +25,28 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: curl-devel -BuildRequires: php-devel -BuildRequires: php-pear -BuildRequires: php-pecl-msgpack-devel +BuildRequires: %{?scl_prefix}php-devel +BuildRequires: %{?scl_prefix}php-pear +BuildRequires: %{?scl_prefix}php-pecl-msgpack-devel Requires(post): %{__pecl} Requires(postun): %{__pecl} -Requires: php(zend-abi) = %{php_zend_api} -Requires: php(api) = %{php_core_api} +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} %if "%{php_version}" < "5.4" # php 5.3.3 in EL-6 don't use arched virtual provides # so only requires real packages instead -Requires: php-common%{?_isa} +Requires: %{?scl_prefix}php-common%{?_isa} %else -Requires: php-curl%{?_isa} -Requires: php-json%{?_isa} +Requires: %{?scl_prefix}php-curl%{?_isa} +Requires: %{?scl_prefix}php-json%{?_isa} %endif -Requires: php-pecl(msgpack)%{?_isa} +Requires: %{?scl_prefix}php-pecl(msgpack)%{?_isa} -Provides: php-%{pecl_name} = %{version} -Provides: php-%{pecl_name}%{?_isa} = %{version} -Provides: php-pecl(%{pecl_name}) = %{version} -Provides: php-pecl(%{pecl_name})%{?_isa} = %{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} %if 0%{?fedora} < 20 # Filter shared private @@ -64,6 +65,11 @@ supports multi package protocols (json, msgpack). mv %{pecl_name}-%{version} NTS cd NTS + +# Add shebang +sed -e 's: - 1.2.3-1 +- Update to 1.2.3 (stable) +- provides yar_debug command +- fix default options in comments +- adapt for SCL + * Tue Dec 31 2013 Remi Collet - 1.2.2-1 - Update to 1.2.2 (stable) -- cgit