summaryrefslogtreecommitdiffstats
path: root/php-pecl-msgpack-dev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-msgpack-dev.spec')
-rw-r--r--php-pecl-msgpack-dev.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php-pecl-msgpack-dev.spec b/php-pecl-msgpack-dev.spec
index 99230d4..1294b38 100644
--- a/php-pecl-msgpack-dev.spec
+++ b/php-pecl-msgpack-dev.spec
@@ -9,6 +9,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-msgpack}
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
%{!?__pecl: %global __pecl %{_bindir}/pecl}
@@ -34,10 +42,10 @@
%endif
Summary: API for communicating with MessagePack serialization
-Name: %{?scl_prefix}php-pecl-msgpack
+Name: %{?sub_prefix}php-pecl-msgpack
Version: 0.5.7
%if 0%{?gh_date:1}
-Release: 0.1.%{gh_date}git%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 0.2.%{gh_date}git%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
%else
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
%endif
@@ -106,7 +114,7 @@ a perfect replacement.
This extension is still EXPERIMENTAL.
-Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}.
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}.
%package devel
@@ -281,6 +289,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Jun 20 2015 Remi Collet <remi@fedoraproject.org> - 0.5.7-0.2.20150612git95c8dc3
+- allow build against rh-php56 (as more-php56)
+
* Fri Jun 12 2015 Remi Collet <remi@fedoraproject.org> - 0.5.7-0.1.20150612git95c8dc3
- update to 0.5.7dev for PHP 7
- sources from github