import skopeo-1.4.1-2.module+el8.5.0+12381+e822eb26

This commit is contained in:
CentOS Sources 2021-08-27 05:30:03 +00:00 committed by Andrew Lukoshko
parent 046a8a6f33
commit 9a8f50f83e
3 changed files with 21 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v1.4.1.tar.gz SOURCES/release-1.4-130f32f.tar.gz

View File

@ -1 +1 @@
2d7654dbace931b725b63cbcfb88d490c56eef22 SOURCES/v1.4.1.tar.gz 98e80ae54fb603ea824665ff08b1844a62e2c48f SOURCES/release-1.4-130f32f.tar.gz

View File

@ -13,25 +13,24 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
%endif %endif
%global import_path github.com/containers/skopeo %global import_path github.com/containers/skopeo
#%%global branch release-1.4 %global branch release-1.4
#%%global commit0 ea32394313d673932b62520ae47a2b7c3956e572 %global commit0 130f32f047b7bf9b1fb4f95c4c5b1da6255e4829
#%%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7}) %global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
Epoch: 1 Epoch: 1
Name: skopeo Name: skopeo
Version: 1.4.1 Version: 1.4.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Inspect container images and repositories on registries Summary: Inspect container images and repositories on registries
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/containers/skopeo URL: https://github.com/containers/skopeo
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
ExclusiveArch: %{go_arches} ExclusiveArch: %{go_arches}
#%%if 0%%{?branch:1} %if 0%{?branch:1}
#Source0: https://%%{import_path}/tarball/%%{commit0}/%%{branch}-%%{shortcommit0}.tar.gz Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz
#%%else %else
#Source0: https://%%{import_path}/archive/%%{commit0}/%%{name}-%%{version}-%%{shortcommit0}.tar.gz Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
#%%endif %endif
Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: git-core BuildRequires: git-core
BuildRequires: golang >= 1.16.6 BuildRequires: golang >= 1.16.6
BuildRequires: go-md2man BuildRequires: go-md2man
@ -62,12 +61,11 @@ Requires: openssl
This package contains system tests for %{name} This package contains system tests for %{name}
%prep %prep
#%%if 0%{?branch:1} %if 0%{?branch:1}
#%%autosetup -Sgit -n containers-%%{name}-%%{shortcommit0} %autosetup -Sgit -n containers-%{name}-%{shortcommit0}
#%%else %else
#%%autosetup -Sgit -n %%{name}-%%{commit0} %autosetup -Sgit -n %{name}-%{commit0}
#%%endif %endif
%autosetup -Sgit -n %{name}-%{version}
sed -i 's/install-binary: bin\/%{name}/install-binary:/' Makefile sed -i 's/install-binary: bin\/%{name}/install-binary:/' Makefile
sed -i 's/install-docs: docs/install-docs:/' Makefile sed -i 's/install-docs: docs/install-docs:/' Makefile
@ -126,6 +124,11 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test %{_datadir}/%{name}/test
%changelog %changelog
* Wed Aug 25 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.4.1-2
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.4
(https://github.com/containers/skopeo/commit/130f32f)
- Related: #1934415
* Fri Aug 20 2021 Lokesh Mandvekar <lsm5@redhat.com> - 1:1.4.1-1 * Fri Aug 20 2021 Lokesh Mandvekar <lsm5@redhat.com> - 1:1.4.1-1
- update to v1.4.1 - update to v1.4.1
- Related: #1934415 - Related: #1934415