From aa3f8e6afd7043902889399d772dd97a1b44978e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:24:55 +0000 Subject: import attr-2.4.46-13.el7 --- diff --git a/SOURCES/attr-2.4.44-tests-ls.patch b/SOURCES/attr-2.4.44-tests-ls.patch new file mode 100644 index 0000000..90504d0 --- /dev/null +++ b/SOURCES/attr-2.4.44-tests-ls.patch @@ -0,0 +1,40 @@ +From 36e59f3c468229b3ce60b24cd6a6e50f5fcc1e04 Mon Sep 17 00:00:00 2001 +From: Andreas Gruenbacher +Date: Tue, 3 Mar 2015 18:15:07 +0100 +Subject: [PATCH] Remove outdated tests from test/attr.test + +Extended attributes are not accounted for in the real file size on most file +systems, not even in ext* file systems with large inodes. Remove the +associated tests. + +Upstream-commit: 07cdd574b01309599c5ceddcd3d6553a5f5cd75d +Signed-off-by: Kamil Dudka +--- + test/attr.test | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/test/attr.test b/test/attr.test +index a3e472d..41f333b 100644 +--- a/test/attr.test ++++ b/test/attr.test +@@ -92,8 +92,6 @@ Everything with one file + $ setfattr -n user.longername -v longervalue f + $ setfattr -n user.short -v value f + $ setfattr -n user.novalue-yet f +- $ ls -s f +- > 4 f + + $ getfattr -d f + > # file: f +@@ -130,8 +128,6 @@ Everything with one file + $ setfattr -x user.novalue f + $ setfattr -x user.novalue-yet f + $ getfattr -d f +- $ ls -s f +- > 0 f + + $ rm f + +-- +2.13.5 + diff --git a/SPECS/attr.spec b/SPECS/attr.spec index 2f3bda9..5004320 100644 --- a/SPECS/attr.spec +++ b/SPECS/attr.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing filesystem extended attributes Name: attr Version: 2.4.46 -Release: 12%{?dist} +Release: 13%{?dist} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://download.savannah.gnu.org/releases-noredirect/attr/attr-%{version}.src.tar.gz @@ -26,6 +26,9 @@ Patch9: attr-2.4.44-bz669095.patch # use to fix build on aarch64 (#957989) Patch10: attr-2.4.44-bz957989.patch +# remove unreliable tests from the test suite (#1367730) +Patch11: attr-2.4.44-tests-ls.patch + License: GPLv2+ URL: http://acl.bestbits.at/ Group: System Environment/Base @@ -79,6 +82,7 @@ you'll also want to install attr. %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build # attr <= 2.4.46 abuses libexecdir (fixed upstream in 2971df45) @@ -142,6 +146,9 @@ chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.*.*.* %{_libdir}/libattr.so.* %changelog +* Thu Sep 21 2017 Kamil Dudka 2.4.46-13 +- remove unreliable tests from the test suite (#1367730) + * Fri Jan 24 2014 Daniel Mach - 2.4.46-12 - Mass rebuild 2014-01-24