public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/snapm] rawhide: Make /var/cache/snapm %ghost in snapm.spec
@ 2026-11-18 12:28 Bryn M. Reeves
  0 siblings, 0 replies; only message in thread
From: Bryn M. Reeves @ 2026-11-18 12:28 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/snapm
            Branch : rawhide
            Commit : b9dfa52aa0564cddfa30c0a96f6028825e4731a8
            Author : Bryn M. Reeves <bmr@redhat.com>
            Date   : 2026-11-17T19:04:42+00:00
            Stats  : +1/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/snapm/c/b9dfa52aa0564cddfa30c0a96f6028825e4731a8?branch=rawhide

            Log:
            Make /var/cache/snapm %ghost in snapm.spec

The /var/cache/snapm path is created in the snapm.conf tmpfiles.d
drop-in but is not currently accounted for in the spec file.

---
diff --git a/snapm.spec b/snapm.spec
index 7eb99e9..1847214 100644
--- a/snapm.spec
+++ b/snapm.spec
@@ -122,6 +122,7 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_tmpfilesdir}
 %dir %{_rundir}/%{name}/mounts
 %dir %{_rundir}/%{name}/mount-state
 %dir %{_rundir}/%{name}/lock
+%ghost %dir %attr(0700, root, root) /var/cache/%{name}
 
 %files -n python3-snapm
 # license for snapm (Apache-2.0)

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

only message in thread, other threads:[~2026-11-18 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 12:28 [rpms/snapm] rawhide: Make /var/cache/snapm %ghost in snapm.spec Bryn M. Reeves

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