From 9cb195e375299528988bea897a362ec351368761 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Mar 2018 10:57:11 +0100 Subject: update to 10.2.0 (Mar 7, 2018) --- php-ioncube-loader.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'php-ioncube-loader.spec') diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec index 8c14b31..756386b 100644 --- a/php-ioncube-loader.spec +++ b/php-ioncube-loader.spec @@ -10,7 +10,7 @@ %global extname ioncube_loader %global debug_package %{nil} %global __debug_install_post /bin/true -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 %global _build_id_links none %endif %ifarch armv7hl @@ -30,16 +30,16 @@ Name: %{?scl_prefix}php-ioncube-loader Summary: Loader for ionCube Encoded Files with ionCube 24 support -Version: 10.1.1 +Version: 10.2.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: Distribuable -Group: Development/Languages URL: http://www.ioncube.com Source0: http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_x86_%{version}.tar.gz Source1: http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_x86-64_%{version}.tar.gz Source2: http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_armv7l_%{version}.tar.gz Source3: LICENSE.txt +Source4: USER-GUIDE.txt BuildRequires: %{?scl_prefix}php-devel @@ -70,6 +70,10 @@ Obsoletes: php70w-ioncube-loader <= %{version} Obsoletes: php71u-ioncube-loader <= %{version} Obsoletes: php71w-ioncube-loader <= %{version} %endif +%if "%{php_version}" > "7.1" +Obsoletes: php72u-ioncube-loader <= %{version} +Obsoletes: php72w-ioncube-loader <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -101,7 +105,8 @@ tar xvf %{SOURCE0} # Drop in the bit of configuration # Sometime file is missing # http://forum.ioncube.com/viewtopic.php?t=4245 -[ -f ioncube/LICENSE.txt ] || cp %{SOURCE3} ioncube/ +[ -f ioncube/LICENSE.txt ] || cp %{SOURCE3} ioncube/ +[ -f ioncube/USER-GUIDE.txt ] || cp %{SOURCE4} ioncube/ sed -e 's/\r//' -i ioncube/*.txt cat << 'EOF' | tee %{extname}.nts @@ -196,6 +201,9 @@ install -D -m 644 %{extname}.zts %{buildroot}%{php_ztsinid %changelog +* Thu Mar 8 2018 Remi Collet - 10.2.0-1 +- update to 10.2.0 (Mar 7, 2018) + * Thu Jan 18 2018 Remi Collet - 10.1.1-1 - update to 10.1.1 (Jan 17, 2018) -- cgit