diff options
author | Remi Collet <remi@remirepo.net> | 2020-02-21 11:43:42 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-02-21 11:43:42 +0100 |
commit | 893d698148880b804275a72c2c71ec3c2e7c9a00 (patch) | |
tree | 23ae0599c6d0c2779161b2c9ebc9ea0d258ae08f /php-pecl-cmark.spec | |
parent | a6a15ea7d0e949e1fd20615305f7ff434a34a186 (diff) |
add upstream patch for test suitephp70
Diffstat (limited to 'php-pecl-cmark.spec')
-rw-r--r-- | php-pecl-cmark.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/php-pecl-cmark.spec b/php-pecl-cmark.spec index a4c7b6f..0479c5e 100644 --- a/php-pecl-cmark.spec +++ b/php-pecl-cmark.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-cmark # -# Copyright (c) 2018 Remi Collet +# Copyright (c) 2018-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -23,10 +23,12 @@ Summary: CommonMark extension Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.1.0 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +URL: https://pecl.php.net/package/%{pecl_name} +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz + +Patch0: https://github.com/krakjoe/cmark/commit/68dc8c677e43e8431f8a109a289d3a4c5195e0f3.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 @@ -94,6 +96,8 @@ sed -e '/tests/s/role="test"/role="src"/'\ -i package.xml cd NTS +%patch0 -p1 -b .up0 + # Sanity check, really often broken extver=$(sed -n '/define PHP_CMARK_VERSION/{s/.* "//;s/".*$//;p}' php_cmark.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -223,6 +227,9 @@ fi %changelog +* Fri Feb 21 2020 Remi Collet <remi@remirepo.net> - 1.1.0-4 +- add upstream patch for test suite + * Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 1.1.0-3 - rebuild for 7.3.0beta2 new ABI |