public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/arptables] f45: Expand globbing in %ghost directives
@ 2026-09-29 14:15 Phil Sutter
0 siblings, 0 replies; only message in thread
From: Phil Sutter @ 2026-09-29 14:15 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 14:15 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:15 [rpms/arptables] f45: 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