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

            A new commit has been pushed.

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

            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 5cbe323..bbfba01 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
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-20

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 14:29 [rpms/arptables] f44: 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