1 Commits

Author SHA256 Message Date
Aleksa Sarai
caaef3f2a7 umoci: update to v0.6.0
* umoci now has automatic SOURCE_DATE_EPOCH support, improving the
  reproducibility of generated images.
* "umoci stat" now provides more information about the image.
* "umoci config" now supports --platform.variant (architecture variants)
  which resolves issues with images on ARM (on ARM systems, "umoci new"
  will auto-fill the host CPU variant).

SUSE-Bugs: https://bugzilla.suse.com/show_bug.cgi?id=1252025
Link: https://github.com/opencontainers/umoci/releases/tag/v0.6.0
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2025-10-16 15:16:42 +11:00
6 changed files with 73 additions and 20 deletions

Binary file not shown.

View File

@@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQS2TklVsp+j1GPyqQYol/rSt+lEbwUCaC157QAKCRAol/rSt+lE
b8WrAP9EZueH/4WSxvxiqma/yMAjXiJ2rnvnu4mGGJtBx0R3KwEA439quJ9QIbAT
9l+OfFIvN5Yrkf0xnezeFhjqY1ZG5wE=
=0EuU
-----END PGP SIGNATURE-----

BIN
umoci-0.6.0.tar.xz LFS Normal file

Binary file not shown.

8
umoci-0.6.0.tar.xz.asc Normal file
View File

@@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
iJEEABYKADkWIQS2TklVsp+j1GPyqQYol/rSt+lEbwUCaO9hVRsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDIACgkQKJf60rfpRG8ruwEA7zL1M3JKrl6PvTkTZrLd
ZfNeWdHLExBMc+0z1sARR8oBAM3t7WrTsJ0hr7/7OA8MoqsiGkcAjeXogLvg51QR
YqoO
=sbzj
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Wed Oct 15 09:05:55 UTC 2025 - Aleksa Sarai <asarai@suse.com>
- Update to umoci v0.6.0. Upstream changelog is available from
<https://github.com/opencontainers/umoci/releases/tag/v0.6.0> bsc#1252025
* umoci now has automatic SOURCE_DATE_EPOCH support, improving the
reproducibility of generated images.
* "umoci stat" now provides more information about theimage.
* "umoci config" now supports --platform.variant (architecture variants)
which resolves issues with images on ARM (on ARM systems, "umoci new" will
auto-fill the host CPU variant).
- Remove upstreamed patches:
- 0001-oci-config-gracefully-fallback-if-etc-resolv.conf-do.patch
- Bump to Go >= 1.24.
- Switch to "%autosetup -p1".
-------------------------------------------------------------------
Mon Sep 8 02:26:12 UTC 2025 - Aleksa Sarai <asarai@suse.com>
- Add smoke-test for "umoci --version" in %check.
-------------------------------------------------------------------
Sat Sep 6 18:01:57 UTC 2025 - Aleksa Sarai <asarai@suse.com>
- Add %check section to run "go test".
- Add backport of <https://github.com/opencontainers/umoci/pull/617> to let "go
test" run in OBS (where /etc/resolv.conf doesn't exist).
+ 0001-oci-config-gracefully-fallback-if-etc-resolv.conf-do.patch
-------------------------------------------------------------------
Sat Sep 6 17:20:18 UTC 2025 - Aleksa Sarai <asarai@suse.com>
- Update to umoci v0.5.1. Upstream changelog is available from
<https://github.com/opencontainers/umoci/releases/tag/v0.5.1> bsc#1249450
* For images with an empty index.json, umoci will no longer incorrectly set
the manifests entry to null.
* umoci will now produce an error for images with negative-sized descriptors,
based on recent discussions in the upstream image-spec.
* Use go:embed to fill umoci --version information from VERSION.
* Stop using oci-image-tools for integration tests, instead use some smoke
tests and the docker-library-maintained meta-scripts.
This release is dedicated to our cat Yuki who sadly passed away on Friday.
Most of the code I've written in the past four years was written with him
purring away on my chest, and he was the most loving cat I've ever met. Rest
in peace, little buddy. I hope you enjoyed your time with us, and I'll always
keep you in my heart.
-------------------------------------------------------------------
Wed May 21 07:19:13 UTC 2025 - Aleksa Sarai <asarai@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package umoci
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define project github.com/opencontainers/umoci
Name: umoci
Version: 0.5.0
Version: 0.6.0
Release: 0
Summary: Open Container Image manipulation tool
License: Apache-2.0
@@ -30,7 +30,7 @@ Source0: https://github.com/opencontainers/umoci/releases/download/v%{ver
Source1: https://github.com/opencontainers/umoci/releases/download/v%{version}/umoci.tar.xz.asc#/%{name}-%{version}.tar.xz.asc
Source2: https://umo.ci/%{name}.keyring
BuildRequires: fdupes
BuildRequires: go >= 1.23
BuildRequires: go >= 1.24
BuildRequires: go-go-md2man
ExcludeArch: s390
@@ -40,16 +40,11 @@ images. In particular, it is a more complete alternative to oci-image-tools
provided by the OCI.
%prep
%setup -q
%autosetup -p1
%build
export VERSION="$(cat ./VERSION)"
if [ "$VERSION" != "%{version}" ]; then
# Append "_suse" if the version is not an upstream one.
VERSION="%{version}_suse"
fi
# Build umoci and docs.
make VERSION="$VERSION" umoci docs
make umoci docs
# Make sure that our keyring copy is identical to upstream.
our_keyring=$(sha256sum <"%{SOURCE2}")
@@ -71,6 +66,14 @@ done
%fdupes %{buildroot}
%check
# make sure umoci --version is useful
tmpfile="$(mktemp --tmpdir umoci-version.XXXXXX)"
./umoci --version | tee "$tmpfile"
grep -q '^umoci version %{version}$' "$tmpfile"
# unit tests
go test -timeout 3m -v ./...
%files
%defattr(-,root,root)
%doc README.md CHANGELOG.md doc/*