diff options
| -rw-r--r-- | php-pecl-gender.spec | 19 | 
1 files changed, 16 insertions, 3 deletions
diff --git a/php-pecl-gender.spec b/php-pecl-gender.spec index cfec815..fc3d673 100644 --- a/php-pecl-gender.spec +++ b/php-pecl-gender.spec @@ -1,4 +1,4 @@ -# spec file for php-pecl-gender +# remirepo spec file for php-pecl-gender  #  # Copyright (c) 2015 Remi Collet  # License: CC-BY-SA @@ -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-gender}  %{!?php_inidir:  %global php_inidir  %{_sysconfdir}/php.d}  %{!?__pecl:      %global __pecl      %{_bindir}/pecl} @@ -21,9 +29,9 @@  %endif  Summary:        Gender Extension -Name:           %{?scl_prefix}php-pecl-%{pecl_name} +Name:           %{?sub_prefix}php-pecl-%{pecl_name}  Version:        1.1.0 -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;')}}  # Code is BSD, nam_dict.txt is GFDL  License:        BSD and GFDL  Group:          Development/Languages @@ -72,6 +80,8 @@ by Joerg Michael. The main purpose is to find out the gender of firstnames.  The name dictionary contains >40000 firstnames from 54 countries. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. +  %prep  %setup -q -c @@ -216,5 +226,8 @@ rm -rf %{buildroot}  %changelog +* Wed Jun 24 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-2 +- allow build against rh-php56 (as more-php56) +  * Sat Feb 14 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-1  - initial package, version 1.1.0 (stable)
\ No newline at end of file  | 
