From 64ad761ca4e0f1af8177e55c670af384132938e5 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 5 Jun 2024 12:05:57 +0200 Subject: [PATCH] - don't reqquire bats - Related: RHEL-39410 Signed-off-by: Jindrich Novy --- buildah.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildah.spec b/buildah.spec index 072230d..1e65176 100644 --- a/buildah.spec +++ b/buildah.spec @@ -88,7 +88,9 @@ or Summary: Tests for %{name} Requires: %{name} = %{version}-%{release} +%if %{defined fedora} Requires: bats +%endif Requires: bzip2 Requires: podman Requires: golang @@ -148,7 +150,7 @@ rm %{buildroot}%{_datadir}/%{name}/test/system/tools/build/* %{!?_licensedir:%global license %doc} %files -%license LICENSE +%license LICENSE vendor/modules.txt %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}*