9 Commits

Author SHA256 Message Date
fe0eb9ad8f Accepting request 1311474 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1311474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umoci?expand=0&rev=24
2025-10-16 15:38:07 +00:00
7a8b94014e - Bump to Go >= 1.24.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=70
2025-10-15 10:50:20 +00:00
97cc4ea02b - 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
- Switch to "%autosetup -p1".

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=69
2025-10-15 09:13:51 +00:00
b086e251ad Accepting request 1304091 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1304091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umoci?expand=0&rev=23
2025-09-11 14:40:32 +00:00
9423c6f73b Add bsc#1249450 reference.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=67
2025-09-11 13:44:14 +00:00
17cab51d75 Accepting request 1303107 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1303107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umoci?expand=0&rev=22
2025-09-08 07:56:30 +00:00
a55499d19f - Add smoke-test for "umoci --version" in %check.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=65
2025-09-08 02:59:11 +00:00
d835599599 - 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=64
2025-09-06 18:05:08 +00:00
ce44262ad7 - Update to umoci v0.5.1. Upstream changelog is available from
<https://github.com/opencontainers/umoci/releases/tag/v0.5.1>

  * 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=63
2025-09-06 17:26:34 +00:00
6 changed files with 74 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,53 @@
-------------------------------------------------------------------
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/*