Accepting request 816888 from home:cyphar:umoci

- Update to umoci v0.4.6.

  umoci has been adopted by the Open Container Initative as a reference
  implementation of the OCI Image Specification. This will have little impact
  on the roadmap or scope of umoci, but it does further solidify umoci as a
  useful piece of "boring container infrastructure" that can be used to build
  larger systems.

  > **NOTICE**: As part of the adoption procedure, the import path and module
  > name of umoci has changed from `github.com/openSUSE/umoci` to
  > `github.com/opencontainers/umoci`. This means that users of our (still
  > unstable) Go API will have to change their import paths in order to update
  > to newer versions of umoci.
  >
  > The old GitHub project will contain a snapshot of `v0.4.5` with a few
  > minor changes to the readme that explain the situation. Go projects which
  > import import the archived project will receive build warnings that
  > explain the need to update their import paths.

  + umoci now builds on MacOS, and we currently run the unit tests on MacOS to
    hopefully catch core regressions (in the future we will get the
    integration tests running to catch more possible regressions).
    opencontainers/umoci#318
  * Suppress repeated xattr warnings on destination filesystems that do not
    support xattrs. opencontainers/umoci#311
  * Work around a long-standing issue in our command-line parsing library (see
    urfave/cli#1152) by disabling argument re-ordering for `umoci config`,
    which often takes `-`-prefixed flag arguments. opencontainers/umoci#328
  * For details, see CHANGELOG.md in the package.

OBS-URL: https://build.opensuse.org/request/show/816888
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/umoci?expand=0&rev=49
This commit is contained in:
Aleksa Sarai 2020-06-24 20:35:56 +00:00 committed by Git OBS Bridge
parent 37fc8fee82
commit e7017abdd3
6 changed files with 63 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa84f8e6f3c4a7ec40b9c829372c416993c4cc3acedcd893f7ce7c4aeff63e74
size 1472948

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJDBAABCAAtFiEEXzbGxhtUYBJKdfWmnhiqJn3bjbQFAl3mb4APHGFzYXJhaUBz
dXNlLmRlAAoJEJ4YqiZ92420lh8P/3hE5OLfPQ9vF/g//2adTjpp38rhlNtumQhQ
2YADrFRzvlGN4ylaHOdBADcIwJBCfbz/S34xyxTwDDJ0VLaHhsGP0VyPVTa8Jpoa
Kk6cyRkWMfapIvox2ELhLPC4/Mp5jP7r05hE5z5xk2xJ5uow6/Mpjt4xP6jUli6g
Prjm696n+WvEOL43pHC7m7wFbln78IaWGH/JAVMQSkU3qT4SFq1AM6pbMqR4zyxt
O34muqx0y69ut5hUZn1GgmYFkbiqR1OpM9+nl12RZcQHryBmCdpbmTqxyP81OBWq
c/oS8Fc5OkOGh7weoa2gSyj7okNXTWwvD8A+3xrdfAwXFEOa6pARtdRyKnZ6ds5T
gE2xz2FyHzxemQlJC2KiYMvsFm0qQF+V66BMVmBNCl3JPx4EYwOfbY9SuHi5Xc3P
/HfjcZGQovfZ0/BJwoJ2jJwqztL6S0g0ARVGq9WUuon7NSEeGauERV68ZS0xmM+y
8GHK8qkFoNMF2ztqIatFjlKMB9AyN+5lhboJACInEXLI3gvs6E/+qSc0DxvRRGmj
xsqbqxAtDtvVAMy7zud06MzygDW7NAhSCy3vtsIVmSiyV+MidQK3WAA9LPbrBBsG
ZbRDfPLx1jCr72WamqNFiUz5f7tU43Dotfnn8H7it5rt4f+tFG0zDm31Hh4j6yov
BRXG8Hp5
=I42P
-----END PGP SIGNATURE-----

3
umoci-0.4.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0b495ee61781c23ad9f0e1f431646cfd74fa10ca35f0547004c7b6cb9eb071b
size 1546000

16
umoci-0.4.6.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXzbGxhtUYBJKdfWmnhiqJn3bjbQFAl7ynQoACgkQnhiqJn3b
jbRvhA/8Cy+8BejZaClgcn8gedWP70wAGDirhuJUbpxTIoBOPUxl5LK1q/K7AvqL
VKDJLXQpAuVDTivER10IC/daL04J/3aNGKE+IwaLPG0spwyR4l8xuJAmMCB04dev
tha0lrxyK6XygRYm5QHxJfSVEBfMfxY3LPeSVFDg4cIFNlr1jl3inGDPEMYftXy5
pjNspsWgsIciUMadc+EzTiDwoY+EQjDLJP5V5kiDJQc/GoJclCIdLPYPzLsMwonv
VEWZ8M5uplZ/5GyfEjcuiH2uyYojooHltWR6fa0aNE+2+oMHhH6l+MVFxvOSjVTi
Z+8Y0SH9duJ6cTpXgFJvknGRjoB6kaMPkroLQtKjxNNuziuuRwUwobp6B6971yjE
/TUVokPMQuoWcVk2TIg59P3IYTHoeU3etp/d1WIvVPy5jBtbU+msrgwuUBZzDyls
ehuLGL+PbG3MrgwC1vJeUVQjmr49sXkneg6KtvQcIK6fGXHYH5GVlciWr9M3OaTd
cI9riQQLHm/j3CwCAd1nluf77PH6aYmkFUPJ6rymH1Hxv2yJaMi1JweNcgismPVA
PIncI+ozOllUYyB/WsTThwYIvt8k0dl1uhtVMUdUQtymgtI/tSEwANJ0T7b4j87c
0qzHQlwU0mrF3HtOZj3U+wNA0k5jRRWjKN03rcmXDx4zDXubn7s=
=q4px
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Jun 24 00:27:44 UTC 2020 - Aleksa Sarai <asarai@suse.com>
- Update to umoci v0.4.6.
umoci has been adopted by the Open Container Initative as a reference
implementation of the OCI Image Specification. This will have little impact
on the roadmap or scope of umoci, but it does further solidify umoci as a
useful piece of "boring container infrastructure" that can be used to build
larger systems.
> **NOTICE**: As part of the adoption procedure, the import path and module
> name of umoci has changed from `github.com/openSUSE/umoci` to
> `github.com/opencontainers/umoci`. This means that users of our (still
> unstable) Go API will have to change their import paths in order to update
> to newer versions of umoci.
>
> The old GitHub project will contain a snapshot of `v0.4.5` with a few
> minor changes to the readme that explain the situation. Go projects which
> import import the archived project will receive build warnings that
> explain the need to update their import paths.
+ umoci now builds on MacOS, and we currently run the unit tests on MacOS to
hopefully catch core regressions (in the future we will get the
integration tests running to catch more possible regressions).
opencontainers/umoci#318
* Suppress repeated xattr warnings on destination filesystems that do not
support xattrs. opencontainers/umoci#311
* Work around a long-standing issue in our command-line parsing library (see
urfave/cli#1152) by disabling argument re-ordering for `umoci config`,
which often takes `-`-prefixed flag arguments. opencontainers/umoci#328
* For details, see CHANGELOG.md in the package.
-------------------------------------------------------------------
Tue Dec 3 15:44:35 UTC 2019 - Aleksa Sarai <asarai@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package umoci
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -14,29 +14,26 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nodebuginfo
# Remove stripping of Go binaries.
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
# Project name when using go tooling.
%define project github.com/openSUSE/umoci
%define project github.com/opencontainers/umoci
Name: umoci
Version: 0.4.5
Version: 0.4.6
Release: 0
Summary: Open Container Image manipulation tool
License: Apache-2.0
Group: System/Management
URL: https://umo.ci
Source0: https://github.com/openSUSE/umoci/releases/download/v%{version}/umoci.tar.xz#/%{name}-%{version}.tar.xz
Source1: https://github.com/openSUSE/umoci/releases/download/v%{version}/umoci.tar.xz.asc#/%{name}-%{version}.tar.xz.asc
Source0: https://github.com/opencontainers/umoci/releases/download/v%{version}/umoci.tar.xz#/%{name}-%{version}.tar.xz
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.6
# Due to a limitation in openSUSE's Go packaging we cannot have a BuildRequires
# for 'golang(API) >= 1.13' here, so just require 1.13 exactly. bsc#1172608
BuildRequires: go-go-md2man
ExcludeArch: s390
BuildRequires: go1.14
%description
umoci modifies Open Container images. umoci is a manipulation tool for OCI
@ -47,24 +44,13 @@ provided by the OCI.
%setup -q
%build
# We can't use symlinks here because go-list gets confused by symlinks, so we
# have to copy the source to $HOME/go and then use that as the GOPATH.
export GOPATH=$HOME/go
mkdir -pv $HOME/go/src/%{project}
rm -rf $HOME/go/src/%{project}/*
cp -ar * $HOME/go/src/%{project}
export VERSION="$(cat ./VERSION)"
if [ "$VERSION" != "%{version}" ]; then
# Append "_suse" if the version is not an upstream one.
VERSION="%{version}_suse"
fi
# Build the binary.
make VERSION="$VERSION" umoci
# Build the docs if we have go-md2man.
make local-doc
# Build umoci and docs.
make VERSION="$VERSION" umoci docs
%install
# Install the binary.