|
|
|
@ -1,17 +1,24 @@
|
|
|
|
|
Summary: Utilities for managing filesystem extended attributes
|
|
|
|
|
Name: attr
|
|
|
|
|
Version: 2.4.48
|
|
|
|
|
Version: 2.5.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# fix test-suite failure with perl-5.26.0 (#1473853)
|
|
|
|
|
Patch1: 0001-attr-2.4.48-test-suite-perl.patch
|
|
|
|
|
# xattr.conf: remove entries for NFSv4 ACLs namespaces (#1031423)
|
|
|
|
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-03/msg00000.html
|
|
|
|
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-03/msg00001.html
|
|
|
|
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-05/msg00000.html
|
|
|
|
|
Patch3: 0003-attr-2.4.48-xattr-conf-nfs4-acls.patch
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://savannah.nongnu.org/projects/attr
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
Requires: libattr = %{version}-%{release}
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Requires: libattr%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# needed for %%check
|
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A set of tools for manipulating extended attributes on filesystem
|
|
|
|
@ -31,7 +38,7 @@ the extended attribute system calls and library functions.
|
|
|
|
|
%package -n libattr-devel
|
|
|
|
|
Summary: Files needed for building programs with libattr
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Requires: libattr = %{version}-%{release}
|
|
|
|
|
Requires: libattr%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
|
|
|
|
|
Requires: glibc-headers
|
|
|
|
@ -46,7 +53,7 @@ For Linux programs, the documented system call API is the
|
|
|
|
|
recommended interface, but an SGI IRIX compatibility interface
|
|
|
|
|
is also provided.
|
|
|
|
|
|
|
|
|
|
Currently only ext2, ext3 and XFS support extended attributes.
|
|
|
|
|
Currently only ext2, ext3, ext4 and XFS support extended attributes.
|
|
|
|
|
The SGI IRIX compatibility API built above the Linux system calls is
|
|
|
|
|
used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8).
|
|
|
|
|
|
|
|
|
@ -63,8 +70,7 @@ sed -e 's|test/root/getfattr.test||' \
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
if ./setfattr -n user.name -v value .; then
|
|
|
|
@ -92,7 +98,6 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc doc/CHANGES
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license doc/COPYING*
|
|
|
|
|
%{_bindir}/attr
|
|
|
|
|
%{_bindir}/getfattr
|
|
|
|
@ -112,8 +117,43 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/xattr.conf
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2.4.48-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.1-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.1-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 16 2021 Kamil Dudka <kdudka@redhat.com> - 2.5.1-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Mar 12 2021 Kamil Dudka <kdudka@redhat.com> - 2.5.0-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Kamil Dudka <kdudka@redhat.com> - 2.4.48-9
|
|
|
|
|
- add BR for perl(FileHandle) needed by %%check
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 10 2019 Kamil Dudka <kdudka@redhat.com> 2.4.48-6
|
|
|
|
|
- xattr.conf: remove entries for NFSv4 ACLs namespaces (#1031423)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 31 2018 Filipe Brandenburger <filbranden@gmail.com> 2.4.48-4
|
|
|
|
|
- Switch compatibility functions back to syscall() to prevent issue in
|
|
|
|
|
interaction with fakechroot (https://github.com/dex4er/fakechroot/issues/57)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 17 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-3
|
|
|
|
|
- temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
|
|
|
|
|