summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-yaz.spec20
2 files changed, 18 insertions, 4 deletions
diff --git a/REFLECTION b/REFLECTION
index c0ddd6d..b9ad174 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #189 yaz version 1.2.0 ] {
+Extension [ <persistent> extension #130 yaz version 1.2.1 ] {
- INI {
Entry [ yaz.max_links <ALL> ]
diff --git a/php-pecl-yaz.spec b/php-pecl-yaz.spec
index 2e47384..923840d 100644
--- a/php-pecl-yaz.spec
+++ b/php-pecl-yaz.spec
@@ -6,7 +6,14 @@
#
# Please, preserve the changelog entries
#
-%{?scl: %scl_package php-pecl-yaz}
+%if 0%{?scl:1}
+%if "%{scl}" == "rh-php56"
+%global sub_prefix more-php56-
+%else
+%global sub_prefix %{scl_prefix}
+%endif
+%scl_package php-pecl-yaz
+%endif
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name yaz
@@ -19,8 +26,8 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Summary: Z39.50/SRU client
-Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.2.0
+Name: %{?sub_prefix}php-pecl-%{pecl_name}
+Version: 1.2.1
Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: BSD
Group: Development/Languages
@@ -67,6 +74,10 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.1"
+Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -231,6 +242,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Aug 12 2016 Remi Collet <remi@fedoraproject.org> - 1.2.1-1
+- Update to 1.2.1
+
* Tue Mar 22 2016 Remi Collet <remi@fedoraproject.org> - 1.2.0-1
- Update to 1.2.0