diff --git a/release-1.4-01e51ce.tar.gz b/skopeo-1.5.2-8a88191.tar.gz similarity index 43% rename from release-1.4-01e51ce.tar.gz rename to skopeo-1.5.2-8a88191.tar.gz index 50118c73f944df1df63a44daabb200a74010e980..b56618d556f938ba41336ad12c8d163cc2b4b673 100644 Binary files a/release-1.4-01e51ce.tar.gz and b/skopeo-1.5.2-8a88191.tar.gz differ diff --git a/skopeo.spec b/skopeo.spec index ee8a29ad974bd7b93c68c7f9ae5d055df7c7c3ea..3047eefad42e877b18e3ad504bd9488fbf953989 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -1,5 +1,3 @@ -%global _lto_cflags %{nil} - %global with_check 0 %global _find_debuginfo_dwz_opts %{nil} @@ -12,18 +10,17 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl %define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v %{?**}; %endif -%global import_path github.com/containers/skopeo -%global branch release-1.4 -%global commit0 01e51ce610e3cfe1230a10af982e962c4ad1c990 -%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7}) +%global import_path github.com/containers/%{name} +%global commit0 8a88191c844a35cd54048c34bee3a6656ed5df5f +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) -Epoch: 1 +Epoch: 2 Name: skopeo -Version: 1.4.2 -Release: 0.1%{?dist} +Version: 1.5.2 +Release: 1%{?dist} Summary: Inspect container images and repositories on registries License: ASL 2.0 -URL: https://github.com/containers/skopeo +URL: https://%{import_path} # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures ExclusiveArch: %{go_arches} %if 0%{?branch:1} @@ -40,13 +37,14 @@ BuildRequires: pkgconfig(devmapper) BuildRequires: glib2-devel BuildRequires: make Requires: containers-common >= 2:1-2 +Requires: system-release %description Command line utility to inspect images and repositories directly on Docker registries without the need to pull them %package tests -Summary: Tests for %{name} +Summary: Tests for %{name} Requires: %{name} = %{epoch}:%{version}-%{release} #Requires: bats (which RHEL8 doesn't have. If it ever does, un-comment this) Requires: gnupg @@ -81,7 +79,7 @@ for v in vendor/*; do fi done -export GOPATH=$(pwd):$(pwd)/vendor:%{gopath} +export GOPATH=$(pwd):$(pwd)/vendor export GO111MODULE=off export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" export BUILDTAGS="exclude_graphdriver_btrfs btrfs_noversion $(hack/libdm_tag.sh)" @@ -92,10 +90,6 @@ mkdir -p bin %install make install-binary install-docs install-completions DESTDIR=%{buildroot} PREFIX=%{_prefix} -# remove bits which are parts of containers-common -rm -f %{buildroot}/%{_sysconfdir}/containers/policy.json -rm -f %{buildroot}/%{_sysconfdir}/containers/registries.d/default.yaml - # system tests install -d -p %{buildroot}/%{_datadir}/%{name}/test/system cp -pav systemtest/* %{buildroot}/%{_datadir}/%{name}/test/system/ @@ -124,6 +118,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/%{name}/test %changelog +* Mon Nov 29 2021 Jindrich Novy - 2:1.5.2-1 +- update to https://github.com/containers/skopeo/releases/tag/v1.5.2 +- Related: #2021990 + +* Wed Nov 10 2021 Jindrich Novy - 2:1.5.1-1 +- update to https://github.com/containers/skopeo/releases/tag/v1.5.1 +- Related: #2001445 + * Thu Aug 26 2021 Jindrich Novy - 1:1.4.2-0.1 - update to the latest content of https://github.com/containers/skopeo/tree/release-1.4 (https://github.com/containers/skopeo/commit/01e51ce)