Resolves: #1932082 - build-require python3-impacket only on Fedora

It might not be available in RHEL or CentOS Stream build repos.
This commit is contained in:
Kamil Dudka 2021-02-23 22:00:29 +01:00
parent 263115e94c
commit 6ace03bc47
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl Name: curl
Version: 7.75.0 Version: 7.75.0
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
Source: https://curl.se/download/%{name}-%{version}.tar.xz Source: https://curl.se/download/%{name}-%{version}.tar.xz
@ -75,8 +75,10 @@ BuildRequires: perl(Time::Local)
BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::HiRes)
BuildRequires: perl(vars) BuildRequires: perl(vars)
%if 0%{?fedora}
# needed for upstream test 1451 # needed for upstream test 1451
BuildRequires: python3-impacket BuildRequires: python3-impacket
%endif
# The test-suite runs automatically through valgrind if valgrind is available # The test-suite runs automatically through valgrind if valgrind is available
# on the system. By not installing valgrind into mock's chroot, we disable # on the system. By not installing valgrind into mock's chroot, we disable
@ -353,6 +355,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog %changelog
* Tue Feb 23 2021 Kamil Dudka <kdudka@redhat.com> - 7.75.0-2
- build-require python3-impacket only on Fedora
* Wed Feb 03 2021 Kamil Dudka <kdudka@redhat.com> - 7.75.0-1 * Wed Feb 03 2021 Kamil Dudka <kdudka@redhat.com> - 7.75.0-1
- new upstream release - new upstream release