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

            A new commit has been pushed.

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

            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-30 20:52 UTC | newest]

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