diff options
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 2 | ||||
| -rw-r--r-- | composer.json | 23 | ||||
| -rw-r--r-- | php-pecl-oauth.spec | 26 |
4 files changed, 44 insertions, 9 deletions
@@ -6,4 +6,4 @@ PLAINTEXT support => enabled RSA-SHA1 support => enabled HMAC-SHA1 support => enabled Request engine support => php_streams, curl -version => 2.0.10 +version => 2.0.12 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #105 OAuth version 2.0.10 ] { +Extension [ <persistent> extension #104 OAuth version 2.0.12 ] { - Constants [32] { Constant [ <persistent> string OAUTH_SIG_METHOD_HMACSHA1 ] { HMAC-SHA1 } diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..fa2e8bf --- /dev/null +++ b/composer.json @@ -0,0 +1,23 @@ +{ + "name": "pecl/oauth", + "type": "php-ext", + "description": "OAuth 1.0 consumer and provider extension", + "license": "BSD-3-Clause", + "require": { + "php": ">=7.1.0", + "ext-hash": "*" + }, + "php-ext": { + "extension-name": "oauth", + "configure-options": [ + { + "name": "enable-oauth", + "description": "Include oauth support" + }, + { + "name": "without-curl", + "description": "Ignore presence of cURL and disable it" + } + ] + } +} diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec index 40560b1..4a880e6 100644 --- a/php-pecl-oauth.spec +++ b/php-pecl-oauth.spec @@ -14,6 +14,8 @@ %{?scl:%scl_package php-pecl-oauth} %global pecl_name oauth +%global pie_vend pecl +%global pie_proj %{pecl_name} %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global sources %{gh_proj}-%{version} @@ -28,8 +30,8 @@ Name: %{?scl_prefix}php-pecl-oauth Summary: PHP OAuth consumer extension License: BSD-3-Clause -Version: 2.0.10 -Release: 2%{?dist} +Version: 2.0.12 +Release: 1%{?dist} %forgemeta URL: %{forgeurl} Source0: %{forgesource} @@ -44,12 +46,14 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} # Extension -Provides: %{?scl_prefix}php-%{pecl_name} = %{version} -Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} # PECL -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -# No PIE for now +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# PIE +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %description @@ -159,6 +163,14 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 2.0.12-1 +- update to 2.0.12 +- add pie virtual provides + +* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 2.0.11-1 +- update to 2.0.11 +- open https://github.com/php/pecl-web_services-oauth/issues/41 Please drop .gitattributes + * Thu Mar 26 2026 Remi Collet <remi@remirepo.net> - 2.0.10-2 - drop pear/pecl dependency - sources from github |
