summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--REFLECTION2
-rw-r--r--php-bolt.spec35
3 files changed, 26 insertions, 12 deletions
diff --git a/.gitignore b/.gitignore
index 24c42c7..4e41c71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
clog
package-*.xml
+files-*.txt
*.tgz
*.zip
*.tar.bz2
diff --git a/REFLECTION b/REFLECTION
index 7082c38..0678ce5 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #17 bolt version 0.1.3 ] {
+Extension [ <persistent> extension #18 bolt version 0.1.3 ] {
- Functions {
Function [ <internal:bolt> function bolt_encrypt ] {
diff --git a/php-bolt.spec b/php-bolt.spec
index f3b9a66..98fb6dd 100644
--- a/php-bolt.spec
+++ b/php-bolt.spec
@@ -1,38 +1,39 @@
# remirepo spec file for php-bolt
#
-# Copyright (c) 2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2024-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%{?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.4
+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/2023/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.3
+%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,5 +124,15 @@ 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
+
+* Fri Mar 22 2024 Remi Collet <remi@remirepo.net> - 1.0.5-1
+- update to 1.0.5
+
* Fri Mar 15 2024 Remi Collet <remi@remirepo.net> - 1.0.4-1
- initial package