public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Also move zsh completion scripts to -tools
Date: Thu, 19 Nov 2026 20:15:53 GMT	[thread overview]
Message-ID: <179511935316.1.17495806343094946641.rpms-systemd-c545cb120afa@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : rawhide
            Commit : c545cb120afa8de75f21ade6ebb664877569781d
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-11-19T21:15:40+01:00
            Stats  : +13/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/c545cb120afa8de75f21ade6ebb664877569781d?branch=rawhide

            Log:
            Also move zsh completion scripts to -tools

[skip changelog]

---
diff --git a/split-files.py b/split-files.py
index f9a5abc..4181e67 100644
--- a/split-files.py
+++ b/split-files.py
@@ -178,9 +178,19 @@ for file in files(buildroot):
     ''', n, re.X):
         o = outputs['sysusers']
 
-    elif (file.name in tools or
-          (n.startswith('/usr/share/man/') and
-           re.sub(r'\.[1-9](?:\.\w+)?$', '', file.name) in tools)):
+    elif (
+            # files with the specified name: the binary and the bash completion script
+            file.name in tools
+            # zsh completion scripts, prefixed with '_'
+            or (n.startswith('/usr/share/zsh/') and
+                re.sub(r'^_', '', file.name) in tools)
+            # compressed or non-compressed man pages
+            or (n.startswith('/usr/share/man/') and
+                re.sub(r'\.[1-9](?:\.\w+)?$', '', file.name) in tools)
+            # shared zsh helpers
+            or (n.startswith('/usr/share/zsh/') and
+                file.name.startswith('_sd_'))
+    ):
         o = outputs['tools']
 
     elif re.search(r'import-pubring', n):

                 reply	other threads:[~2026-11-19 20:15 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=179511935316.1.17495806343094946641.rpms-systemd-c545cb120afa@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