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

            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-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: 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