summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php74.spec30
1 files changed, 16 insertions, 14 deletions
diff --git a/php74.spec b/php74.spec
index 23b7530..7277186 100644
--- a/php74.spec
+++ b/php74.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php74 SCL metapackage
#
-# Copyright (c) 2018-2023 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2018-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -11,12 +11,7 @@
%global scl %{scl_name_base}%{scl_name_version}
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_root_sysconfdir}/rpm; echo $d)
%global install_scl 1
-
-%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
%global rh_layout 1
-%else
-%global nfsmountable 1
-%endif
%scl_package %scl
@@ -26,7 +21,7 @@
Summary: Package that installs PHP 7.4
Name: %scl_name
Version: 7.4
-Release: 3%{?dist}
+Release: 5%{?dist}
License: GPL-2.0-or-later
Source0: macros-build
@@ -52,8 +47,12 @@ that install PHP 7.4 language.
Summary: Package that handles %scl Software Collection.
Requires: scl-utils
Requires: environment-modules
-Requires(post): %{_root_sbindir}/semanage
+Requires(post): %{?_root_sbindir}/semanage
+%if 0%{?fedora} >= 42 || 0%{?rhel} >= 11
+Requires(post): %{_root_bindir}/selinuxenabled
+%else
Requires(post): %{_root_sbindir}/selinuxenabled
+%endif
Provides: %{?scl_name}-runtime(%{scl_vendor})
Provides: %{?scl_name}-runtime(%{scl_vendor})%{?_isa}
@@ -213,11 +212,7 @@ restorecon -R %{_localstatedir} &>/dev/null || :
%files
-%if 0%{?fedora} < 19 && 0%{?rhel} < 7
-%files runtime
-%else
%files runtime -f filesystem
-%endif
%license LICENSE
%doc README
%scl_files
@@ -247,6 +242,13 @@ restorecon -R %{_localstatedir} &>/dev/null || :
%changelog
+* Fri Feb 14 2025 Remi Collet <remi@remirepo.net> 7.4-5
+- F42: fix dependencies
+- re-license spec file to CECILL-2.1
+
+* Tue Aug 22 2023 Remi Collet <remi@remirepo.net> 7.4-4
+- F39 build
+
* Wed Apr 26 2023 Remi Collet <remi@remirepo.net> 7.4-3
- redefine %%__phpize and %%__phpconfig