From b227c4cb7a03418ad8d4f4c66c7a59964cdf7e1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Jan 2019 10:17:25 +0100 Subject: cleanup for EL-8 --- php-pecl-apcu.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index 47e573b..2c091c0 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-apcu # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -39,7 +39,7 @@ Version: 4.0.11 Release: 0.1.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -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;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif Source1: %{pecl_name}.ini @@ -275,7 +275,7 @@ REPORT_EXIT_STATUS=1 \ rm -rf %{buildroot} -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -332,6 +332,9 @@ fi %changelog +* Mon Jan 21 2019 Remi Collet - 4.0.11-3 +- cleanup for EL-8 + * Wed May 4 2016 Remi Collet - 4.0.11-2 - always obsoletes apc -- cgit