From dc10827b6792763cce8d79d9b270744d5af483f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 25 Aug 2019 08:35:33 +0200 Subject: add upstream patches for 7.4 --- php-pecl-uopz.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-uopz.spec') diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index 0658f5f..e5ffa2e 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -24,7 +24,7 @@ Summary: User Operations for Zend Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 6.1.0 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: http://pecl.php.net/package/%{pecl_name} %if 0%{?gh_commit:1} @@ -33,6 +33,9 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif +Patch0: https://github.com/krakjoe/uopz/commit/2b3ab9da097a07825e7f36ee400fa28b8d3ce8e1.patch +Patch1: https://github.com/krakjoe/uopz/commit/998a115360e9713c5d2da959dcde3ff49dc1a4fc.patch + BuildRequires: %{?scl_prefix}php-devel > 7.1 BuildRequires: %{?scl_prefix}php-pear @@ -121,6 +124,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .up1 +%patch1 -p1 -b .up2 # Sanity check, really often broken extver=$(sed -n '/#define PHP_UOPZ_VERSION/{s/.* "//;s/".*$//;p}' uopz.h) @@ -257,6 +262,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Sun Aug 25 2019 Remi Collet - 6.1.0-3 +- add upstream patches for 7.4 + * Wed May 29 2019 Remi Collet - 6.1.0-2 - rebuild -- cgit