## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # https://github.com/opencontainers/umoci %global goipath github.com/opencontainers/umoci Name: umoci Version: 0.6.0 Release: %autorelease Summary: Open Container Image manipulation tool # Main source code is Apache-2.0 # see comments above bundled provides for a breakdown of the rest License: Apache-2.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC URL: https://umo.ci Source0: https://%{goipath}/archive/v%{version}/umoci-%{version}.tar.gz Source1: umoci-%{version}-vendor.tar.gz Source2: create-vendor-tarball.sh BuildRequires: go-md2man BuildRequires: go-rpm-macros BuildRequires: golang >= 1.23 ExclusiveArch: %{golang_arches_future} # Apache-2.0: Provides: bundled(golang(github.com/AdaLogics/go-fuzz-headers)) = 43070de Provides: bundled(golang(github.com/docker/go-units)) = 0.5.0 Provides: bundled(golang(github.com/moby/sys/user)) = 0.4.0 Provides: bundled(golang(github.com/moby/sys/userns)) = 0.1.0 Provides: bundled(golang(github.com/opencontainers/go-digest)) = 1.0.0 Provides: bundled(golang(github.com/opencontainers/image-spec)) = 1.0.2 Provides: bundled(golang(github.com/opencontainers/runtime-spec)) = 1c3f411 Provides: bundled(golang(github.com/rootless-containers/proto/go-proto)) = 4cd87eb # Apache-2.0 AND MIT: Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1 # BSD-2-Clause: Provides: bundled(golang(github.com/pkg/errors)) = 0.9.1 Provides: bundled(golang(github.com/russross/blackfriday/v2)) = 2.1.0 Provides: bundled(golang(gopkg.in/check.v1)) = 8fa4692 # BSD-3-Clause: Provides: bundled(golang(github.com/cyphar/filepath-securejoin)) = 0.4.1 Provides: bundled(golang(github.com/klauspost/compress)) = 1.11.3 Provides: bundled(golang(github.com/klauspost/pgzip)) = 1.2.6 Provides: bundled(golang(github.com/pmezard/go-difflib)) = 1.0.0 Provides: bundled(golang(github.com/vbatts/go-mtree)) = 0.5.4 Provides: bundled(golang(golang.org/x/crypto)) = 0.37.0 Provides: bundled(golang(golang.org/x/sys)) = 0.33.0 Provides: bundled(golang(google.golang.org/protobuf)) = 1.36.6 # ISC: Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1 # MIT: Provides: bundled(golang(github.com/apex/log)) = 1.9.0 Provides: bundled(golang(github.com/blang/semver/v4)) = 4.0.0 Provides: bundled(golang(github.com/cpuguy83/go-md2man/v2)) = 2.0.4 Provides: bundled(golang(github.com/fatih/color)) = 1.17.0 Provides: bundled(golang(github.com/kr/text)) = 0.2.0 Provides: bundled(golang(github.com/mattn/go-colorable)) = 0.1.13 Provides: bundled(golang(github.com/mattn/go-isatty)) = 0.0.20 Provides: bundled(golang(github.com/mohae/deepcopy)) = c48cc78 Provides: bundled(golang(github.com/niemeyer/pretty)) = a10e7ca Provides: bundled(golang(github.com/sirupsen/logrus)) = 1.9.3 Provides: bundled(golang(github.com/stretchr/testify)) = 1.10.0 Provides: bundled(golang(github.com/urfave/cli)) = 1.22.12 %description %{expand: umoci (pronounced /uːmoˈʨi/ or approximately "oo-mo-tchee") is a reference implementation of the OCI image specification and provides users with the ability to create, manipulate, and otherwise interact with container images. It is designed to be as small and unopinonated as possible, so as to act as a foundation for larger systems to be built on top of.} %prep %autosetup mkdir -p src/$(dirname %{goipath}) ln -s $PWD src/%{goipath} %build export GOPATH=$PWD export GO_LDFLAGS="-X %{goipath}.version=%{version}-%{release}" %gobuild -o bin/umoci %{goipath}/cmd/umoci for manpage in doc/man/*.md; do go-md2man -in ${manpage} > ${manpage/.md/} done %install install -Dpm 0755 -t %{buildroot}%{_bindir} bin/umoci install -d %{buildroot}%{_mandir}/man1 cp -p doc/man/*.1 %{buildroot}%{_mandir}/man1/ %check export GOPATH=$PWD cd src/%{goipath} %gotest ./... %files %license COPYING contrib/logo/LICENSE %doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md README.md %doc RELEASES.md MAINTAINERS %{_bindir}/umoci %{_mandir}/man1/umoci*.1.* %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Nov 28 2025 Robby Callicotte - 0.6.0-1 - Update to 0.6.0 * Fri Nov 28 2025 Robby Callicotte - 0.5.0-1 - Initial package rhbz#2391155 ## END: Generated by rpmautospec