RPM: make bats a weak dep

bats isn't present on RHEL, CentOS Stream and ELN.

Ref: f88186e688 (r159874060)

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2025-06-12 15:49:49 -04:00 committed by Lokesh Mandvekar
parent 54077f5238
commit 654c3fcc9c
No known key found for this signature in database
GPG Key ID: 1C1EDD7CC7C3A0DD

View File

@ -79,7 +79,6 @@ registries without the need to pull them
Summary: Tests for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bats
%if %{defined fakeroot}
Requires: fakeroot
%endif
@ -91,6 +90,8 @@ Requires: crun
Requires: httpd-tools
Requires: openssl
Requires: squashfs-tools
# bats is not present on RHEL and ELN so it shouldn't be a strong dep
Recommends: bats
%description tests
%{summary}