From 2843729037b735951737559b9a057dd3b51f3bb6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Jan 2019 09:07:05 +0100 Subject: cleanup for EL-8 --- php73.spec | 17 ++++++++++++++--- 1 file 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 1.0-2 +- cleanup for EL-8 + * Thu Aug 23 2018 Remi Collet 1.0-1 - scl-utils 2.0.2 drop modules support -- cgit