add make check in nfs-utils.spec.

This commit is contained in:
hy 2020-03-28 17:59:40 +08:00 committed by Gitee
parent 7ee155f86b
commit fb0a40b0e3

View File

@ -4,7 +4,7 @@
Name: nfs-utils Name: nfs-utils
Version: 2.4.2 Version: 2.4.2
Release: 2 Release: 3
Epoch: 1 Epoch: 1
Summary: The Linux NFS userland utility package Summary: The Linux NFS userland utility package
License: MIT and GPLv2 and GPLv2+ and BSD License: MIT and GPLv2 and GPLv2+ and BSD
@ -127,6 +127,9 @@ ln -s nfs-idmapd.service nfs-idmap.service
rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.a,*.la} rm -rf $RPM_BUILD_ROOT%{_libdir}/{*.a,*.la}
rm -rf $RPM_BUILD_ROOT%{_libdir}/libnfsidmap/{*.a,*.la} rm -rf $RPM_BUILD_ROOT%{_libdir}/libnfsidmap/{*.a,*.la}
%check
make check
%pre %pre
if [ -f /var/lock/subsys/rpc.gssd ]; then if [ -f /var/lock/subsys/rpc.gssd ]; then
mv /var/lock/subsys/rpc.gssd /var/lock/subsys/rpcgssd mv /var/lock/subsys/rpc.gssd /var/lock/subsys/rpcgssd
@ -221,6 +224,12 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Sat Mar 28 2020 hy <eulerstoragemt@huawei.com> - 2.4.2-3
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESC:add make check
* Fri Jan 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.4.2-2 * Fri Jan 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.4.2-2
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA