!11 [sync] PR-10: Fix unresolvable

From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-02-10 09:43:21 +08:00 committed by Gitee
commit fad858dc5b
2 changed files with 11 additions and 2 deletions

View File

@ -4,12 +4,13 @@
Name: umoci
Version: 0.4.5
Release: 3
Release: 4
Summary: Open Container Image manipulation tool
License: Apache-2.0
URL: https://github.com/opencontainers/umoci
Source0: https://github.com/opencontainers/umoci/archive/v0.4.5.tar.gz
BuildRequires: fdupes go >= 1.6 go-md2man
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
BuildRequires: fdupes go >= 1.6
%description
Umoci modifies Open Container images. Umoci intends to be a complete manipulation tool for OCI images.
@ -20,8 +21,13 @@ the OCI.
%prep
%autosetup -n %{name}-%{version} -p1
tar -xf %SOURCE1
%build
cd go-md2man-*
go build -mod=vendor -o go-md2man .
export GO_MD2MAN=$(realpath go-md2man)
cd -
export GOPATH=$HOME/go
mkdir -pv $HOME/go/src/%{tempdir}
@ -48,6 +54,9 @@ done
%{_mandir}/man1/umoci*
%changelog
* Tue Feb 9 2021 lingsheng <lingsheng@huawei.com> - 0.4.5-4
- Fix unresolvable
* Wed Sep 9 2020 Ge Wang <wangge20@huawei.com> - 0.4.5-3
- Modify Source0 Url

BIN
v1.0.10.tar.gz Normal file

Binary file not shown.