This commit is contained in:
Sergey Zhemoytel 2022-11-10 23:36:51 +03:00
parent 2c668e2cfc
commit e3b5315eaf
2 changed files with 18 additions and 4 deletions

View file

@ -1,2 +1,2 @@
sources:
podman-4.3.0.tar.gz: da2164f6b6411c41f945585b97e3ee6761fd6598
podman-4.3.1.tar.gz: 4900e380022f17f57b367571db82bc116baed6bf

View file

@ -5,18 +5,22 @@
%define _libexecdir %{_prefix}/libexec
Name: podman
Version: 4.3.0
Version: 4.3.1
Release: 1
Summary: A tool for managing OCI containers and pods
URL: https://podman.io/
URL: https://podman.io
Source0: https://github.com/containers/podman/archive/v%{version}/%{name}-%{version}.tar.gz
Source1000: %{name}.rpmlintrc
License: ASL 2.0
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: go-md2man
BuildRequires: upx
BuildRequires: python3-sphinx
BuildRequires: %{_lib}gpgme-devel
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(python3)
Requires: conmon >= 2.0.24
Requires: runc
@ -34,7 +38,17 @@ volumes.
%setup -q
%build
%make
%make binaries
# compress bin
upx bin/*
#CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
# -tags " exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper seccomp" \
# -o bin/podman ./cmd/podman
#CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
# -o bin/rootlessport ./cmd/rootlessport
%install
%makeinstall PREFIX=%{_prefix} DESTDIR=%{buildroot}