diff --git a/podman.spec b/podman.spec index dab5a08..88a4760 100644 --- a/podman.spec +++ b/podman.spec @@ -29,11 +29,14 @@ Source2: https://github.com/containers/dnsname/archive/%{commit_dnsname}/dnsname # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures # NOTE: Delete these sources after # https://github.com/containers/podman/pull/26183 merges +# Not needed for copr builds on upstream PRs +%if !%{defined copr_username} Source3: 220-healthcheck.bats Source4: 252-quadlet.bats Source5: 255-auto-update.bats Source6: 520-checkpoint.bats Source7: helpers.bash +%endif ExclusiveArch: %{go_arches} Provides: %{name}-manpages = %{epoch}:%{version}-%{release} Obsoletes: %{name}-manpages < %{epoch}:%{version}-%{release} @@ -167,11 +170,13 @@ sed -i '$d' configure.ac popd tar fx %{SOURCE2} +%if !%{defined copr_username} cp %{SOURCE3} test/system/. cp %{SOURCE4} test/system/. cp %{SOURCE5} test/system/. cp %{SOURCE6} test/system/. cp %{SOURCE7} test/system/. +%endif # cgroups-v1 is supported on rhel9 %if 0%{?rhel} == 9