summaryrefslogtreecommitdiffstats
path: root/php-pecl-oauth.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-oauth.spec')
-rw-r--r--php-pecl-oauth.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index dc31488..15a77f3 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -21,13 +21,14 @@
Name: %{?scl_prefix}php-pecl-oauth
Version: 2.0.7
-Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP OAuth consumer extension
License: BSD
URL: https://pecl.php.net/package/oauth
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: %{pecl_name}-php82.patch
+Patch0: %{pecl_name}-pcre.patch
+Patch1: %{pecl_name}-php82.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -90,7 +91,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .pr24
+%patch0 -p1 -b .up
+%patch1 -p1 -b .pr24
#sed -e '/PHP_OAUTH_VERSION/s/2.0.3-dev/2.0.3/' -i php_oauth.h
# Sanity check, really often broken
@@ -211,6 +213,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Sep 20 2022 Remi Collet <remi@remirepo.net> - 2.0.7-7
+- drop unneeded build dependency on pcre #2128353
+
* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 2.0.7-6
- add patch for PHP 8.2 from
https://github.com/php/pecl-web_services-oauth/pull/24