public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: do not rewrite shebangs in test-suite to use python3 explicitly
@ 2026-11-03 12:37 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 182c2a8bbbeee42a6e4d16817c764f624390d87d
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2020-12-09T18:51:40+01:00
Stats  : +5/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/182c2a8bbbeee42a6e4d16817c764f624390d87d?branch=curl-v8.23.0-3

Log:
do not rewrite shebangs in test-suite to use python3 explicitly

---
diff --git a/curl.spec b/curl.spec
index ecc8711..027358e 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.74.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Source: https://curl.se/download/%{name}-%{version}.tar.xz
 
@@ -39,6 +39,7 @@ BuildRequires: openssh-server
 BuildRequires: openssl-devel
 BuildRequires: perl-interpreter
 BuildRequires: pkgconfig
+BuildRequires: python-unversioned-command
 BuildRequires: python3-devel
 BuildRequires: sed
 BuildRequires: stunnel
@@ -182,10 +183,6 @@ be installed.
 %patch104 -p1
 %patch105 -p1
 
-# 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
 
@@ -351,6 +348,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Wed Dec 09 2020 Kamil Dudka <kdudka@redhat.com> - 7.74.0-2
+- do not rewrite shebangs in test-suite to use python3 explicitly
+
 * Wed Dec 09 2020 Kamil Dudka <kdudka@redhat.com> - 7.74.0-1
 - new upstream release, which fixes the following vulnerabilities
     CVE-2020-8286 - curl: Inferior OCSP verification

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:37 [rpms/curl] curl-v8.23.0-3: do not rewrite shebangs in test-suite to use python3 explicitly Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox