public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/snapm] rawhide: Invoke %tmpfiles_create in %post
@ 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 : edf05db3d5e58be1e59ae3ea65e26ae33a283f61
            Author : Bryn M. Reeves <bmr@redhat.com>
            Date   : 2026-11-17T19:04:42+00:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/snapm/c/edf05db3d5e58be1e59ae3ea65e26ae33a283f61?branch=rawhide

            Log:
            Invoke %tmpfiles_create in %post

Make sure tmpfiles.d drop-ins are executed post-install.

---
diff --git a/snapm.spec b/snapm.spec
index 1847214..cdeb266 100644
--- a/snapm.spec
+++ b/snapm.spec
@@ -124,6 +124,9 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_tmpfilesdir}
 %dir %{_rundir}/%{name}/lock
 %ghost %dir %attr(0700, root, root) /var/cache/%{name}
 
+%post
+%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
+
 %files -n python3-snapm
 # license for snapm (Apache-2.0)
 %license LICENSE

^ 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: Invoke %tmpfiles_create in %post 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