summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 10:17:25 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 10:17:25 +0100
commitb227c4cb7a03418ad8d4f4c66c7a59964cdf7e1d (patch)
tree81ff00169e7c699c207fc4ccefb90ed2a92e1e5c
parent00318021d06fc4efdd95492c49ab4b7c443f9a7c (diff)
cleanup for EL-8php5
-rw-r--r--php-pecl-apcu.spec9
1 files 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 <remi@fedoraproject.org> - 4.0.11-3
+- cleanup for EL-8
+
* Wed May 4 2016 Remi Collet <remi@fedoraproject.org> - 4.0.11-2
- always obsoletes apc