summaryrefslogtreecommitdiffstats
path: root/php-pecl-yaz.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-29 09:10:27 +0200
committerRemi Collet <remi@php.net>2022-08-29 09:10:27 +0200
commitcae9dcee4bd61942192b4be078b33b04b5123d6d (patch)
tree92426cf271faff246bf90fb38065106a20089236 /php-pecl-yaz.spec
parent7dcda0d5d4d46112fc400dd6930250ab47482f3a (diff)
update to 1.2.4HEADmaster
Diffstat (limited to 'php-pecl-yaz.spec')
-rw-r--r--php-pecl-yaz.spec21
1 files changed, 7 insertions, 14 deletions
diff --git a/php-pecl-yaz.spec b/php-pecl-yaz.spec
index 97f75f3..f3db40e 100644
--- a/php-pecl-yaz.spec
+++ b/php-pecl-yaz.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-yaz
#
-# Copyright (c) 2014-2020 Remi Collet
+# Copyright (c) 2014-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -25,16 +25,14 @@
Summary: Z39.50/SRU client
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.3
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 1.2.4
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# Upstream patches
-Patch0: %{pecl_name}-php8.patch
-
BuildRequires: %{?dtsprefix}gcc
+BuildRequires: make
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: libyaz-devel >= 3.0.2
@@ -69,12 +67,6 @@ Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
This extension implements a Z39.50/SRU client for PHP using the
@@ -99,8 +91,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .up
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_YAZ_VERSION/{s/.* "//;s/".*$//;p}' php_yaz.h)
if test "x${extver}" != "x%{version}"; then
@@ -237,6 +227,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Aug 29 2022 Remi Collet <remi@remirepo.net> - 1.2.4-1
+- update to 1.2.4
+
* Thu Oct 1 2020 Remi Collet <remi@remirepo.net> - 1.2.3-4
- add upstream patches for PHP 8