public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Phil Sutter <psutter@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/arptables] f45: Expand globbing in %ghost directives
Date: Tue, 29 Sep 2026 14:15:58 GMT	[thread overview]
Message-ID: <179069135818.1.11437528829753313807.rpms-arptables-0bc331d297e6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/arptables
            Branch : f45
            Commit : 0bc331d297e6a3c1b5e7c96ec627ea8d42c59f80
            Author : Phil Sutter <psutter@redhat.com>
            Date   : 2026-09-29T16:12:14+02:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/arptables/c/0bc331d297e6a3c1b5e7c96ec627ea8d42c59f80?branch=f45

            Log:
            Expand globbing in %ghost directives

Since the install directory does not have files with matching names,
rpmbuild won't expand the globs and thus creates phony entries.

Fixes: 664b11b16eb05 ("Keep symlinks managed by alternatives under /usr/bin")
(cherry picked from commit f31e51ddc5a3470ec6af4d16a758defcccc7b2b4)

---
diff --git a/arptables.spec b/arptables.spec
index fad92b4..8cd06a1 100644
--- a/arptables.spec
+++ b/arptables.spec
@@ -79,8 +79,12 @@ fi
 %license COPYING
 %{_sbindir}/arptables-legacy*
 %{_mandir}/*/arptables-legacy*
-%ghost %attr(0755,root,root) %{_sbindir}/arptables{,-save,-restore}
-%ghost %attr(0644,root,root) %{_mandir}/man8/arptables{,-save,-restore}.8.gz
+%ghost %attr(0755,root,root) %{_sbindir}/arptables
+%ghost %attr(0755,root,root) %{_sbindir}/arptables-save
+%ghost %attr(0755,root,root) %{_sbindir}/arptables-restore
+%ghost %attr(0644,root,root) %{_mandir}/man8/arptables.8.gz
+%ghost %attr(0644,root,root) %{_mandir}/man8/arptables-save.8.gz
+%ghost %attr(0644,root,root) %{_mandir}/man8/arptables-restore.8.gz
 
 %changelog
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-21

                 reply	other threads:[~2026-09-29 14: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=179069135818.1.11437528829753313807.rpms-arptables-0bc331d297e6@fedoraproject.org \
    --to=psutter@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