update attr.spec.

This commit is contained in:
Markeryang 2020-07-08 11:01:33 +08:00 committed by Gitee
parent a1017d6721
commit 0e57ccc9b8

View File

@ -69,7 +69,12 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
%find_lang %{name}
%check
make %{?_smp_mflags} check
if ./setfattr -n user.name -v value .; then
make check || exit $?
else
echo '*** xattrs are probably not supported by the file system,' \
'the test-suite will NOT run ***'
fi
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
@ -93,6 +98,12 @@ make %{?_smp_mflags} check
%{_mandir}/man3/*
%changelog
* Wed Jul 29 2020 Markeryang <yanglongkang@163.com> - 2.4.48-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: make check add judgment condition
* Mon Jun 29 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 2.4.48-9
- Type:enhancement
- ID:NA