diff --git a/dump.spec b/dump.spec index 9b5cb545a64ecaa4afd43320abf893a775a35356..36b0bb2f44d692da5a4f0e3c2321258324a67376 100644 --- a/dump.spec +++ b/dump.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %define PREVER b46 %define DUMP_VERSION 0.4%{PREVER} @@ -5,7 +6,7 @@ Summary: Programs for backing up and restoring ext2/ext3/ext4 filesystems Name: dump Epoch: 1 Version: 0.4 -Release: 0.36.%{PREVER}%{?dist} +Release: 0.36.%{PREVER}%{anolis_release}%{?dist} License: BSD Group: Applications/Archiving URL: http://dump.sourceforge.net/ @@ -54,7 +55,7 @@ done autoreconf -fiv export CFLAGS="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \ --Wmissing-prototypes -Wno-char-subscripts -fno-strict-aliasing" +-Wmissing-prototypes -Wno-char-subscripts -fno-strict-aliasing -fcommon" # XXX --enable-kerberos needs krcmd %configure --disable-static \ @@ -109,6 +110,9 @@ rm -rf %{buildroot} %{_mandir}/man8/rrestore.8* %changelog +* Tue Nov 23 2021 Weitao Zhou 0.4-0.36.b46.0.1 +- Fix FTBFS by enabling '-fcommon' for compatible with gcc10 build + * Wed Feb 07 2018 Fedora Release Engineering - 1:0.4-0.36.b46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild