summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-mongo.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec
index bed122c..b75ce40 100644
--- a/php-pecl-mongo.spec
+++ b/php-pecl-mongo.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-mongo
#
-# Copyright (c) 2014-2017 Remi Collet
+# Copyright (c) 2014-2019 Remi Collet
# Copyright (c) 2010-2013 Christof Damian
#
# License: MIT
@@ -33,7 +33,7 @@
Summary: PHP MongoDB database driver
Name: %{?scl_prefix}php-pecl-mongo
Version: 1.6.16
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: ASL 2.0
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -158,7 +158,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-%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
@@ -244,6 +244,9 @@ rm -rf data
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 1.6.16-2
+- cleanup for EL-8
+
* Tue Sep 5 2017 Remi Collet <remi@remirepo.net> - 1.6.16-1
- Update to 1.6.16
- drop patch merged upstream