rebuilt with debug package and gcc 10 build fix [release 2.13-2mamba;Sun Dec 06 2020]

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

View File

@ -1,6 +1,6 @@
Name: cpio
Version: 2.13
Release: 1mamba
Release: 2mamba
Summary: A GNU archiving program
Group: Applications/Archiving
Vendor: openmamba
@ -35,12 +35,16 @@ The tar format is provided for compatability with the tar program.
By default, cpio creates binary format archives, for compatibility with older cpio programs.
When extracting from archives, cpio automatically recognizes which kind of archive it is reading and can read archives created on machines with a different byte-order.
%debug_package
%prep
%setup -q
# gcc 10 fix
sed -i '/The name/,+2 d' src/global.c
#%patch2 -p1
autoreconf
%build
autoreconf
# NOTE: there no configure test for LSTAT (hard link bug) and SETLOCALE,
# but the variables are used in 'lib/system.h'
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" \
@ -80,9 +84,11 @@ exit 0
%{_mandir}/man1/cpio.*
#%{_mandir}/man1/mt.*
%doc AUTHORS COPYING
#ChangeLog NEWS README THANKS TODO
%changelog
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13-2mamba
- rebuilt with debug package and gcc 10 build fix
* Sat Nov 09 2019 Automatic Build System <autodist@mambasoft.it> 2.13-1mamba
- automatic version update by autodist