From be5377fc2b8a07ad5c3b89423965a3953c903fd6 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 26 Aug 2022 11:10:21 -0400 Subject: [PATCH] Packit: remove files installed by unreleased versions Signed-off-by: Lokesh Mandvekar --- podman.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/podman.spec b/podman.spec index 56a4330..9bcaa53 100644 --- a/podman.spec +++ b/podman.spec @@ -370,6 +370,13 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/ #define license tag if not already defined %{!?_licensedir:%global license %doc} +# PACKIT PACKIT PACKIT PACKIT PACKIT PACKIT PACKIT PACKIT PACKIT PACKIT +# These files will be installed by unreleased versions of %%{name} and upstream is +# not comfy with a patch using packit's fix-spec-files action so let's remove the file here. +# The packager will need to revisit this section on every upstream release. +# See: https://github.com/containers/podman/pull/15457#discussion_r955423853 +rm -f %{buildroot}%{_datadir}/user-tmpfiles.d/%{name}-docker.conf + %files -f %{name}.file-list %license LICENSE %doc README.md CONTRIBUTING.md install.md transfer.md