public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flow-tools] rawhide: Remove old Python 2 cruft
Date: Sat, 27 Jun 2026 16:48:23 GMT [thread overview]
Message-ID: <178257890376.1.1691201316899570335.rpms-flow-tools-b951e8773d4d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flow-tools
Branch : rawhide
Commit : b951e8773d4dbddf91320bc87c1311dbc5885a9e
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-06-27T16:48:05+00:00
Stats : +0/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/flow-tools/c/b951e8773d4dbddf91320bc87c1311dbc5885a9e?branch=rawhide
Log:
Remove old Python 2 cruft
---
diff --git a/flow-tools.spec b/flow-tools.spec
index a235a9b..4e2b507 100644
--- a/flow-tools.spec
+++ b/flow-tools.spec
@@ -70,11 +70,7 @@ libft.
%package rrdtool
Summary: Scripts for flow-tools to build rrd graphs
Requires: %{name} = %{version}-%{release}
-%if 0%{?fedora} >= 31
Requires: python3-rrdtool
-%else
-Requires: python2-rrdtool
-%endif
%description rrdtool
Flow-tools is library and a collection of programs used to collect,
@@ -106,12 +102,8 @@ This package contains additional documentation, such as man pages in html format
%prep
%autosetup -p1
# Remove /bin/env deps
-%if 0%{?fedora} >= 31
sed -i '1s|^#!.*python|#!/usr/bin/python3|' bin/flow*
python3.12 -m lib2to3 --write --nobackups bin/flow*
-%else
-sed -i '1s|^#!.*python|#!/usr/bin/python2|' bin/flow*
-%endif
sed -i '1s|^#!.*perl|#!/usr/bin/perl|' utils/*
# Fix mariadb-connector-c detection
sed -i s/my_init/mysql_init/g configure
reply other threads:[~2026-06-27 16:48 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=178257890376.1.1691201316899570335.rpms-flow-tools-b951e8773d4d@fedoraproject.org \
--to=ksurma@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