From d4a4307d3ee7034873a225cc640a06da832e7f3b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 19 Jun 2015 19:21:44 +0200 Subject: php-pecl-uuid: allow build against "rh-php56" (for more-php56) --- php-pecl-uuid.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'php-pecl-uuid.spec') diff --git a/php-pecl-uuid.spec b/php-pecl-uuid.spec index 9caafb9..e838da9 100644 --- a/php-pecl-uuid.spec +++ b/php-pecl-uuid.spec @@ -1,4 +1,7 @@ -# spec file for php-pecl-uuid +# remirepo spec file for php-pecl-uuid +# with SCL stuff, from: +# +# Fedora spec file for php-pecl-uuid # # Copyright (c) 2012-2015 Remi Collet # License: CC-BY-SA @@ -6,6 +9,14 @@ # # Please, preserve the changelog entries # +%if 0%{?scl:1} +%if "%{scl}" == "rh-php56" +%global sub_prefix more-php56- +%else +%global sub_prefix %{?scl_prefix} +%endif +%endif + %{?scl: %scl_package php-pecl-uuid} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} @@ -21,9 +32,9 @@ #global prever RC1 Summary: Universally Unique Identifier extension for PHP -Name: %{?scl_prefix}php-pecl-uuid +Name: %{?sub_prefix}php-pecl-uuid Version: 1.0.4 -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: LGPLv2+ Group: Development/Languages URL: http://pecl.php.net/package/uuid @@ -210,6 +221,9 @@ rm -rf %{buildroot} %changelog +* Fri Jun 19 2015 Remi Collet - 1.0.4-2 +- allow build against rh-php56 (as more-php56) + * Fri May 8 2015 Remi Collet - 1.0.4-1 - update to 1.0.4 (no change since RC) -- cgit