prevent upstream test 1451 from being skipped

This commit is contained in:
Kamil Dudka 2020-10-14 11:10:34 +02:00
parent a15dd89aaa
commit 3c950d5541
1 changed files with 8 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.73.0
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
@ -75,6 +75,9 @@ BuildRequires: perl(Time::Local)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(vars)
# needed for upstream test 1451
BuildRequires: python3-impacket
# The test-suite runs automatically through valgrind if valgrind is available
# on the system. By not installing valgrind into mock's chroot, we disable
# this feature for production builds on architectures where valgrind is known
@ -181,6 +184,7 @@ be installed.
# make tests/*.py use Python 3
sed -e '1 s|^#!/.*python|#!%{__python3}|' -i tests/*.py
sed -e 's|^python |%{__python3} |' -i tests/data/test1451
# regenerate the configure script and Makefile.in files
autoreconf -fiv
@ -347,6 +351,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
* Wed Oct 14 2020 Kamil Dudka <kdudka@redhat.com> - 7.73.0-2
- prevent upstream test 1451 from being skipped
* Wed Oct 14 2020 Kamil Dudka <kdudka@redhat.com> - 7.73.0-1
- new upstream release