Fix build error

This commit is contained in:
wk333 2022-04-14 15:33:20 +08:00
parent bbfbe75386
commit 73e76713c2

View File

@ -1,6 +1,6 @@
Name: podman
Version: 0.10.1
Release: 11
Release: 12
Summary: A daemonless container engine for managing Containers
Epoch: 1
License: ASL 2.0
@ -178,6 +178,7 @@ cd -
ln -s vendor src
export GOPATH=$(pwd)/_build:$(pwd):$(pwd):%{gopath}
export BUILDTAGS="varlink selinux seccomp $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) exclude_graphdriver_devicemapper"
export GO111MODULE=off
go generate ./cmd/%{name}/varlink/...
BUILDTAGS=$BUILDTAGS make binaries docs
@ -225,6 +226,9 @@ install -Dp -m644 libpod.conf %{buildroot}%{_datadir}/containers/libpod.conf
%{_mandir}/man5/*.5*
%changelog
* Thu Apr 14 2022 wangkai<wangkai385@h-partners.com> - 0.10.1-12
- Fix build error
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.10.1-11
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git