diff --git a/attr.spec b/attr.spec index e9ef24ad3e84c3d81ff9a47cc92bc22132bb4001..206b55635f971f79c88c888769c00238489eb918 100644 --- a/attr.spec +++ b/attr.spec @@ -1,7 +1,7 @@ %{!?_licensedir:%global license %%doc} Name: attr Version: 2.4.48 -Release: 9 +Release: 10 Summary: Commands for Manipulating Filesystem Extended Attributes License: GPLv2+ AND LGPLv2+ URL: https://savannah.nongnu.org/projects/attr @@ -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 - 2.4.48-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: make check add judgment condition + * Mon Jun 29 2020 Zhiqiang Liu - 2.4.48-9 - Type:enhancement - ID:NA