From 44c39c595a8e79607e795bbfad3810c6308ce6c4 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 3 Jul 2024 09:48:53 +0200
Subject: update to 13.3.0 (July 2, 2024)

---
 PHPINFO                 |  2 +-
 REFLECTION              |  2 +-
 php-ioncube-loader.spec | 48 ++++++++----------------------------------------
 3 files changed, 10 insertions(+), 42 deletions(-)

diff --git a/PHPINFO b/PHPINFO
index e49e54b..d30eb7b 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -4,7 +4,7 @@ ionCube Loader
 For Loader updates visit www.ioncube.com/loaders.php
 For support visit support.ioncube.com
 
-Loader version => 13.0.4
+Loader version => 13.3.0
 
 Directive => Local Value => Master Value
 ioncube.loader.encoded_paths => no value => no value
diff --git a/REFLECTION b/REFLECTION
index 677e777..47e8294 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #17 ionCube Loader version 13.0.4 ] {
+Extension [ <persistent> extension #17 ionCube Loader version 13.3.0 ] {
 
   - INI {
     Entry [ ioncube.loader.encoded_paths <ALL> ]
diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec
index 846bdd8..feba41e 100644
--- a/php-ioncube-loader.spec
+++ b/php-ioncube-loader.spec
@@ -6,31 +6,25 @@
 #
 # Please, preserve the changelog entries
 #
-%{?scl:          %scl_package             php-ioncube-loader}
+%{?scl:%scl_package   php-ioncube-loader}
+
 %global extname       ioncube_loader
 %global debug_package %{nil}
 %global __debug_install_post /bin/true
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
 %global _build_id_links none
-%endif
+
 %ifarch armv7hl aarch64 armv7hl
 %global with_zts      0
 %else
 %global with_zts      0%{!?_without_zts:%{?__ztsphp:1}}
 %endif
-%if "%{php_version}" < "5.6"
-%global ininame       %{extname}.ini
-%else
+
 # [ionCube Loader] The Loader must appear as the first entry in the php.ini
 %global ininame       01-%{extname}.ini
-%endif
-
-# Open issues
-# http://forum.ioncube.com/viewtopic.php?t=4244 - No version in Reflection
 
 Name:          %{?scl_prefix}php-ioncube-loader
 Summary:       Loader for ionCube Encoded Files with ionCube 24 support
-%global upstream_version  13.0.4
+%global upstream_version  13.3.0
 #global upstream_prever   beta2
 Version:       %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
 Release:       1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
@@ -53,35 +47,6 @@ BuildRequires: %{?scl_prefix}php-devel
 # ABI check
 Requires:      %{?scl_prefix}php(zend-abi) = %{php_zend_api}
 Requires:      %{?scl_prefix}php(api) = %{php_core_api}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-
-%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} == 7
-# Other third party repo stuff
-Obsoletes:      php53-ioncube-loader <= %{version}
-Obsoletes:     php53u-ioncube-loader <= %{version}
-Obsoletes:      php54-ioncube-loader <= %{version}
-%if "%{php_version}" > "5.5"
-Obsoletes:     php55u-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "5.6"
-Obsoletes:     php56u-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "7.0"
-Obsoletes:     php70u-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "7.1"
-Obsoletes:     php71u-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "7.2"
-Obsoletes:     php72u-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
-Obsoletes:      php73-ioncube-loader <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
-Obsoletes:      php74-ioncube-loader <= %{version}
-%endif
-%endif
 
 
 %description
@@ -217,6 +182,9 @@ install -D -m 644  %{extname}.zts %{buildroot}%{php_ztsinidir}/%{ininame}
 
 
 %changelog
+* Wed Jul  3 2024 Remi Collet <remi@remirepo.net> - 13.3.0-1
+- update to 13.3.0 (July 2, 2024)
+
 * Fri May 31 2024 Remi Collet <remi@remirepo.net> - 13.0.4-1
 - update to 13.0.4 (May 31, 2024)
 
-- 
cgit