rebuilt after usr merge [release 2.13-3mamba;Mon Apr 17 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:32:02 +01:00
parent 2550be22e1
commit faa2b315de

View File

@ -1,26 +1,24 @@
Name: cpio
Version: 2.13
Release: 2mamba
Release: 3mamba
Summary: A GNU archiving program
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/cpio/
Source: http://ftp.gnu.org/pub/gnu/cpio/%{name}-%{version}.tar.gz
Patch: %{name}-2.9-cve_2007_4476.patch
Patch1: %{name}-2.10-mt.patch
Patch2: %{name}-2.11-fix-x86_64-cross-build.patch
License: GPL
Requires(post):%{__install_info}
BuildRequires: /sbin/rmt
BuildRequires: gettext-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: bash
BuildRequires: glibc-devel
BuildRequires: texinfo
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: /usr/sbin/rmt
BuildRequires: gettext-devel
Requires(post):%{__install_info}
Provides: /bin/cpio
%description
GNU cpio copies files into or out of a cpio or tar archive.
@ -55,13 +53,14 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURC
--disable-rpath
%make
%if "%{_host}" == "%{_build}"
%make check
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall bindir=%{buildroot}/bin
%makeoldinstall
%{find_lang} %{name}
@ -78,7 +77,7 @@ exit 0
%files -f %{name}.lang
%defattr(-,root,root)
/bin/cpio
%{_bindir}/cpio
#/bin/mt
%{_infodir}/cpio.*
%{_mandir}/man1/cpio.*
@ -86,6 +85,9 @@ exit 0
%doc AUTHORS COPYING
%changelog
* Mon Apr 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13-3mamba
- rebuilt after usr merge
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13-2mamba
- rebuilt with debug package and gcc 10 build fix