commit:     a4bfca8bdd9d5ab81ff499e9e2eb8ef9b8fa8ed3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 23:15:08 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 23:18:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4bfca8b

dev-util/ostree: use tmpfiles.eclass

Closes: https://bugs.gentoo.org/890947
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-util/ostree/{ostree-2022.7.ebuild => ostree-2022.7-r1.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-util/ostree/ostree-2022.7.ebuild 
b/dev-util/ostree/ostree-2022.7-r1.ebuild
similarity index 95%
rename from dev-util/ostree/ostree-2022.7.ebuild
rename to dev-util/ostree/ostree-2022.7-r1.ebuild
index 87bec56cdc45..0bcffeafb6bb 100644
--- a/dev-util/ostree/ostree-2022.7.ebuild
+++ b/dev-util/ostree/ostree-2022.7-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools systemd
+inherit autotools systemd tmpfiles
 
 DESCRIPTION="Operating system and container binary deployment and upgrades"
 HOMEPAGE="https://ostreedev.github.io/ostree/";
@@ -111,3 +111,7 @@ src_install() {
        default
        find "${D}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+       tmpfiles_process ostree-tmpfiles.conf
+}

Reply via email to