run autoreconf in %prep to avoid patching Makefile.in files from now on

This commit is contained in:
Kamil Dudka 2016-11-02 16:47:42 +01:00
parent d178d238e4
commit 6c0c913605
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.47.1
Release: 8%{?dist}
Release: 9%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@ -43,6 +43,7 @@ Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: automake
BuildRequires: groff
BuildRequires: krb5-devel
BuildRequires: libidn-devel
@ -50,6 +51,7 @@ BuildRequires: libmetalink-devel
BuildRequires: libnghttp2-devel
BuildRequires: libpsl-devel
BuildRequires: libssh2-devel
BuildRequires: libtool
BuildRequires: nss-devel
BuildRequires: openldap-devel
BuildRequires: openssh-clients
@ -166,6 +168,9 @@ printf "1112\n1801\n" >> tests/data/DISABLED
echo "1319" >> tests/data/DISABLED
%endif
# we need to regenerate Makefile.in files because of patching
autoreconf -fiv
%build
[ -x /usr/kerberos/bin/krb5-config ] && KRB5_PREFIX="=/usr/kerberos"
%configure --disable-static \
@ -258,6 +263,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
* Wed Nov 02 2016 Kamil Dudka <kdudka@redhat.com> 7.47.1-9
- run autoreconf in %%prep to avoid patching Makefile.in files from now on
* Wed Sep 14 2016 Kamil Dudka <kdudka@redhat.com> 7.47.1-8
- reject negative string lengths in curl_easy_[un]escape() (CVE-2016-7167)