public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Invoke python2 explicitly from test-suite to unbreak build
Date: Mon, 23 Nov 2026 09:31:55 GMT [thread overview]
Message-ID: <179542631500.1.1683400264648165362.rpms-rpm-8b3e871c1fbf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 8b3e871c1fbf2946dfbfe0b418c496bb7a4a074f
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2018-06-29T11:16:01+03:00
Stats : +20/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/8b3e871c1fbf2946dfbfe0b418c496bb7a4a074f?branch=pmatilai-v6
Log:
Invoke python2 explicitly from test-suite to unbreak build
---
diff --git a/rpm-4.14.1-explicit-python2.patch b/rpm-4.14.1-explicit-python2.patch
new file mode 100644
index 0000000..8eec835
--- /dev/null
+++ b/rpm-4.14.1-explicit-python2.patch
@@ -0,0 +1,12 @@
+diff -up rpm-4.14.1/tests/local.at.python2 rpm-4.14.1/tests/local.at
+--- rpm-4.14.1/tests/local.at.python2 2018-06-29 11:11:42.716541572 +0300
++++ rpm-4.14.1/tests/local.at 2017-09-06 14:58:13.034317976 +0300
+@@ -17,7 +17,7 @@ def myprint(msg = ''):
+ sys.stdout.write('%s\n' % msg)
+ $1
+ EOF
+-python2 test.py
++python test.py
+ ]])
+
+ m4_define([RPMPY_CHECK],[
diff --git a/rpm.spec b/rpm.spec
index f329969..7863ade 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,7 +23,7 @@
%global rpmver 4.14.1
#global snapver rc2
-%global rel 11
+%global rel 12
%global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -74,6 +74,10 @@ Patch7: rpm-4.14.1-Add-envvar-that-will-be-present-during-RPM-build.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1581224
Patch8: 4.14.1-find-debuginfo-pie.patch
+# More Python 3 fallout, invoke python2 explicitly to avoid deprecation
+# warnings breaking the test-suite
+Patch9: rpm-4.14.1-explicit-python2.patch
+
# Patches already upstream:
# These are not yet upstream
@@ -605,6 +609,9 @@ make check || cat tests/rpmtests.log
%doc doc/librpm/html/*
%changelog
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-12
+- Invoke python2 explicitly from test-suite to unbreak build
+
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-11
- Remove direct ldconfig calls, use compat macros instead
reply other threads:[~2026-11-23 9:31 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=179542631500.1.1683400264648165362.rpms-rpm-8b3e871c1fbf@fedoraproject.org \
--to=pmatilai@redhat.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