From 5c0ff5cf7855dca071df6cc1a965c318e8a8e686 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 27 Feb 2020 12:47:25 +0100
Subject: update to 10.4.0-beta1 for PHP 7.4 (Feb 27, 2020)

---
 php-ioncube-loader.spec | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec
index c4f8334..ab1c494 100644
--- a/php-ioncube-loader.spec
+++ b/php-ioncube-loader.spec
@@ -1,6 +1,6 @@
 # remirepo spec file for php-ioncube-loader
 #
-# Copyright (c) 2012-2019 Remi Collet
+# Copyright (c) 2012-2020 Remi Collet
 # License: CC-BY-SA
 # http://creativecommons.org/licenses/by-sa/4.0/
 #
@@ -30,16 +30,16 @@
 
 Name:          %{?scl_prefix}php-ioncube-loader
 Summary:       Loader for ionCube Encoded Files with ionCube 24 support
-%global upstream_version  10.3.9
-#global upstream_prever   beta
+%global upstream_version  10.4.0
+%global upstream_prever   beta1
 Version:       %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
 Release:       1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
 License:       Distribuable
 
 URL:           http://www.ioncube.com
 %if 0%{?upstream_prever:1}
-Source0:       ioncube_loaders_lin_x86_7.3_BETA.tar.gz
-Source1:       ioncube_loaders_lin_x86-64_7.3_BETA.tar.gz
+Source0:       https://www.ioncube.com/php-7.4.0-beta-loaders/ioncube_loaders_lin_x86_7.4_BETA1.tar.gz
+Source1:       https://www.ioncube.com/php-7.4.0-beta-loaders/ioncube_loaders_lin_x86-64_7.4_BETA1.tar.gz
 %else
 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
@@ -48,7 +48,7 @@ Source2:       http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_ar
 Source3:       LICENSE.txt
 Source4:       USER-GUIDE.txt
 
-BuildRequires: %{?scl_prefix}php-devel < 7.4
+BuildRequires: %{?scl_prefix}php-devel
 
 # ABI check
 Requires:      %{?scl_prefix}php(zend-abi) = %{php_zend_api}
@@ -114,8 +114,8 @@ tar xvf %{SOURCE0}
 %endif
 %if 0%{?upstream_prever:1}
 mkdir ioncube
-mv ioncube_loader_lin_7.3_10.3.0_beta.so    ioncube/ioncube_loader_lin_7.3.so
-mv ioncube_loader_lin_7.3_10.3.0_beta_ts.so ioncube/ioncube_loader_lin_7.3_ts.so
+mv ioncube_loader_lin_7.4_10.4.0_beta1.so    ioncube/ioncube_loader_lin_7.4.so
+mv ioncube_loader_lin_7.4_10.4.0_beta1_ts.so ioncube/ioncube_loader_lin_7.4_ts.so
 %endif
 
 # Drop in the bit of configuration
@@ -213,6 +213,9 @@ install -D -m 644  %{extname}.zts                      %{buildroot}%{php_ztsinid
 
 
 %changelog
+* Thu Feb 27 2020 Remi Collet <remi@remirepo.net> - 10.4.0~beta1-1
+- update to 10.4.0-beta1 for PHP 7.4 (Feb 27, 2020)
+
 * Fri Oct 11 2019 Remi Collet <remi@remirepo.net> - 10.3.9-1
 - update to 10.3.9 (Oct 11, 2019)
 
-- 
cgit