diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-29 12:28:13 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-29 12:28:13 +0200 |
commit | 0fd1a18e85baa301ddf0a577a7e79f1feb685140 (patch) | |
tree | f0d08245662db3ca4ad14fbf8683eae426402f15 /php-pecl-yaml.spec | |
parent | d681eb3b7396c1f31116bdac21f57f051566ac30 (diff) |
add upstream patch to fix FTBFS with 7.1.4RC1, reported by Koschei
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r-- | php-pecl-yaml.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec index b498b05..a51a71d 100644 --- a/php-pecl-yaml.spec +++ b/php-pecl-yaml.spec @@ -22,13 +22,15 @@ Summary: PHP Bindings for yaml Name: %{?sub_prefix}php-pecl-yaml Version: 2.0.0 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages URL: http://pecl.php.net/package/yaml Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +Patch0: f220c0400bd1875879da58788187774a04430ecb.patch + BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: libyaml-devel @@ -90,6 +92,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .upstream + # Check upstream version (often broken) extver=$(sed -n '/#define PHP_YAML_VERSION/{s/.* "//;s/".*$//;p}' php_yaml.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -234,6 +238,9 @@ fi %changelog +* Wed Mar 29 2017 Remi Collet <remi@fedoraproject.org> - 2.0.0-3 +- add upstream patch to fix FTBFS with 7.1.4RC1, reported by Koschei + * Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 2.0.0-2 - rebuild with PHP 7.1.0 GA |