public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: do not hard-wire path of the Python 3 interpreter
@ 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 : befa5428f0a60d2f134dd8976cdf338cf6abbc5f
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2018-07-04T15:20:51+02:00
Stats  : +6/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/befa5428f0a60d2f134dd8976cdf338cf6abbc5f?branch=curl-v8.23.0-3

Log:
do not hard-wire path of the Python 3 interpreter

---
diff --git a/curl.spec b/curl.spec
index 348f6db..814abf2 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.60.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
 
@@ -36,7 +36,7 @@ BuildRequires: openssh-clients
 BuildRequires: openssh-server
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
-BuildRequires: python3
+BuildRequires: python3-devel
 BuildRequires: sed
 BuildRequires: stunnel
 BuildRequires: zlib-devel
@@ -162,7 +162,7 @@ be installed.
 %patch104 -p1
 
 # make tests/*.py use Python 3
-sed -e '1 s|^#!/.*python|&3|' -i tests/*.py
+sed -e '1 s|^#!/.*python|#!%{__python3}|' -i tests/*.py
 
 # regenerate Makefile.in files
 #aclocal -I m4
@@ -303,6 +303,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Wed Jul 04 2018 Kamil Dudka <kdudka@redhat.com> - 7.60.0-2
+- do not hard-wire path of the Python 3 interpreter
+
 * Wed May 16 2018 Kamil Dudka <kdudka@redhat.com> - 7.60.0-1
 - new upstream release, which fixes the following vulnerabilities
     CVE-2018-1000300 - FTP shutdown response buffer overflow

^ 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 hard-wire path of the Python 3 interpreter Kamil Dudka

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