diff --git a/podman.spec b/podman.spec index 78f7b32..6341a15 100644 --- a/podman.spec +++ b/podman.spec @@ -80,11 +80,14 @@ Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcom # TODO: remove these after https://github.com/containers/podman/pull/26183 # is merged +# Not needed on upstream PR copr builds +%if !%{defined copr_build} Source1: 220-healthcheck.bats Source2: 252-quadlet.bats Source3: 255-auto-update.bats Source4: 520-checkpoint.bats Source5: helpers.bash +%endif Provides: %{name}-manpages = %{epoch}:%{version}-%{release} BuildRequires: %{_bindir}/envsubst @@ -237,11 +240,13 @@ sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile sed -i '/DELETE ON RHEL9/,/DELETE ON RHEL9/d' libpod/runtime.go %endif +%if !%{defined copr_build} cp %{SOURCE1} test/system/. cp %{SOURCE2} test/system/. cp %{SOURCE3} test/system/. cp %{SOURCE4} test/system/. cp %{SOURCE5} test/system/. +%endif # These changes are only meant for copr builds %if %{defined copr_build}