From ce9c5c5812e9f36324cf721e47f05d54f77db601 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Thu, 2 Mar 2023 14:48:43 +0800 Subject: [PATCH] Add debug package to add strip. Signed-off-by: cherry530 (cherry picked from commit 5028bb2be1865a70f77efd09545a36354427ca5a) --- Lmod.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Lmod.spec b/Lmod.spec index d5ba096..7f8a9b0 100644 --- a/Lmod.spec +++ b/Lmod.spec @@ -1,10 +1,8 @@ %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) -# We'd like to be noarch, but Lmod encodes the system lua path -%global debug_package %{nil} Name: Lmod Version: 8.7.4 -Release: 1 +Release: 2 Summary: Environmental Modules System in Lua License: MIT and LGPLv2 @@ -57,6 +55,7 @@ sed -i -e '/^#!/d' init/*.in %install +export CFLAGS="${RPM_OPT_FLAGS}" %make_install # init scripts are sourced find %{buildroot}%{_datadir}/lmod/%{version}/init -type f -exec chmod -x {} + @@ -99,6 +98,9 @@ install -Dpm 644 %{SOURCE1} %{buildroot}/%{macrosdir}/macros.%{name} %changelog +* Thu Mar 02 2023 xu_ping - 8.7.4-2 +- Add debug package to add strip. + * Tue Aug 2 2022 wenzhiwei - 8.7.4-1 - Update to 8.7.4