- Use autoreconf -fiv for autoconf 2.71 support

Works with both 2.69 and 2.71
This commit is contained in:
Brian C. Lane 2021-03-10 10:18:59 -08:00
parent 4ff1a768b4
commit c9bde538a7

View File

@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program Summary: The GNU disk partition manipulation program
Name: parted Name: parted
Version: 3.4 Version: 3.4
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/parted URL: http://www.gnu.org/software/parted
@ -31,7 +31,9 @@ BuildRequires: libuuid-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: gnupg2 BuildRequires: gnupg2
BuildRequires: git BuildRequires: git
BuildRequires: autoconf automake BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: e2fsprogs BuildRequires: e2fsprogs
BuildRequires: xfsprogs BuildRequires: xfsprogs
BuildRequires: dosfstools BuildRequires: dosfstools
@ -71,8 +73,7 @@ gpg2 --verify %{SOURCE1} %{SOURCE0}
iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
%build %build
autoreconf autoreconf -fiv
autoconf
CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS
%configure --disable-static --disable-gcc-warnings %configure --disable-static --disable-gcc-warnings
# Don't use rpath! # Don't use rpath!
@ -122,6 +123,10 @@ make check
%changelog %changelog
* Wed Mar 10 2021 Brian C. Lane <bcl@redhat.com> - 3.4-3
- Use autoreconf -fiv for autoconf 2.71 support
Works with both 2.69 and 2.71
* Wed Feb 03 2021 Brian C. Lane <bcl@redhat.com> - 3.4-2 * Wed Feb 03 2021 Brian C. Lane <bcl@redhat.com> - 3.4-2
- Add --fix support from upstream - Add --fix support from upstream