From 0e57ccc9b8249788533a57295e0d7dbee235fcf5 Mon Sep 17 00:00:00 2001 From: Markeryang <747675909@qq.com> Date: Wed, 8 Jul 2020 11:01:33 +0800 Subject: [PATCH 1/2] update attr.spec. --- attr.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index e9ef24a..4ab62cc 100644 --- a/attr.spec +++ b/attr.spec @@ -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 -- Gitee From 2ec87e6379b3641c31c6ac4048aa5b4ee1b63a0c Mon Sep 17 00:00:00 2001 From: Markeryang <747675909@qq.com> Date: Wed, 8 Jul 2020 11:04:45 +0800 Subject: [PATCH 2/2] update attr.spec. --- attr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attr.spec b/attr.spec index 4ab62cc..206b556 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 -- Gitee