diff options
author | Remi Collet <remi@remirepo.net> | 2022-02-22 13:56:18 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-02-22 13:56:18 +0100 |
commit | 0871797de74230cc2e11488e9f71548d79d9b747 (patch) | |
tree | 2e2cb80f4efd39edae9f66c284c52a144fed43da /php-pecl-yaml.spec | |
parent | e720874e29fad9b89b86c75bbdc1a6ea2d73afeb (diff) |
fix gh#65 yaml_parse_url method not working using patch from
https://github.com/php/pecl-file_formats-yaml/pull/66
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r-- | php-pecl-yaml.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec index 10770c2..25a47f0 100644 --- a/php-pecl-yaml.spec +++ b/php-pecl-yaml.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-yaml # -# Copyright (c) 2012-2021 Remi Collet +# Copyright (c) 2012-2022 Remi Collet # Fedora spec file for php-pecl-yaml # @@ -24,12 +24,14 @@ Summary: PHP Bindings for yaml Name: %{?sub_prefix}php-pecl-yaml Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?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: %{pecl_name}-pr66.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.1 @@ -90,6 +92,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .pr66 + # 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 @@ -233,6 +237,10 @@ fi %changelog +* Tue Feb 22 2022 Remi Collet <remi@remirepo.net> - 2.2.2-2 +- fix gh#65 yaml_parse_url method not working using patch from + https://github.com/php/pecl-file_formats-yaml/pull/66 + * Mon Oct 25 2021 Remi Collet <remi@remirepo.net> - 2.2.2-1 - update to 2.2.2 - drop patch merged upstream |