Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/attr.git#04709b704abfa5ac7bc7b515b7448431e228107d
This commit is contained in:
DistroBaker 2021-02-03 11:12:51 +01:00
parent a0f1722bbd
commit 0bddbf00f0

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing filesystem extended attributes
Name: attr
Version: 2.4.48
Release: 10%{?dist}
Release: 11%{?dist}
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
# fix test-suite failure with perl-5.26.0 (#1473853)
@ -20,7 +20,8 @@ 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)
@ -43,7 +44,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
@ -58,7 +59,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).
@ -75,8 +76,7 @@ sed -e 's|test/root/getfattr.test||' \
%build
%configure
make %{?_smp_mflags}
%make_build
%check
if ./setfattr -n user.name -v value .; then
@ -104,7 +104,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
@ -124,6 +123,9 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
%config(noreplace) %{_sysconfdir}/xattr.conf
%changelog
* 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