From 72f1fc768c6a4d1bfda72b7a0c88c25ad4ec6e17 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Sep 2015 10:49:23 +0200 Subject: php-pecl-newt: fix package name for more-php56 --- php-pecl-newt.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'php-pecl-newt.spec') diff --git a/php-pecl-newt.spec b/php-pecl-newt.spec index a90612c..c8cb019 100644 --- a/php-pecl-newt.spec +++ b/php-pecl-newt.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-newt} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} @@ -20,9 +28,9 @@ %endif Summary: Extension for Red Hat Newt window library -Name: %{?scl_prefix}php-pecl-%{pecl_name} +Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.2.9 -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} @@ -201,6 +209,9 @@ rm -rf %{buildroot} %changelog +* Tue Sep 15 2015 Remi Collet - 1.2.9-2 +- fix package name for more-php56 + * Sun Sep 13 2015 Remi Collet - 1.2.9-1 - Update to 1.2.9 (stable) - drop runtime dependency on pear, new scriptlets -- cgit