aa3f8e
import attr-2.4.46-13.el7
@@ -0,0 +1,40 @@
|
|
1
|
+
From 36e59f3c468229b3ce60b24cd6a6e50f5fcc1e04 Mon Sep 17 00:00:00 2001
|
2
|
+
From: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
3
|
+
Date: Tue, 3 Mar 2015 18:15:07 +0100
|
4
|
+
Subject: [PATCH] Remove outdated tests from test/attr.test
|
5
|
+
|
6
|
+
Extended attributes are not accounted for in the real file size on most file
|
7
|
+
systems, not even in ext* file systems with large inodes. Remove the
|
8
|
+
associated tests.
|
9
|
+
|
10
|
+
Upstream-commit: 07cdd574b01309599c5ceddcd3d6553a5f5cd75d
|
11
|
+
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
12
|
+
---
|
13
|
+
test/attr.test | 4 ----
|
14
|
+
1 file changed, 4 deletions(-)
|
15
|
+
|
16
|
+
diff --git a/test/attr.test b/test/attr.test
|
17
|
+
index a3e472d..41f333b 100644
|
18
|
+
--- a/test/attr.test
|
19
|
+
+++ b/test/attr.test
|
20
|
+
@@ -92,8 +92,6 @@ Everything with one file
|
21
|
+
$ setfattr -n user.longername -v longervalue f
|
22
|
+
$ setfattr -n user.short -v value f
|
23
|
+
$ setfattr -n user.novalue-yet f
|
24
|
+
- $ ls -s f
|
25
|
+
- > 4 f
|
26
|
+
|
27
|
+
$ getfattr -d f
|
28
|
+
> # file: f
|
29
|
+
@@ -130,8 +128,6 @@ Everything with one file
|
30
|
+
$ setfattr -x user.novalue f
|
31
|
+
$ setfattr -x user.novalue-yet f
|
32
|
+
$ getfattr -d f
|
33
|
+
- $ ls -s f
|
34
|
+
- > 0 f
|
35
|
+
|
36
|
+
$ rm f
|
37
|
+
|
38
|
+
--
|
39
|
+
2.13.5
|
40
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Summary: Utilities for managing filesystem extended attributes
|
2
2
|
Name: attr
|
3
3
|
Version: 2.4.46
|
4
|
-
Release:
|
4
|
+
Release: 13%{?dist}
|
5
5
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
6
6
|
Source: http://download.savannah.gnu.org/releases-noredirect/attr/attr-%{version}.src.tar.gz
|
7
7
|
|
@@ -26,6 +26,9 @@ Patch9: attr-2.4.44-bz669095.patch
|
|
26
26
|
# use <sys/syscalls.h> to fix build on aarch64 (#957989)
|
27
27
|
Patch10: attr-2.4.44-bz957989.patch
|
28
28
|
|
29
|
+
# remove unreliable tests from the test suite (#1367730)
|
30
|
+
Patch11: attr-2.4.44-tests-ls.patch
|
31
|
+
|
29
32
|
License: GPLv2+
|
30
33
|
URL: http://acl.bestbits.at/
|
31
34
|
Group: System Environment/Base
|
@@ -79,6 +82,7 @@ you'll also want to install attr.
|
|
79
82
|
%patch8 -p1
|
80
83
|
%patch9 -p1
|
81
84
|
%patch10 -p1
|
85
|
+
%patch11 -p1
|
82
86
|
|
83
87
|
%build
|
84
88
|
# attr <= 2.4.46 abuses libexecdir (fixed upstream in 2971df45)
|
@@ -142,6 +146,9 @@ chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.*.*.*
|
|
142
146
|
%{_libdir}/libattr.so.*
|
143
147
|
|
144
148
|
%changelog
|
149
|
+
* Thu Sep 21 2017 Kamil Dudka <kdudka@redhat.com> 2.4.46-13
|
150
|
+
- remove unreliable tests from the test suite (#1367730)
|
151
|
+
|
145
152
|
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.4.46-12
|
146
153
|
- Mass rebuild 2014-01-24
|
147
154
|
|