From c87f8d00affc117cc455c2624bf194d3674b74be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Nov 2025 08:58:56 +0100 Subject: update to 2.3.0 drop patch merged upstream --- php-pecl-yaml.spec | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'php-pecl-yaml.spec') diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec index c3c9b91..a514d39 100644 --- a/php-pecl-yaml.spec +++ b/php-pecl-yaml.spec @@ -15,9 +15,11 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name yaml +%global pie_vend pecl +%global pie_proj yaml %global ini_name 40-%{pecl_name}.ini -%global upstream_version 2.2.5 +%global upstream_version 2.3.0 #global upstream_prever b2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -25,14 +27,12 @@ Summary: PHP Bindings for yaml Name: %{?scl_prefix}php-pecl-yaml Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT URL: https://pecl.php.net/package/yaml Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz -Patch0: https://patch-diff.githubusercontent.com/raw/php/pecl-file_formats-yaml/pull/95.patch - ExcludeArch: %{ix86} BuildRequires: make @@ -44,10 +44,14 @@ BuildRequires: libyaml-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} -Provides: %{?scl_prefix}php-%{pecl_name} = %{version} -Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# Extension +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} +# PIE +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} %description @@ -68,8 +72,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} -%patch -P0 -p1 - # Check upstream version (often broken) extver=$(sed -n '/#define PHP_YAML_VERSION/{s/.* "//;s/".*$//;p}' php_yaml.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -201,6 +203,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Nov 12 2025 Remi Collet - 2.3.0-1 +- update to 2.3.0 +- drop patch merged upstream + * Sat Sep 27 2025 Remi Collet - 2.2.5-3 - add patch for PHP 8.5.0RC1 from https://github.com/php/pecl-file_formats-yaml/pull/95 -- cgit