diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-08-13 20:22:00 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-08-13 20:22:00 +0200 |
commit | 53a8608ffb38ce990579d2d48201f66474854c1d (patch) | |
tree | f0c80452b65bdf7f7ca9bd3500aa2c981a93a417 /php-pecl-cassandra.spec | |
parent | 2afe360d13136ef20b7840a617c57dd97d7f2131 (diff) |
php-pecl-cassandra: fix package name for more-php56
Diffstat (limited to 'php-pecl-cassandra.spec')
-rw-r--r-- | php-pecl-cassandra.spec | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/php-pecl-cassandra.spec b/php-pecl-cassandra.spec index 29cd96e..d049144 100644 --- a/php-pecl-cassandra.spec +++ b/php-pecl-cassandra.spec @@ -6,6 +6,14 @@ # # Please preserve 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-cassandra} %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %{!?__pecl: %global __pecl %{_bindir}/pecl} @@ -27,9 +35,9 @@ %endif Summary: DataStax PHP Driver for Apache Cassandra -Name: %{?scl_prefix}php-pecl-%{pecl_name} +Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.0 -Release: 0.1.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 0.2.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: ASL 2.0 Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -235,5 +243,8 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Aug 13 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.RC +- fix package name for more-php56 + * Thu Aug 13 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.1.RC - Initial package, version 1.0.0RC
\ No newline at end of file |