upgrade version to 5.0.1

This commit is contained in:
zou_lin77 2021-12-29 16:21:28 +08:00
parent c5fb8d2dfe
commit 13f9c47bee
4 changed files with 11 additions and 6 deletions

View File

@ -1,8 +1,8 @@
%global vimdatadir %{_datadir}/vim/vimfiles %global vimdatadir %{_datadir}/Modules/share/vim/vimfiles
Name: environment-modules Name: environment-modules
Version: 4.6.1 Version: 5.0.1
Release: 2 Release: 1
Summary: Provides dynamic modification of a user's environment Summary: Provides dynamic modification of a user's environment
License: GPLv2+ License: GPLv2+
URL: http://modules.sourceforge.net/ URL: http://modules.sourceforge.net/
@ -74,7 +74,6 @@ mv $RPM_BUILD_ROOT%{_mandir}/man4/modulefile{,-c}.4
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/*
install -D -p -m 644 contrib/rpm/macros.%{name} $RPM_BUILD_ROOT/%{_rpmconfigdir}/macros.d/macros.%{name} install -D -p -m 644 contrib/rpm/macros.%{name} $RPM_BUILD_ROOT/%{_rpmconfigdir}/macros.d/macros.%{name}
install -p script/createmodule{.sh,.py} $RPM_BUILD_ROOT%{_datadir}/Modules/bin
%check %check
@ -124,9 +123,12 @@ fi
%ghost %{_sysconfdir}/profile.d/modules.csh %ghost %{_sysconfdir}/profile.d/modules.csh
%ghost %{_sysconfdir}/profile.d/modules.sh %ghost %{_sysconfdir}/profile.d/modules.sh
%ghost %{_bindir}/modulecmd %ghost %{_bindir}/modulecmd
%{vimdatadir}/ftdetect/modulefile.vim
%{vimdatadir}/ftplugin/modulefile.vim
%{vimdatadir}/syntax/modulefile.vim
%files help %files help
%doc ChangeLog README doc/build/{NEWS.txt,MIGRATING.txt,diff_v3_v4.txt} doc/example.txt %doc ChangeLog README doc/build/{NEWS.txt,MIGRATING.txt,diff_v3_v4.txt}
%ghost %{_mandir}/man1/module.1.gz %ghost %{_mandir}/man1/module.1.gz
%ghost %{_mandir}/man4/modulefile.4.gz %ghost %{_mandir}/man4/modulefile.4.gz
%{_mandir}/man1/ml.1.gz %{_mandir}/man1/ml.1.gz
@ -137,6 +139,9 @@ fi
%{vimdatadir}/syntax/modulefile.vim %{vimdatadir}/syntax/modulefile.vim
%changelog %changelog
* Wed Dec 29 2021 zoulin <zoulin13@huawei.com> - 5.0.1-1
- upgrade version to 5.0.1
* Wed Mar 24 2021 shixuantong <shixuantong@huawei.com> - 4.6.1-2 * Wed Mar 24 2021 shixuantong <shixuantong@huawei.com> - 4.6.1-2
- add debuginfo and debugsource - add debuginfo and debugsource

Binary file not shown.

BIN
modules-5.0.1.tar.bz2 Normal file

Binary file not shown.

View File

@ -9,4 +9,4 @@ diff -ur modules-4.1.4/testsuite/modules.50-cmds/095-uname.exp modules-4.1.4-202
+foreach field [list nodename] { +foreach field [list nodename] {
if {$uname ne ""} { if {$uname ne ""} {
set ans [list] set ans [list]
lappend ans [list set testsuite [set "u_$field"] noescval] lappend ans [list set _LMFILES_ "$modulefile/$field"]