public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] f45: Specify tools list without the full paths
Date: Thu, 19 Nov 2026 14:11:12 GMT [thread overview]
Message-ID: <179509747270.1.12650179422432235898.rpms-systemd-5a33cc16f586@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/systemd
Branch : f45
Commit : 5a33cc16f586ac277ee16a9b2e0654214240bd5d
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-11-19T15:10:05+01:00
Stats : +20/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/systemd/c/5a33cc16f586ac277ee16a9b2e0654214240bd5d?branch=f45
Log:
Specify tools list without the full paths
[skip changelog]
---
diff --git a/split-files.py b/split-files.py
index 3ebd1fb..3d0fba9 100644
--- a/split-files.py
+++ b/split-files.py
@@ -47,26 +47,25 @@ known_files = '''
known_files = {line.split()[-1]:line for line in known_files.splitlines()
if line and not line.startswith('#')}
-tool_paths = {
- '/usr/bin/portablectl',
- '/usr/bin/systemctl',
- '/usr/bin/systemd-cat',
- '/usr/bin/systemd-creds',
- '/usr/bin/systemd-delta',
- '/usr/bin/systemd-detect-virt',
- '/usr/bin/systemd-escape',
- '/usr/bin/systemd-id128',
- '/usr/bin/systemd-inhibit',
- '/usr/bin/systemd-notify',
- '/usr/bin/systemd-path',
- '/usr/bin/systemd-repart',
- '/usr/bin/systemd-tmpfiles',
- '/usr/bin/varlinkctl',
- '/usr/lib/systemd/systemd-keyutil',
- '/usr/lib/systemd/systemd-measure',
- '/usr/lib/systemd/systemd-sbsign',
+tools = {
+ 'portablectl',
+ 'systemctl',
+ 'systemd-cat',
+ 'systemd-creds',
+ 'systemd-delta',
+ 'systemd-detect-virt',
+ 'systemd-escape',
+ 'systemd-id128',
+ 'systemd-inhibit',
+ 'systemd-keyutil',
+ 'systemd-measure',
+ 'systemd-notify',
+ 'systemd-path',
+ 'systemd-repart',
+ 'systemd-sbsign',
+ 'systemd-tmpfiles',
+ 'varlinkctl',
}
-tool_manpages = {os.path.basename(p) for p in tool_paths}
def files(root):
os.chdir(root)
@@ -178,9 +177,9 @@ for file in files(buildroot):
''', n, re.X):
o = outputs['sysusers']
- elif (n in tool_paths or
+ elif (file.name in tools or
(n.startswith('/usr/share/man/') and
- re.sub(r'\.[1-9](?:\.\w+)?$', '', file.name) in tool_manpages)):
+ re.sub(r'\.[1-9](?:\.\w+)?$', '', file.name) in tools)):
o = outputs['tools']
elif re.search(r'import-pubring', n):
reply other threads:[~2026-11-19 14:11 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=179509747270.1.12650179422432235898.rpms-systemd-5a33cc16f586@fedoraproject.org \
--to=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