!6 [sync] PR-5: Add debug package to add strip
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
162ed2c097
@ -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 <xuping33@h-partners.com> - 8.7.4-2
|
||||
- Add debug package to add strip.
|
||||
|
||||
* Tue Aug 2 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 8.7.4-1
|
||||
- Update to 8.7.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user