diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-11-16 14:05:21 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-11-16 14:05:21 +0100 |
commit | 1658693069ed28cc4883ea705553f514281d5978 (patch) | |
tree | 2a00bf9f03b240c2688603f06575417e4d947c0e /php-pecl-crypto.spec | |
parent | 4789ddc8fac3a12dccaa2013ebc9f67317d00f04 (diff) |
php-pecl-crypto: fix for rh-php56 build
Diffstat (limited to 'php-pecl-crypto.spec')
-rw-r--r-- | php-pecl-crypto.spec | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/php-pecl-crypto.spec b/php-pecl-crypto.spec index 07def8f..dcf8f5e 100644 --- a/php-pecl-crypto.spec +++ b/php-pecl-crypto.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-crypto} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} @@ -21,7 +29,7 @@ %endif Summary: Wrapper for OpenSSL Crypto Library -Name: %{?scl_prefix}php-pecl-%{pecl_name} +Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 0.2.1 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD @@ -235,6 +243,7 @@ rm -rf %{buildroot} - drop runtime dependency on pear, new scriptlets - improve skip check for CCM test when not available open https://github.com/bukka/php-crypto/pull/13 +- allow to build as more-php56 for rh-php56 * Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 0.1.1-3.1 - Fedora 21 SCL mass rebuild |