public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: use python3 instead of system-python for rpm-build
Date: Mon, 23 Nov 2026 09:30:29 GMT	[thread overview]
Message-ID: <179542622954.1.4823552620587669902.rpms-rpm-21fe6e896314@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 21fe6e89631433eec6b040dcc43c1b9b9859ac2b
            Author : Igor Gnatenko <i.gnatenko.brain@gmail.com>
            Date   : 2017-01-06T15:06:51+01:00
            Stats  : +11/-11 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/21fe6e89631433eec6b040dcc43c1b9b9859ac2b?branch=pmatilai-v6

            Log:
            use python3 instead of system-python for rpm-build

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

---
diff --git a/rpm-4.13.x-pythondistdeps-python3.patch b/rpm-4.13.x-pythondistdeps-python3.patch
new file mode 100644
index 0000000..eb4c6ae
--- /dev/null
+++ b/rpm-4.13.x-pythondistdeps-python3.patch
@@ -0,0 +1,9 @@
+diff -uNr rpm-4.13.0.orig/scripts/pythondistdeps.py rpm-4.13.0/scripts/pythondistdeps.py
+--- rpm-4.13.0.orig/scripts/pythondistdeps.py	2016-12-18 12:25:21.287632679 +0100
++++ rpm-4.13.0/scripts/pythondistdeps.py	2016-12-18 12:25:48.857479226 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # -*- coding: utf-8 -*-
+ #
+ # Copyright 2010 Per Øyvind Karlsen <proyvind@moondrake.org>

diff --git a/rpm-4.13.x-pythondistdeps-system-python.patch b/rpm-4.13.x-pythondistdeps-system-python.patch
deleted file mode 100644
index eca743e..0000000
--- a/rpm-4.13.x-pythondistdeps-system-python.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -uNr rpm-4.13.0.orig/scripts/pythondistdeps.py rpm-4.13.0/scripts/pythondistdeps.py
---- rpm-4.13.0.orig/scripts/pythondistdeps.py	2016-12-18 12:25:21.287632679 +0100
-+++ rpm-4.13.0/scripts/pythondistdeps.py	2016-12-18 12:25:48.857479226 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/libexec/system-python
- # -*- coding: utf-8 -*-
- #
- # Copyright 2010 Per Øyvind Karlsen <proyvind@moondrake.org>

diff --git a/rpm.spec b/rpm.spec
index 319c733..780d2d9 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -62,8 +62,8 @@ Patch137: rpm-4.13.x-pythondistdeps.py-show-warning-if-version-is-not-fou.patch
 Patch138: rpm-4.13.x-pythondistdeps.py-skip-.egg-link-files.patch
 Patch139: rpm-4.13.x-pythondistdeps.py-add-forgotten-import.patch
 
-# Fedora-specific (system-python) patch (RHBZ #1405483)
-Patch140: rpm-4.13.x-pythondistdeps-system-python.patch
+# Fedora-specific (python3) patch (RHBZ #1405483)
+Patch140: rpm-4.13.x-pythondistdeps-python3.patch
 
 # These are not yet upstream
 Patch302: rpm-4.7.1-geode-i686.patch

                 reply	other threads:[~2026-11-23  9:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542622954.1.4823552620587669902.rpms-rpm-21fe6e896314@fedoraproject.org \
    --to=i.gnatenko.brain@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox