From 1363f3e0e1522800f9ed5e13334d237c1ace0b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 19 Dec 2024 15:58:21 +0100 Subject: [PATCH] Own /var/lib/dnf by libdnf5 DNF5 uses that directory at least for storing countme cookies. This patch does not install that directory because /var is effemeral on bootc systems (see commit 5cc72c6c490c82604d83fc8d8ec262d854617d2d). Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2332856 Related: #1968 --- dnf5.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/dnf5.spec b/dnf5.spec index 3bed0af0e..08112d8f0 100644 --- a/dnf5.spec +++ b/dnf5.spec @@ -393,6 +393,7 @@ Package management library. %{_libdir}/libdnf5.so.2* %license lgpl-2.1.txt %ghost %attr(0755, root, root) %dir %{_var}/cache/libdnf5 +%ghost %attr(0755, root, root) %dir %{_sharedstatedir}/dnf # ========== libdnf5-cli ==========