public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-pecl-oauth] epel10: v2.0.13
Date: Fri, 19 Jun 2026 07:42:41 GMT [thread overview]
Message-ID: <178185496154.1.12735692539993051433.rpms-php-pecl-oauth-d20264120749@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-pecl-oauth
Branch : epel10
Commit : d202641207496bc5f90c1a85e3844c8345b1bb4b
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-06-19T09:42:33+02:00
Stats : +35/-25 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-pecl-oauth/c/d202641207496bc5f90c1a85e3844c8345b1bb4b?branch=epel10
Log:
v2.0.13
(cherry picked from commit f9cc1f41b34c3f264474be5a7d6e73c9049f995e)
---
diff --git a/.gitignore b/.gitignore
index 857e0de..312f9db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,6 @@ clog
/oauth-2.0.7.tgz
/oauth-2.0.9.tgz
/oauth-2.0.10.tgz
+/pecl-web_services-oauth-2.0.10.tar.gz
+/pecl-web_services-oauth-2.0.12.tar.gz
+/pecl-web_services-oauth-2.0.13.tar.gz
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index 4a8d731..a091a5e 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -1,23 +1,31 @@
%bcond_without tests
%global pecl_name oauth
+%global pie_vend pecl
+%global pie_proj %{pecl_name}
%global ini_name 40-%{pecl_name}.ini
-%global sources %{pecl_name}-%{version}
+
+# Github forge
+%global gh_vend php
+%global gh_proj pecl-web_services-oauth
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+%global tag %{version}
Name: php-pecl-oauth
-Version: 2.0.10
-Release: 1%{?dist}
Summary: PHP OAuth consumer extension
License: BSD-3-Clause
-URL: https://pecl.php.net/package/oauth
-Source0: https://pecl.php.net/get/%{sources}.tgz
+Version: 2.0.13
+Release: 1%{?dist}
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
ExcludeArch: %{ix86}
BuildRequires: make
BuildRequires: gcc
-BuildRequires: php-devel
-BuildRequires: php-pear
+# Ensure default PHP 8.3 on EPEL-10
+BuildRequires:(php-devel >= 8.3 with php-devel < 8.4)
%if %{with tests}
BuildRequires: php-posix
%endif
@@ -26,10 +34,15 @@ BuildRequires: libcurl-devel
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
+# PECL
Provides: php-pecl(%{pecl_name}) = %{version}
Provides: php-pecl(%{pecl_name})%{_isa} = %{version}
+# Extension
Provides: php-%{pecl_name} = %{version}
Provides: php-%{pecl_name}%{_isa} = %{version}
+# PIE
+Provides: php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -39,7 +52,7 @@ user names and passwords.
%prep
-%setup -q -c
+%forgesetup
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
@@ -47,14 +60,12 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
-cd %{sources}
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_OAUTH_VERSION/{s/.* //;s/".*$//;p}' php_oauth.h)
if test "x${extver}" != "x%{version}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}.
exit 1
fi
-cd ..
cat >%{ini_name} << 'EOF'
; Enable %{pecl_name} extension module
@@ -63,7 +74,6 @@ EOF
%build
-cd %{sources}
%{__phpize}
sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
@@ -76,18 +86,9 @@ sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
: Drop in the bit of configuration
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
-: Install XML package description
-install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
-
-cd %{sources}
: Install the extension
%make_install
-: Install Documentation
-for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
-done
-
%check
: Minimal load test for the extension
@@ -96,7 +97,6 @@ done
--modules | grep '^OAuth$'
%if %{with tests}
-cd %{sources}
# Ignore know as failing
rm tests/rsa.phpt
@@ -107,15 +107,22 @@ TEST_PHP_ARGS="-n -d extension=posix.so -d extension=%{buildroot}%{php_extdir}/%
%files
-%license %{sources}/LICENSE
-%doc %{pecl_docdir}/%{pecl_name}
-%{pecl_xmldir}/%{name}.xml
+%license LICENSE
+%doc composer.json
+%doc *.md
+%doc examples
%config(noreplace) %{_sysconfdir}/php.d/%{ini_name}
%{php_extdir}/%{pecl_name}.so
%changelog
+* Fri Jun 19 2026 Remi Collet <remi@remirepo.net> - 2.0.13-1
+- update to 2.0.13
+- add pie virtual provides
+- drop pear/pecl dependency
+- sources from github
+
* Fri Oct 10 2025 Remi Collet <remi@remirepo.net> - 2.0.10-1
- update to 2.0.10
diff --git a/sources b/sources
index fc97ed4..560fa53 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (oauth-2.0.10.tgz) = 288d03eca7c295f65004023366ccc3e9dc9016a59bf86e16decabf12c36c361e5f12e550fc2d3e16ef2061ac948035456d16989595f42d239308bc39435e94e9
+SHA512 (pecl-web_services-oauth-2.0.13.tar.gz) = 6f4c27dac1fcdb5063b26a038ef079a1f8772bd233c38fcee0927545f7e3efc1b823677bf2e49347da26b7876c6834f171bd462f4c66049e9c5a79a84566ec02
reply other threads:[~2026-06-19 7:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178185496154.1.12735692539993051433.rpms-php-pecl-oauth-d20264120749@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox