From a593893403807cf0f3bb3e260325d7e08626e7d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jun 2015 10:26:58 +0200 Subject: php-pecl-varnish: rebuild for "rh_layout" + "rh-php56" --- php-pecl-varnish.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/php-pecl-varnish.spec b/php-pecl-varnish.spec index 9507bad..1e14214 100644 --- a/php-pecl-varnish.spec +++ b/php-pecl-varnish.spec @@ -6,6 +6,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-varnish} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} @@ -21,9 +29,9 @@ %endif Summary: Varnish Cache bindings -Name: %{?scl_prefix}php-pecl-%{pecl_name} +Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.2.1 -Release: 1%{?dist}%{!?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: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -77,6 +85,8 @@ Varnish Cache is an open source, state of the art web application accelerator. The extension makes it possible to interact with a running varnish instance through TCP socket or shared memory. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. + %prep %setup -q -c @@ -269,6 +279,10 @@ rm -rf %{buildroot} %changelog +* Wed Jun 24 2015 Remi Collet - 1.2.1-2 +- allow build against rh-php56 (as more-php56) +- rebuild for "rh_layout" (php70) + * Sat Feb 14 2015 Remi Collet - 1.2.1-1 - Update to 1.2.1 -- cgit