From 39282f5dd1cffb463b22c3aba85740e8bf7698e7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Apr 2014 10:08:10 +0200 Subject: php-pecl: add numerical prefix to extension configuration file --- php-pecl-igbinary.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'php-pecl-igbinary.spec') diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index d535334..3e98f17 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -16,12 +16,17 @@ %global commit c35d48f3d14794373b2ef89a6d79020bb7418d7f %global short %(c=%{commit}; echo ${c:0:7}) %global prever -dev +%if "%{php_version}" < "5.6" +%global ini_name %{extname}.ini +%else +%global ini_name 40-%{extname}.ini +%endif Summary: Replacement for the standard PHP serializer Name: %{?scl_prefix}php-pecl-igbinary Version: 1.1.2 %if 0%{?short:1} -Release: 0.9.git%{short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 0.10.git%{short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: https://github.com/%{extname}/%{extname}/archive/%{commit}/%{extname}-%{version}-%{short}.tar.gz %else Release: 2%{?dist} @@ -127,7 +132,7 @@ cd .. cp -r %{extname}-%{version} %{extname}-%{version}-zts %endif -cat < - 1.1.2-0.10.git3b8ab7e +- add numerical prefix to extension configuration file + * Wed Mar 19 2014 Remi Collet - 1.1.2-0.9.git3b8ab7e - fix SCL dependencies -- cgit