!21 [sync] PR-20: Fix unresolvable go-md2man
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
f75c49d8b3
13
umoci.spec
13
umoci.spec
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
Name: umoci
|
Name: umoci
|
||||||
Version: 0.4.5
|
Version: 0.4.5
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Open Container Image manipulation tool
|
Summary: Open Container Image manipulation tool
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/opencontainers/umoci
|
URL: https://github.com/opencontainers/umoci
|
||||||
Source0: https://github.com/opencontainers/umoci/archive/v0.4.5.tar.gz
|
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
|
||||||
Patch0: CVE-2021-29136.patch
|
Patch0: CVE-2021-29136.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,8 +22,13 @@ the OCI.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
tar -xf %SOURCE1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
cd go-md2man-*
|
||||||
|
go build -mod=vendor -o go-md2man .
|
||||||
|
export GO_MD2MAN=$(realpath go-md2man)
|
||||||
|
cd -
|
||||||
|
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
mkdir -pv $HOME/go/src/%{tempdir}
|
mkdir -pv $HOME/go/src/%{tempdir}
|
||||||
@ -49,6 +55,9 @@ done
|
|||||||
%{_mandir}/man1/umoci*
|
%{_mandir}/man1/umoci*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 9 2021 lingsheng <lingsheng@huawei.com> - 0.4.5-5
|
||||||
|
- Fix unresolvable
|
||||||
|
|
||||||
* Fri Apr 16 2021 wangyue <wangyue92@huawei.com> - 0.4.5-4
|
* Fri Apr 16 2021 wangyue <wangyue92@huawei.com> - 0.4.5-4
|
||||||
- Fix CVE-2021-29136
|
- Fix CVE-2021-29136
|
||||||
|
|
||||||
|
|||||||
BIN
v1.0.10.tar.gz
Normal file
BIN
v1.0.10.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user