summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-04 13:18:33 +0100
committerRemi Collet <remi@remirepo.net>2019-01-04 13:18:33 +0100
commit0007a8d112118cd1bfb2a605b3935ac86cdd71bd (patch)
treecc16bb0d5c763a94b912a9333dc4cd8cad18ef62
parent21065b1ef16b2d361dfc16985560ec0c1866ceb7 (diff)
cleanup for EL-8
-rw-r--r--php-horde-Horde-Mapi.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-horde-Horde-Mapi.spec b/php-horde-Horde-Mapi.spec
index ac2cb5e..815c5fa 100644
--- a/php-horde-Horde-Mapi.spec
+++ b/php-horde-Horde-Mapi.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-horde-Horde-Mapi
#
-# Copyright (c) 2014-2017 Remi Collet
+# Copyright (c) 2014-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -12,7 +12,7 @@
Name: php-horde-Horde-Mapi
Version: 1.0.8
-Release: 5%{?dist}
+Release: 8%{?dist}
Summary: MAPI utility library
Group: Development/Libraries
@@ -24,7 +24,7 @@ Patch0: 0001-fix-for-BigEndian.patch
# remirepo:3
# For test build on all available arch
-#global debug_package %{nil}
+#global debug_package %%{nil}
#global __debug_install_post /bin/true
BuildArch: noarch
BuildRequires: php(language) >= 5.3.0
@@ -34,7 +34,7 @@ BuildRequires: php-channel(%{pear_channel})
BuildRequires: php-bcmath
BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
BuildRequires: php-pear(%{pear_channel}/Horde_Date) >= 2.3.0
-%if 0%{?fedora} >= 26
+%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
BuildRequires: php-pear(Math_BigInteger)
%else
BuildRequires: php-pear(phpseclib.sourceforge.net/Math_BigInteger)
@@ -50,7 +50,7 @@ Requires: php-pear(%{pear_channel}/Horde_Date) >= 2.3.0
Requires: php-pear(%{pear_channel}/Horde_Date) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0
-%if 0%{?fedora} >= 26
+%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Requires: php-pear(Math_BigInteger)
%else
# Use phpseclib version instead of the one from pear
@@ -98,7 +98,7 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
ret=0
-for cmd in php php56 php70 php71 php72; do
+for cmd in php php56 php70 php71 php72 php73; do
if which $cmd; then
$cmd %{_bindir}/phpunit . || ret=1
fi
@@ -126,6 +126,9 @@ fi
%changelog
+* Fri Jan 4 2019 Remi Collet <remi@remirepo.net> - 1.0.8-8
+- cleanup for EL-8
+
* Mon Nov 13 2017 Remi Collet <remi@fedoraproject.org> - 1.0.8-5
- fix erratic FTBFS from Koschei, add fix for big endian from
https://github.com/horde/Mapi/pull/1