summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-17 09:07:05 +0100
committerRemi Collet <remi@remirepo.net>2019-01-17 09:07:05 +0100
commit2843729037b735951737559b9a057dd3b51f3bb6 (patch)
tree1ffe8dd9540a2de762f62369696eb127f790346f
parent11392469627ceff7ce2f5c286df272526c5bcf59 (diff)
cleanup for EL-8
-rw-r--r--php73.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php73.spec b/php73.spec
index 0625aa8..8a7461e 100644
--- a/php73.spec
+++ b/php73.spec
@@ -1,17 +1,25 @@
+# remirepo spec file for php73 SCL metapackage
+#
+# Copyright (c) 2018-2019 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/4.0/
+#
+# Please, preserve the changelog entries
+#
%global scl_name_base php
%global scl_name_version 73
%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
+%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
%global rh_layout 1
%else
%global nfsmountable 1
%endif
%if 0%{?fedora} >= 20 && 0%{?fedora} < 27
-# Requires scl-utils v2 for SCL integration, dropeed in F29
+# Requires scl-utils v2 for SCL integration, dropped in F29
%global with_modules 1
%else
# Works with file installed in /usr/share/Modules/modulefiles/
@@ -26,7 +34,7 @@
Summary: Package that installs PHP 7.3
Name: %scl_name
Version: 1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Source0: macros-build
@@ -202,6 +210,9 @@ restorecon -R %{_localstatedir} &>/dev/null || :
%{macrosdir}/macros.%{scl_name_base}-scldevel
%changelog
+* Thu Jan 17 2019 Remi Collet <remi@remirepo.net> 1.0-2
+- cleanup for EL-8
+
* Thu Aug 23 2018 Remi Collet <remi@remirepo.net> 1.0-1
- scl-utils 2.0.2 drop modules support