Sync from SUSE:SLFO:Main attr revision 75eed79c7078a8cd8d2ed9972b7ddff9

This commit is contained in:
Adrian Schröter 2024-10-03 17:03:48 +02:00
parent b040b9d1d3
commit 9a40e5cc75
7 changed files with 750 additions and 555 deletions

BIN
attr-2.5.1.tar.gz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
attr-2.5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
attr-2.5.2.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Feb 13 21:48:02 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2.5.2:
* attr: eliminate a dead store in attr_copy_action()
* libattr: Set symbol versions for legacy syscalls via attribute
or asm
* exports: use LGPL for library code
* documentation updates
* translation updates (Polish, Dutch, Gregorian, French)
* build system updates
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 22 15:19:43 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Mar 22 15:19:43 UTC 2021 - Dirk Müller <dmueller@suse.com>

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@
# spec file for package attr # spec file for package attr
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +19,7 @@
%define lname libattr1 %define lname libattr1
Name: attr Name: attr
Version: 2.5.1 Version: 2.5.2
Release: 0 Release: 0
Summary: Commands for Manipulating Extended Attributes Summary: Commands for Manipulating Extended Attributes
License: GPL-2.0-or-later AND LGPL-2.1-or-later License: GPL-2.0-or-later AND LGPL-2.1-or-later
@ -26,7 +27,7 @@ Group: System/Filesystems
URL: https://savannah.nongnu.org/projects/attr/ URL: https://savannah.nongnu.org/projects/attr/
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
Source2: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz.sig Source2: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz.sig
Source3: %{name}.keyring Source3: https://savannah.nongnu.org/people/viewgpg.php?user_id=42032#/%{name}.keyring
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: pkgconfig BuildRequires: pkgconfig
Conflicts: xfsdump < 2.0.0 Conflicts: xfsdump < 2.0.0
@ -64,22 +65,22 @@ IRIX compatibility interface is also provided.
%package -n libattr-devel-static %package -n libattr-devel-static
Summary: Static libraries for libattr development Summary: Static libraries for libattr development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libattr-devel = %{version}
Provides: libattr-devel:%{_libdir}/libattr.a Provides: libattr-devel:%{_libdir}/libattr.a
Requires: libattr-devel = %version
%description -n libattr-devel-static %description -n libattr-devel-static
This package contains the static library of libattr which is needed for This package contains the static library of libattr which is needed for
staticallly linking to programs that make use of extended attributes. staticallly linking to programs that make use of extended attributes.
%prep %prep
%setup -q %autosetup -p1
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%configure \ %configure \
--enable-static \ --enable-static \
--disable-silent-rules --disable-silent-rules
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -90,27 +91,27 @@ rm -rf %{buildroot}/%{_datadir}/doc/%{name}
%find_lang %{name} %find_lang %{name}
%check %check
make %{?_smp_mflags} check %make_build check
%post -n %{lname} -p /sbin/ldconfig %ldconfig_scriptlets -n %{lname}
%postun -n %{lname} -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%license doc/COPYING* %license doc/COPYING*
%doc doc/CHANGES doc/PORTING %doc doc/CHANGES
%{_mandir}/man1/*.1%{?ext_man} %{_mandir}/man1/*.1%{?ext_man}
%{_bindir}/attr %{_bindir}/attr
%{_bindir}/getfattr %{_bindir}/getfattr
%{_bindir}/setfattr %{_bindir}/setfattr
%files -n libattr-devel %files -n libattr-devel
%license doc/COPYING*
%{_includedir}/attr/ %{_includedir}/attr/
%{_libdir}/pkgconfig/libattr.pc %{_libdir}/pkgconfig/libattr.pc
%{_libdir}/libattr.so %{_libdir}/libattr.so
%{_mandir}/man3/*.3%{?ext_man} %{_mandir}/man3/*.3%{?ext_man}
%files -n libattr-devel-static %files -n libattr-devel-static
%defattr(-,root,root) %license doc/COPYING*
%{_libdir}/libattr.a %{_libdir}/libattr.a
%files -n %{lname} %files -n %{lname}