fix build failed

(cherry picked from commit 5afd51654c2e3bbff955d0c7f4e95a25b3e628ae)
This commit is contained in:
zhuofeng 2024-04-17 10:08:26 +08:00 committed by openeuler-sync-bot
parent 15f6dea4aa
commit 55d13c58e8

View File

@ -2,7 +2,7 @@
Name: environment-modules Name: environment-modules
Version: 5.3.1 Version: 5.3.1
Release: 1 Release: 2
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/
@ -75,7 +75,7 @@ install -D -p -m 644 contrib/rpm/macros.%{name} $RPM_BUILD_ROOT/%{_rpmconfigdir}
%check %check
make test make test QUICKTEST=1
%post %post
[ ! -L %{_sysconfdir}/profile.d/modules.sh ] && rm -f %{_sysconfdir}/profile.d/modules.sh [ ! -L %{_sysconfdir}/profile.d/modules.sh ] && rm -f %{_sysconfdir}/profile.d/modules.sh
@ -130,6 +130,9 @@ fi
%{_mandir}/man1/ml.1.gz %{_mandir}/man1/ml.1.gz
%changelog %changelog
* Wed Apr 17 2024 zhuofeng <zhuofeng2@huawei.com> - 5.3.1-2
- fix build failed
* Fri Jan 26 2024 yanglongkang <yanglongkang@h-partners.com> - 5.3.1-1 * Fri Jan 26 2024 yanglongkang <yanglongkang@h-partners.com> - 5.3.1-1
- upgrade version to 5.3.1 - upgrade version to 5.3.1