skopeo-2:1.18.1-2.el9

- Fix bats dep on tests subpackage
- Resolves: RHEL-80616

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2025-03-14 16:51:16 +05:30
parent d1ed0a1252
commit 5fe4436d88
No known key found for this signature in database
GPG Key ID: 1C1EDD7CC7C3A0DD

View File

@ -16,6 +16,7 @@
# No btrfs on RHEL
%if %{defined fedora}
%define build_with_btrfs 1
%define requires_bats 1
%endif
%if %{defined rhel}
@ -25,7 +26,7 @@
Name: skopeo
Epoch: 2
Version: 1.18.1
Release: 1%{?dist}
Release: 2%{?dist}
# The `AND` needs to be uppercase in the License for SPDX compatibility
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
%if %{defined golang_arches_future}
@ -66,7 +67,11 @@ registries without the need to pull them
Summary: Tests for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
%if %{defined requires_bats}
Requires: bats
%else
Recommends: bats
%endif
Requires: gnupg
Requires: jq
Requires: golang
@ -159,6 +164,10 @@ cp -pav systemtest/* %{buildroot}/%{_datadir}/%{name}/test/system/
%{_datadir}/%{name}/test
%changelog
* Fri Mar 14 2025 Lokesh Mandvekar <lsm5@redhat.com> - 2:1.18.1-2
- Fix bats dep on tests subpackage
- Resolves: RHEL-80616
* Fri Mar 14 2025 Jindrich Novy <jnovy@redhat.com> - 2:1.18.1-1
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.18
(https://github.com/containers/skopeo/commit/bfd0850)