From 1cccfbf241a6136884f16e17f99e5940fed9c898 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Feb 2020 13:27:35 +0100 Subject: update to 1.1.0 add patch for libcurl detection from https://github.com/scoutapp/scout-apm-php-ext/pull/62 --- php-pecl-scoutapm.spec | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'php-pecl-scoutapm.spec') diff --git a/php-pecl-scoutapm.spec b/php-pecl-scoutapm.spec index bd60786..397b7ba 100644 --- a/php-pecl-scoutapm.spec +++ b/php-pecl-scoutapm.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-scoutapm # -# Copyright (c) 2019 Remi Collet +# Copyright (c) 2019-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -17,11 +17,13 @@ Summary: Native Extension Component for ScoutAPM's PHP Agent Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.1 +Version: 1.1.0 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz License: PHP -URL: http://pecl.php.net/package/%{pecl_name} +URL: https://pecl.php.net/package/%{pecl_name} + +Patch0: https://patch-diff.githubusercontent.com/raw/scoutapp/scout-apm-php-ext/pull/62.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7.1 @@ -47,10 +49,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} @@ -89,6 +87,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml pushd NTS +%patch0 -p1 -b .pr62 + : Check version extver=$(sed -n '/#define PHP_SCOUTAPM_VERSION /{s/.* "//;s/".*$//;p}' zend_scoutapm.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -221,6 +221,14 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \ %changelog +* Wed Feb 19 2020 Remi Collet - 1.1.0-1 +- update to 1.1.0 +- add patch for libcurl detection from + https://github.com/scoutapp/scout-apm-php-ext/pull/62 + +* Tue Nov 26 2019 Remi Collet - 1.0.2-1 +- update to 1.0.2 + * Wed Nov 6 2019 Remi Collet - 1.0.1-1 - update to 1.0.1 -- cgit