summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-20 08:05:02 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-20 08:05:02 +0200
commita934b04e135c202b26175cdead87329a1eee720f (patch)
tree0c308e27e5036296d061e42394271b574731057c
parent34361f0546b42b58273d57948a40c52f914a8917 (diff)
php-pecl-lzf: allow build against "rh-php56" (for more-php56)
-rw-r--r--php-pecl-lzf.spec25
1 files changed, 23 insertions, 2 deletions
diff --git a/php-pecl-lzf.spec b/php-pecl-lzf.spec
index 5e438af..4b5bcda 100644
--- a/php-pecl-lzf.spec
+++ b/php-pecl-lzf.spec
@@ -1,3 +1,21 @@
+# remirepo spec file for php-pecl-lzf
+# adapted for SCL, from
+#
+# Fedora spec file for php-pecl-lzf
+#
+# License: MIT
+# http://opensource.org/licenses/MIT
+#
+# 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-lzf}
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
%{!?__pecl: %global __pecl %{_bindir}/pecl}
@@ -12,9 +30,9 @@
%global ini_name 40-%{ext_name}.ini
%endif
-Name: %{?scl_prefix}php-pecl-lzf
+Name: %{?sub_prefix}php-pecl-lzf
Version: 1.6.3
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: Extension to handle LZF de/compression
Group: Development/Languages
License: PHP
@@ -215,6 +233,9 @@ fi
%changelog
+* Fri Jun 19 2015 Remi Collet <remi@fedoraproject.org> - 1.6.3-2
+- allow build against rh-php56 (as more-php56)
+
* Mon Apr 20 2015 Remi Collet <remi@fedoraproject.org> - 1.6.3-1
- update to 1.6.3