From 647c7b583eb29b238d37b035eb70d4a4d212ee1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Apr 2021 08:19:44 +0200 Subject: update to 2.0.2 --- php-pecl-rrd.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'php-pecl-rrd.spec') diff --git a/php-pecl-rrd.spec b/php-pecl-rrd.spec index 4161816..a8bf072 100644 --- a/php-pecl-rrd.spec +++ b/php-pecl-rrd.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-rrd # -# Copyright (c) 2011-2020 Remi Collet +# Copyright (c) 2011-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -22,18 +22,16 @@ Summary: PHP Bindings for rrdtool Name: %{?scl_prefix}php-pecl-rrd -Version: 2.0.1 -Release: 9%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.0.2 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/rrd Source: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -# https://svn.php.net/viewvc?view=revision&revision=350618 -Patch0: %{pecl_name}-php8.patch - +BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 7 +BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: rrdtool BuildRequires: pkgconfig(librrd) >= 1.3.0 BuildRequires: %{?scl_prefix}php-pear @@ -66,12 +64,6 @@ Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif %endif -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter shared private -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - %description Procedural and simple OO wrapper for rrdtool - data logging and graphing @@ -91,8 +83,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p3 -b .up - # Sanity check, really often broken extver=$(sed -n '/#define PHP_RRD_VERSION/{s/.* "//;s/".*$//;p}' php_rrd.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -220,6 +210,9 @@ fi %changelog +* Mon Apr 19 2021 Remi Collet - 2.0.2-1 +- update to 2.0.2 + * Wed Sep 30 2020 Remi Collet - 2.0.1-9 - rebuild for PHP 8.0.0RC1 -- cgit