diff options
Diffstat (limited to 'php-bolt.spec')
| -rw-r--r-- | php-bolt.spec | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/php-bolt.spec b/php-bolt.spec index 7bace2d..98fb6dd 100644 --- a/php-bolt.spec +++ b/php-bolt.spec @@ -8,31 +8,32 @@ # %{?scl:%scl_package php-bolt} -%global extname bolt %global debug_package %{nil} %global __debug_install_post /bin/true -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 %global _build_id_links none -%endif + +%global extname bolt %global with_zts 0 %global ininame 40-%{extname}.ini Name: %{?scl_prefix}php-bolt Summary: Protect PHP Source Code -Version: 1.0.6 +Version: 1.0.7 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: Distribuable URL: https://phpbolt.com/ # see https://phpbolt.com/download-phpbolt/ -Source0: https://phpbolt.com/wp-content/uploads/2024/03/phpBolt-extension-%{version}.zip +Source0: https://phpbolt.com/wp-content/uploads/2025/11/phpBolt-extension-1.0.7.zip Source1: https://raw.githubusercontent.com/arshidkv12/phpBolt/master/encryption.php # Message from upstream: "You can redistribute" Source2: message.eml -ExclusiveArch: x86_64 -BuildRequires: %{?scl_prefix}php-devel >= 7.0 -BuildRequires: %{?scl_prefix}php-devel < 8.4 +%ifarch x86_64 +BuildRequires: (%{?scl_prefix}php-devel >= 7.0 with %{?scl_prefix}php-devel < 8.6) +%else +BuildRequires: (%{?scl_prefix}php-devel >= 8.4 with %{?scl_prefix}php-devel < 8.6) +%endif # ABI check Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -78,6 +79,8 @@ install -D -m 644 %{ininame} %{buildroot}%{php_inidir}/%{ininame} ver=$(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;') cd phpBolt-extension-%{version}/linux*64/*$ver +[ -d %{_arch}-linux ] && cd %{_arch}-linux + if [ -f %{extname}.so ]; then install -D -pm 755 %{extname}.so %{buildroot}%{php_extdir}/%{extname}.so @@ -121,6 +124,9 @@ fi %changelog +* Thu Nov 6 2025 Remi Collet <remi@remirepo.net> - 1.0.7-1 +- update to 1.0.7 + * Wed Sep 10 2025 Remi Collet <remi@remirepo.net> - 1.0.6-1 - update to 1.0.6 - re-license spec file to CECILL-2.1 |
