From 158a8aedb482082b424d27aa48bba89da558cac2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:38:06 +0100 Subject: [PATCH] update to 2.4.48 [release 2.4.48-1mamba;Sat Jul 28 2018] --- attr.spec | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/attr.spec b/attr.spec index 43f394b..31c8668 100644 --- a/attr.spec +++ b/attr.spec @@ -1,5 +1,5 @@ Name: attr -Version: 2.4.47 +Version: 2.4.48 Release: 1mamba Summary: Commands for Manipulating Filesystem Extended Attributes Group: System/Kernel and Hardware @@ -7,13 +7,13 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://savannah.nongnu.org/projects/attr -Source: http://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.src.tar.gz +Source: http://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz Patch0: %{name}-2.4.46-build.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END -%ifarch x86_64 +%ifarch x86_64_disabled BuildRequires: gcc-multilib BuildRequires: glibc-multilib-devel %endif @@ -61,10 +61,7 @@ This package contains static libraries and header files needed for development. #%patch0 -p1 %build -%configure \ - --libdir=/%{_lib} \ - --libexecdir=/%{_lib} -# --disable-static +%configure %make \ %if "%{_host}" != "%{_build}" @@ -74,8 +71,8 @@ This package contains static libraries and header files needed for development. %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -%makeinstall install-dev -%makeinstall install-lib +#% makeinstall install-dev +#% makeinstall install-lib %find_lang %{name} @@ -84,7 +81,7 @@ rm -fr %{buildroot}%{_datadir}/doc/attr # already provided by manpages rm -f %{buildroot}%{_mandir}/man2/*attr.2* -%ifarch x86_64 +%ifarch x86_64_disabled # x86_64 lib32 support make clean @@ -111,30 +108,31 @@ cp -a lib32/lib %{buildroot}/ %files -f %{name}.lang %defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/xattr.conf %{_bindir}/%{name} %{_bindir}/getfattr %{_bindir}/setfattr %{_mandir}/man1/%{name}.* %{_mandir}/man1/getfattr.* %{_mandir}/man1/setfattr.* -%{_mandir}/man5/attr.* +#%{_mandir}/man5/attr.* %doc doc/COPYING %files -n lib%{name} %defattr(-,root,root) -/%{_lib}/lib%{name}.so.* +%{_libdir}/lib%{name}.so.* %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/%{name} -/%{_lib}/lib%{name}.a -/%{_lib}/lib%{name}.la -/%{_lib}/lib%{name}.so -#%{_mandir}/man2/*attr.2* +%{_libdir}/lib%{name}.a +%{_libdir}/lib%{name}.la +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/libattr.pc %{_mandir}/man3/attr_* -%doc README doc/PORTING doc/CHANGES.gz +%doc README -%ifarch x86_64 +%ifarch x86_64_disabled %files -n lib32-lib%{name} %defattr(-,root,root) /lib/lib%{name}.so.* @@ -148,6 +146,9 @@ cp -a lib32/lib %{buildroot}/ %endif %changelog +* Sat Jul 28 2018 Silvan Calarco 2.4.48-1mamba +- update to 2.4.48 + * Thu May 23 2013 Automatic Build System 2.4.47-1mamba - automatic update by autodist