changeset 52957:5b0b896b9d20

packaging: remove rpm cgi.py changes as no longer relevant with recent python
author Mathias De Mare <mathias.de_mare@nokia.com>
date Tue, 04 Feb 2025 13:10:41 +0100
parents 33497640af7c
children 32c655372dab
files contrib/packaging/mercurial.spec
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/mercurial.spec	Mon Feb 03 17:17:13 2025 +0100
+++ b/contrib/packaging/mercurial.spec	Tue Feb 04 13:10:41 2025 +0100
@@ -55,8 +55,6 @@
 
 %if "%{?withpython}"
 %setup -q -n mercurial-%{version}-%{release} -a1 -a2
-# despite the comments in cgi.py, we do this to prevent rpmdeps from picking /usr/local/bin/python up
-sed -i '1c#! /usr/bin/env %{pythonexe}' %{pythonname}/Lib/cgi.py
 %else
 %setup -q -n mercurial-%{version}-%{release}
 %endif