summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 13:19:35 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 13:19:35 +0100
commit4bfb356aba523deb31a3c209bf54bad3fe473053 (patch)
treee7a9cfd57348b8daa47b1d4ee9c797d3ade5dc24
parenta06a69b9ec324c036b08535bb5fd5f07fc28e67f (diff)
cleanup for EL-8
-rw-r--r--php-pecl-gmagick.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-gmagick.spec b/php-pecl-gmagick.spec
index 00a5aae..222952c 100644
--- a/php-pecl-gmagick.spec
+++ b/php-pecl-gmagick.spec
@@ -1,6 +1,6 @@
# spec file for php-pecl-gmagick
#
-# Copyright (c) 2010-2017 Remi Collet
+# Copyright (c) 2010-2019 Remi Collet
# Copyright (c) 2009-2010 Pavel Alexeev
# License: MIT
# http://opensource.org/licenses/MIT
@@ -16,7 +16,7 @@
Summary: Provides a wrapper to the GraphicsMagick library
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.1.7
-Release: 0.8.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.9.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Libraries
URL: http://pecl.php.net/package/%{pecl_name}
@@ -145,7 +145,7 @@ done
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
@@ -166,7 +166,7 @@ fi
%check
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# see https://bugzilla.redhat.com/1530057
rm ?TS/tests/gmagick-006-annotateimage.phpt
rm ?TS/tests/gmagickdraw-003-annotate.phpt
@@ -215,6 +215,9 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so"
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@fedoraproject.org> - 1.1.7-0.9.RC3
+- cleanup for EL-8
+
* Fri Aug 24 2018 Remi Collet <remi@fedoraproject.org> - 1.1.7-0.8.RC3
- cleanup for F29