import skopeo-1.9.2-1.el9

This commit is contained in:
CentOS Sources 2022-09-27 08:34:24 -04:00 committed by Stepan Oksanichenko
parent 3f224b05d4
commit 43f4f32c86
3 changed files with 55 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/skopeo-1.6.1-49084d2.tar.gz SOURCES/skopeo-1.9.2-ca1b0f3.tar.gz

View File

@ -1 +1 @@
8e68b39d12de584fc52dcfeed4137ebc4314c369 SOURCES/skopeo-1.6.1-49084d2.tar.gz 0aa761c1d338667b325d5761fcec67998beb3478 SOURCES/skopeo-1.9.2-ca1b0f3.tar.gz

View File

@ -1,10 +1,5 @@
%global _lto_cflags %{nil}
%global with_check 0 %global with_check 0
%global _find_debuginfo_dwz_opts %{nil}
%global _dwz_low_mem_die_limit 0
%if 0%{?rhel} > 7 && ! 0%{?fedora} %if 0%{?rhel} > 7 && ! 0%{?fedora}
%define gobuild(o:) \ %define gobuild(o:) \
go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**}; go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**};
@ -14,12 +9,12 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
%global import_path github.com/containers/%{name} %global import_path github.com/containers/%{name}
#%%global branch main #%%global branch main
%global commit0 49084d2cd8c9f8e7b38ba8405d61e701d5381bc0 %global commit0 ca1b0f34d1d2c3e2074c9c231249f1a0e4d3ceb7
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Epoch: 2 Epoch: 2
Name: skopeo Name: skopeo
Version: 1.6.1 Version: 1.9.2
Release: 1%{?dist} Release: 1%{?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
@ -33,7 +28,7 @@ Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcom
%endif %endif
BuildRequires: git-core BuildRequires: git-core
BuildRequires: golang >= 1.16.6 BuildRequires: golang >= 1.16.6
BuildRequires: go-md2man BuildRequires: /usr/bin/go-md2man
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
BuildRequires: libassuan-devel BuildRequires: libassuan-devel
BuildRequires: pkgconfig(devmapper) BuildRequires: pkgconfig(devmapper)
@ -68,6 +63,7 @@ This package contains system tests for %{name}
%autosetup -Sgit -n %{name}-%{commit0} %autosetup -Sgit -n %{name}-%{commit0}
%endif %endif
sed -i 's/install-binary: bin\/%{name}/install-binary:/' Makefile sed -i 's/install-binary: bin\/%{name}/install-binary:/' Makefile
sed -i 's/completions: bin\/%{name}/completions:/' Makefile
sed -i 's/install-docs: docs/install-docs:/' Makefile sed -i 's/install-docs: docs/install-docs:/' Makefile
%build %build
@ -115,12 +111,61 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions %dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/%{name} %{_datadir}/bash-completion/completions/%{name}
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/%{name}.fish
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_%{name}
%files tests %files tests
%license LICENSE %license LICENSE
%{_datadir}/%{name}/test %{_datadir}/%{name}/test
%changelog %changelog
* Wed Aug 03 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.9.2-1
- update to https://github.com/containers/skopeo/releases/tag/v1.9.2
- Related: #2061316
* Tue Jul 26 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.9.1-1
- update to https://github.com/containers/skopeo/releases/tag/v1.9.1
- Related: #2061316
* Thu Jul 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.9.0-1
- update to https://github.com/containers/skopeo/releases/tag/v1.9.0
- Related: #2061316
* Fri May 13 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.8.0-4
- Re-enable debuginfo
- Related: #2061316
* Wed May 11 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.8.0-3
- BuildRequires: /usr/bin/go-md2man
- Related: #2061316
* Mon May 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.8.0-2
- enable LTO
- Related: #1988128
* Mon May 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.8.0-1
- update to https://github.com/containers/skopeo/releases/tag/v1.8.0
- Related: #2061316
* Fri Mar 25 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.7.0-1
- update to https://github.com/containers/skopeo/releases/tag/v1.7.0
- Related: #2061316
* Mon Mar 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-4
- add tags: classic (Ed Santiago)
- Related: #2061316
* Mon Mar 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-3
- remove BATS from required packages (Ed Santiago)
- Related: #2061316
* Mon Mar 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-2
- be sure to install BATS before gating tests are executed
(thanks to Ed Santiago)
- Related: #2061316
* Thu Feb 17 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-1 * Thu Feb 17 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-1
- update to https://github.com/containers/skopeo/releases/tag/v1.6.1 - update to https://github.com/containers/skopeo/releases/tag/v1.6.1
- Related: #2000051 - Related: #2000051