From f1b08eebdfe2f14630e2709f7204fe3320f1f682 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Apr 2014 19:33:42 +0200 Subject: php-pecl: add numerical prefix to extension configuration file (4) --- php-pecl-gearman.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec index 12f08b6..a06c0bf 100644 --- a/php-pecl-gearman.spec +++ b/php-pecl-gearman.spec @@ -15,6 +15,11 @@ %global pecl_name gearman %global with_zts 0%{?__ztsphp:1} +%if "%{php_version}" < "5.6" +%global ini_name %{pecl_name}.ini +%else +%global ini_name 40-%{pecl_name}.ini +%endif %if 0%{?fedora} >= 12 && 0%{?fedora} <= 15 %global extver 0.8.3 @@ -32,7 +37,7 @@ Name: %{?scl_prefix}php-pecl-gearman Version: %{extver} -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: PHP wrapper to libgearman Group: Development/Tools @@ -95,7 +100,7 @@ if test "x${extver}" != "x%{version}"; then exit 1 fi -cat >%{pecl_name}.ini <%{ini_name} < - 1.1.2-4 +- add numerical prefix to extension configuration file + * Wed Mar 19 2014 Remi Collet - 1.1.2-3 - allow SCL build -- cgit