Run autoreconf during %prep

This commit is contained in:
Björn Esser 2023-01-21 21:48:48 +01:00
parent 8910029876
commit 36f60dc662
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -168,7 +168,7 @@ fi \
Name: libxcrypt
Version: 4.4.33
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
# For explicit license breakdown, see the
@ -188,6 +188,8 @@ Patch0001: %{url}/commit/59823543d095.patch#/%{name}-4.4.33-SHA512_Maj_opti
# Patch 6000 - 9999: Downstream patches.
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: coreutils
BuildRequires: fipscheck
BuildRequires: gcc
@ -197,6 +199,7 @@ BuildRequires: gnupg2
%if 0%{?trans_pkg}
BuildRequires: glibc-devel >= %{glibc_minver}
%endif
BuildRequires: libtool
BuildRequires: make
BuildRequires: perl(:VERSION) >= %{perl_minver}
BuildRequires: perl(Class::Struct)
@ -336,6 +339,9 @@ popd
%autosetup -p 1
# Regen Autotools.
autoreconf -fiv -Wall,error
%if %{with new_api}
cat << EOF >> README%{distname}
This version of the %{name} package ships the libcrypt.so.2
@ -580,6 +586,9 @@ done
%changelog
* Sat Jan 21 2023 Björn Esser <besser82@fedoraproject.org> - 4.4.33-7
- Run autoreconf during %%prep
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.33-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild