public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/arptables] f43: Expand globbing in %ghost directives
@ 2026-09-29 15:24 Phil Sutter
  0 siblings, 0 replies; only message in thread
From: Phil Sutter @ 2026-09-29 15:24 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/arptables
            Branch : f43
            Commit : c6a692e3e21d4a3e8dad5410e355b0c9ffffe70e
            Author : Phil Sutter <psutter@redhat.com>
            Date   : 2026-09-29T17:23:28+02:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/arptables/c/c6a692e3e21d4a3e8dad5410e355b0c9ffffe70e?branch=f43

            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 7da86f5..7e94469 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 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-18

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-29 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 15:24 [rpms/arptables] f43: Expand globbing in %ghost directives Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox