Resolve go-md2man dependency
This commit is contained in:
parent
b8801920a6
commit
d4939adb21
15
podman.spec
15
podman.spec
@ -1,13 +1,14 @@
|
||||
Name: podman
|
||||
Version: 0.10.1
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: A daemonless container engine for managing Containers
|
||||
Epoch: 1
|
||||
License: ASL 2.0
|
||||
URL: https://podman.io/
|
||||
Source0: https://github.com/containers/libpod/archive/e4a155328fb88590fafd3d4e845f9bca49133f62/libpod-e4a1553.tar.gz
|
||||
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
|
||||
BuildRequires: golang btrfs-progs-devel glib2-devel glibc-devel glibc-static
|
||||
BuildRequires: git go-md2man gpgme-devel libassuan-devel libgpg-error-devel libseccomp-devel
|
||||
BuildRequires: git gpgme-devel libassuan-devel libgpg-error-devel libseccomp-devel
|
||||
BuildRequires: libselinux-devel ostree-devel pkgconfig make
|
||||
Requires: docker-runc containers-common containernetworking-plugins >= 0.7.3-2 iptables nftables conmon
|
||||
Recommends: container-selinux >= 2:2.71 slirp4netns
|
||||
@ -155,9 +156,14 @@ sed -i '/\/bin\/env/d' completions/bash/%{name}
|
||||
sed -i 's/0.0.0/%{version}/' contrib/python/%{name}/setup.py
|
||||
sed -i 's/0.0.0/%{version}/' contrib/python/py%{name}/setup.py
|
||||
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
|
||||
tar -xf %SOURCE1
|
||||
|
||||
%build
|
||||
mkdir _build
|
||||
mkdir -p _build/bin _output/bin
|
||||
cd go-md2man-*
|
||||
go build -mod=vendor -o ../_build/bin/go-md2man .
|
||||
cp ../_build/bin/go-md2man ../_output/bin/go-md2man
|
||||
cd -
|
||||
cd _build
|
||||
mkdir -p src/github.com/containers
|
||||
ln -s ../../../../ src/github.com/containers/libpod
|
||||
@ -212,6 +218,9 @@ install -Dp -m644 libpod.conf %{buildroot}%{_datadir}/containers/libpod.conf
|
||||
%{_mandir}/man5/*.5*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 18 2021 lingsheng <lingsheng@huawei.com> - 1:0.10.1-7
|
||||
- Resolve go-md2man dependency
|
||||
|
||||
* Mon Feb 8 2021 lingsheng <lingsheng@huawei.com> - 1:0.10.1-6
|
||||
- Change BuildRequires to golang
|
||||
|
||||
|
||||
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