2021-06-14 14:01:16 +00:00
|
|
|
%global with_debug 1
|
2018-05-18 15:18:40 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%if 0%{?with_debug}
|
2018-05-17 03:58:22 +00:00
|
|
|
%global _find_debuginfo_dwz_opts %{nil}
|
2018-02-06 22:05:10 +00:00
|
|
|
%global _dwz_low_mem_die_limit 0
|
|
|
|
%else
|
2018-08-12 03:03:46 +00:00
|
|
|
%global debug_package %{nil}
|
2018-02-06 22:05:10 +00:00
|
|
|
%endif
|
|
|
|
|
2018-03-27 14:24:36 +00:00
|
|
|
%global provider github
|
|
|
|
%global provider_tld com
|
2018-08-30 13:25:40 +00:00
|
|
|
%global project containers
|
2020-07-28 14:39:13 +00:00
|
|
|
%global repo %{name}
|
2020-08-31 14:04:00 +00:00
|
|
|
# https://github.com/containers/%%{name}
|
2020-05-12 18:38:05 +00:00
|
|
|
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
|
|
%global git0 https://%{import_path}
|
2018-03-27 14:24:36 +00:00
|
|
|
|
2021-06-08 14:30:35 +00:00
|
|
|
# dnsname
|
2019-10-18 13:02:37 +00:00
|
|
|
%global repo_plugins dnsname
|
2020-08-31 14:04:00 +00:00
|
|
|
# https://github.com/containers/dnsname
|
2021-06-08 14:30:35 +00:00
|
|
|
%global import_path_plugins %{provider}.%{provider_tld}/%{project}/%{repo_plugins}
|
2019-10-18 13:02:37 +00:00
|
|
|
%global git_plugins https://%{import_path_plugins}
|
2021-09-15 17:04:02 +00:00
|
|
|
%global commit_plugins 18822f9a4fb35d1349eb256f4cd2bfd372474d84
|
2019-10-18 13:02:37 +00:00
|
|
|
|
2021-08-16 12:52:47 +00:00
|
|
|
# gvproxy
|
|
|
|
%global repo_gvproxy gvisor-tap-vsock
|
|
|
|
# https://github.com/containers/gvisor-tap-vsock
|
|
|
|
%global import_path_gvproxy %%{provider}.%{provider_tld}/%{project}/%{repo_gvproxy}
|
|
|
|
%global git_gvproxy https://%{import_path_gvproxy}
|
2023-01-19 13:13:17 +00:00
|
|
|
%global commit_gvproxy aab0ac9367fc5142f5857c36ac2352bcb3c60ab7
|
2021-08-16 12:52:47 +00:00
|
|
|
|
2023-02-28 12:50:25 +00:00
|
|
|
%global built_tag v4.4.2
|
2022-10-07 16:05:20 +00:00
|
|
|
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
2022-10-07 14:08:46 +00:00
|
|
|
%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
|
2019-07-30 23:27:52 +00:00
|
|
|
|
2022-01-28 21:02:15 +00:00
|
|
|
Name: podman
|
2023-01-23 10:34:03 +00:00
|
|
|
Epoch: 5
|
2022-10-07 16:05:20 +00:00
|
|
|
Version: %{gen_version}
|
2022-05-18 19:16:30 +00:00
|
|
|
License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0
|
2022-02-17 19:40:27 +00:00
|
|
|
Release: %autorelease
|
2023-02-09 10:25:12 +00:00
|
|
|
ExclusiveArch: %{golang_arches_future}
|
2018-03-27 14:24:36 +00:00
|
|
|
Summary: Manage Pods, Containers and Container Images
|
2019-05-24 14:43:28 +00:00
|
|
|
URL: https://%{name}.io/
|
2022-10-07 14:08:46 +00:00
|
|
|
# All SourceN files fetched from upstream
|
|
|
|
Source0: %{git0}/archive/%{built_tag}.tar.gz
|
2022-05-18 19:16:30 +00:00
|
|
|
Source1: %{git_plugins}/archive/%{commit_plugins}/%{repo_plugins}-%{commit_plugins}.tar.gz
|
|
|
|
Source2: %{git_gvproxy}/archive/%{commit_gvproxy}/%{repo_gvproxy}-%{commit_gvproxy}.tar.gz
|
2023-02-17 10:14:24 +00:00
|
|
|
Patch0: CVE-2023-0778.patch
|
2020-01-06 15:54:08 +00:00
|
|
|
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
2022-05-18 19:16:30 +00:00
|
|
|
BuildRequires: go-md2man
|
2021-04-05 14:38:31 +00:00
|
|
|
BuildRequires: btrfs-progs-devel
|
2020-12-03 16:12:40 +00:00
|
|
|
BuildRequires: gcc
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: glibc-static
|
2022-08-19 20:13:59 +00:00
|
|
|
BuildRequires: golang
|
2021-01-11 19:37:44 +00:00
|
|
|
BuildRequires: git-core
|
2021-06-14 14:01:16 +00:00
|
|
|
BuildRequires: go-rpm-macros
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: gpgme-devel
|
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2021-09-23 19:11:45 +00:00
|
|
|
BuildRequires: shadow-utils-subid-devel
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: make
|
2021-04-05 14:38:31 +00:00
|
|
|
BuildRequires: ostree-devel
|
2019-03-19 11:55:36 +00:00
|
|
|
BuildRequires: systemd
|
2019-05-24 14:43:28 +00:00
|
|
|
BuildRequires: systemd-devel
|
2022-10-07 14:08:46 +00:00
|
|
|
Requires: catatonit
|
2021-09-22 22:41:38 +00:00
|
|
|
Requires: conmon >= 2:2.0.30-2
|
2022-10-07 14:08:46 +00:00
|
|
|
%if 0%{?fedora} > 37
|
2023-02-02 11:54:35 +00:00
|
|
|
Requires: containers-common-extra >= 4:1-84
|
2022-10-07 14:08:46 +00:00
|
|
|
%else
|
|
|
|
%if 0%{?fedora} == 37
|
2023-02-02 11:54:35 +00:00
|
|
|
Requires: containers-common-extra >= 4:1-78
|
2022-10-07 14:08:46 +00:00
|
|
|
%else
|
2023-02-02 11:54:35 +00:00
|
|
|
Requires: containers-common-extra >= 4:1-66
|
2022-10-07 14:08:46 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2022-07-06 17:41:29 +00:00
|
|
|
Recommends: %{name}-gvproxy = %{epoch}:%{version}-%{release}
|
2023-02-09 10:25:12 +00:00
|
|
|
Provides: %{name}-quadlet
|
|
|
|
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
|
|
|
|
Provides: %{name}-quadlet = %{epoch}:%{version}-%{release}
|
2018-02-06 22:05:10 +00:00
|
|
|
# vendored libraries
|
2022-02-17 19:40:27 +00:00
|
|
|
# awk '{print "Provides: bundled(golang("$1")) = "$2}' go.mod | sort | uniq | sed -e 's/-/_/g' -e '/bundled(golang())/d' -e '/bundled(golang(go\|module\|replace\|require))/d'
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/Azure/go_ansiterm)) = v0.0.0_20210617225240_d185dfc1b5a1
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/BurntSushi/toml)) = v1.2.1
|
|
|
|
Provides: bundled(golang(github.com/Microsoft/go_winio)) = v0.6.0
|
|
|
|
Provides: bundled(golang(github.com/Microsoft/hcsshim)) = v0.9.6
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/VividCortex/ewma)) = v1.2.0
|
|
|
|
Provides: bundled(golang(github.com/acarl005/stripansi)) = v0.0.0_20180116102854_5a71ef0e047d
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/asaskevich/govalidator)) = v0.0.0_20210307081110_f21760c49a8d
|
2022-08-03 13:55:33 +00:00
|
|
|
Provides: bundled(golang(github.com/blang/semver/v4)) = v4.0.0
|
2022-02-17 19:40:27 +00:00
|
|
|
Provides: bundled(golang(github.com/buger/goterm)) = v1.0.4
|
2022-05-06 16:08:27 +00:00
|
|
|
Provides: bundled(golang(github.com/checkpoint_restore/checkpointctl)) = v0.0.0_20220321135231_33f4a66335f0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/checkpoint_restore/go_criu/v6)) = v6.3.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/chzyer/readline)) = v1.5.1
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/container_orchestrated_devices/container_device_interface)) = v0.5.3
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/containerd/cgroups)) = v1.0.4
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/containerd/containerd)) = v1.6.15
|
|
|
|
Provides: bundled(golang(github.com/containerd/stargz_snapshotter/estargz)) = v0.13.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/containernetworking/cni)) = v1.1.2
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/containernetworking/plugins)) = v1.2.0
|
|
|
|
Provides: bundled(golang(github.com/containers/buildah)) = v1.29.0
|
|
|
|
Provides: bundled(golang(github.com/containers/common)) = v0.51.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/containers/conmon)) = v2.0.20+incompatible
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/containers/image/v5)) = v5.24.0
|
|
|
|
Provides: bundled(golang(github.com/containers/libtrust)) = v0.0.0_20230121012942_c1716e8a8d01
|
|
|
|
Provides: bundled(golang(github.com/containers/ocicrypt)) = v1.1.7
|
|
|
|
Provides: bundled(golang(github.com/containers/psgo)) = v1.8.0
|
|
|
|
Provides: bundled(golang(github.com/containers/storage)) = v1.45.3
|
|
|
|
Provides: bundled(golang(github.com/coreos/go_oidc/v3)) = v3.5.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/coreos/go_systemd)) = v0.0.0_20190719114852_fd7a80b32e1f
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/coreos/go_systemd/v22)) = v22.5.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/coreos/stream_metadata_go)) = v0.0.0_20210225230131_70edb9eb47b3
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/cyberphone/json_canonicalization)) = v0.0.0_20220623050100_57a0ce2678a7
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/cyphar/filepath_securejoin)) = v0.2.3
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/davecgh/go_spew)) = v1.1.1
|
|
|
|
Provides: bundled(golang(github.com/digitalocean/go_libvirt)) = v0.0.0_20201209184759_e2a69bcd5bd1
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/digitalocean/go_qemu)) = v0.0.0_20210326154740_ac9e0b687001
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/disiqueira/gotree/v3)) = v3.0.2
|
2022-05-06 16:08:27 +00:00
|
|
|
Provides: bundled(golang(github.com/docker/distribution)) = v2.8.1+incompatible
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/docker/docker)) = v20.10.23+incompatible
|
|
|
|
Provides: bundled(golang(github.com/docker/docker_credential_helpers)) = v0.7.0
|
2022-02-17 19:40:27 +00:00
|
|
|
Provides: bundled(golang(github.com/docker/go_connections)) = v0.4.1_0.20210727194412_58542c764a11
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/docker/go_plugins_helpers)) = v0.0.0_20211224144127_6eecb7beb651
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/docker/go_units)) = v0.5.0
|
|
|
|
Provides: bundled(golang(github.com/felixge/httpsnoop)) = v1.0.3
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/fsnotify/fsnotify)) = v1.6.0
|
|
|
|
Provides: bundled(golang(github.com/fsouza/go_dockerclient)) = v1.9.3
|
2020-08-31 14:04:00 +00:00
|
|
|
Provides: bundled(golang(github.com/ghodss/yaml)) = v1.0.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/go_jose/go_jose/v3)) = v3.0.0
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/analysis)) = v0.21.4
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/errors)) = v0.20.3
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/jsonpointer)) = v0.19.5
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/jsonreference)) = v0.20.0
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/loads)) = v0.21.2
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/runtime)) = v0.24.1
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/spec)) = v0.20.7
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/strfmt)) = v0.21.3
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/swag)) = v0.22.3
|
|
|
|
Provides: bundled(golang(github.com/go_openapi/validate)) = v0.22.0
|
|
|
|
Provides: bundled(golang(github.com/go_playground/locales)) = v0.14.0
|
|
|
|
Provides: bundled(golang(github.com/go_playground/universal_translator)) = v0.18.0
|
|
|
|
Provides: bundled(golang(github.com/go_playground/validator/v10)) = v10.11.1
|
|
|
|
Provides: bundled(golang(github.com/godbus/dbus/v5)) = v5.1.1_0.20221029134443_4b691ce883d5
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/gogo/protobuf)) = v1.3.2
|
|
|
|
Provides: bundled(golang(github.com/golang/groupcache)) = v0.0.0_20210331224755_41bb18bfe9da
|
|
|
|
Provides: bundled(golang(github.com/golang/protobuf)) = v1.5.2
|
|
|
|
Provides: bundled(golang(github.com/google/go_cmp)) = v0.5.9
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/google/go_containerregistry)) = v0.12.1
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/google/go_intervals)) = v0.0.2
|
2022-05-06 16:08:27 +00:00
|
|
|
Provides: bundled(golang(github.com/google/gofuzz)) = v1.2.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/google/shlex)) = v0.0.0_20191202100458_e7afc7fbc510
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/google/trillian)) = v1.5.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/google/uuid)) = v1.3.0
|
|
|
|
Provides: bundled(golang(github.com/gorilla/handlers)) = v1.5.1
|
|
|
|
Provides: bundled(golang(github.com/gorilla/mux)) = v1.8.0
|
2020-08-31 14:04:00 +00:00
|
|
|
Provides: bundled(golang(github.com/gorilla/schema)) = v1.2.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/hashicorp/errwrap)) = v1.1.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/hashicorp/go_cleanhttp)) = v0.5.2
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/hashicorp/go_multierror)) = v1.1.1
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/hashicorp/go_retryablehttp)) = v0.7.2
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/imdario/mergo)) = v0.3.13
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = v1.0.1
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/jinzhu/copier)) = v0.3.5
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/josharian/intern)) = v1.0.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/json_iterator/go)) = v1.1.12
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/klauspost/compress)) = v1.15.15
|
|
|
|
Provides: bundled(golang(github.com/klauspost/pgzip)) = v1.2.6_0.20220930104621_17e8dac29df8
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/kr/fs)) = v0.1.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/leodido/go_urn)) = v1.2.1
|
|
|
|
Provides: bundled(golang(github.com/letsencrypt/boulder)) = v0.0.0_20221109233200_85aa52084eaf
|
|
|
|
Provides: bundled(golang(github.com/mailru/easyjson)) = v0.7.7
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/manifoldco/promptui)) = v0.9.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/mattn/go_runewidth)) = v0.0.14
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/mattn/go_shellwords)) = v1.0.12
|
|
|
|
Provides: bundled(golang(github.com/miekg/pkcs11)) = v1.1.1
|
|
|
|
Provides: bundled(golang(github.com/mistifyio/go_zfs/v3)) = v3.0.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/mitchellh/mapstructure)) = v1.5.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/moby/sys/mount)) = v0.3.3
|
|
|
|
Provides: bundled(golang(github.com/moby/sys/mountinfo)) = v0.6.2
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/moby/term)) = v0.0.0_20210619224110_3f7ff695adc6
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/modern_go/concurrent)) = v0.0.0_20180306012644_bacd9c7ef1dd
|
|
|
|
Provides: bundled(golang(github.com/modern_go/reflect2)) = v1.0.2
|
|
|
|
Provides: bundled(golang(github.com/morikuni/aec)) = v1.0.0
|
2022-05-06 16:08:27 +00:00
|
|
|
Provides: bundled(golang(github.com/nxadm/tail)) = v1.4.8
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/oklog/ulid)) = v1.3.1
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/onsi/ginkgo)) = v1.16.5
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/onsi/gomega)) = v1.26.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/opencontainers/go_digest)) = v1.0.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/opencontainers/image_spec)) = v1.1.0_rc2
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/opencontainers/runc)) = v1.1.4
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/opencontainers/runtime_spec)) = v1.0.3_0.20220825212826_86290f6a00fb
|
|
|
|
Provides: bundled(golang(github.com/opencontainers/runtime_tools)) = v0.9.1_0.20221014010322_58c91d646d86
|
|
|
|
Provides: bundled(golang(github.com/opencontainers/selinux)) = v1.10.2
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/openshift/imagebuilder)) = v1.2.4_0.20220711175835_4151e43600df
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/opentracing/opentracing_go)) = v1.2.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/ostreedev/ostree_go)) = v0.0.0_20210805093236_719684c64e4f
|
|
|
|
Provides: bundled(golang(github.com/pkg/errors)) = v0.9.1
|
|
|
|
Provides: bundled(golang(github.com/pkg/sftp)) = v1.13.5
|
|
|
|
Provides: bundled(golang(github.com/pmezard/go_difflib)) = v1.0.0
|
|
|
|
Provides: bundled(golang(github.com/proglottis/gpgme)) = v0.1.3
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/rivo/uniseg)) = v0.4.3
|
|
|
|
Provides: bundled(golang(github.com/rootless_containers/rootlesskit)) = v1.1.0
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/seccomp/libseccomp_golang)) = v0.10.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/segmentio/ksuid)) = v1.0.4
|
|
|
|
Provides: bundled(golang(github.com/sigstore/fulcio)) = v1.0.0
|
|
|
|
Provides: bundled(golang(github.com/sigstore/rekor)) = v1.0.1
|
|
|
|
Provides: bundled(golang(github.com/sigstore/sigstore)) = v1.5.1
|
2022-08-03 13:55:33 +00:00
|
|
|
Provides: bundled(golang(github.com/sirupsen/logrus)) = v1.9.0
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/skratchdot/open_golang)) = v0.0.0_20200116055534_eef842397966
|
|
|
|
Provides: bundled(golang(github.com/spf13/cobra)) = v1.6.1
|
2020-08-31 14:04:00 +00:00
|
|
|
Provides: bundled(golang(github.com/spf13/pflag)) = v1.0.5
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/stefanberger/go_pkcs11uri)) = v0.0.0_20201008174630_78d3cae3a980
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/stretchr/testify)) = v1.8.1
|
|
|
|
Provides: bundled(golang(github.com/sylabs/sif/v2)) = v2.9.0
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/syndtr/gocapability)) = v0.0.0_20200815063812_42c35b437635
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/tchap/go_patricia)) = v2.3.0+incompatible
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/theupdateframework/go_tuf)) = v0.5.2_0.20221207161717_9cb61d6e65f5
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/titanous/rocacheck)) = v0.0.0_20171023193734_afe73141d399
|
2022-01-31 14:00:30 +00:00
|
|
|
Provides: bundled(golang(github.com/uber/jaeger_client_go)) = v2.30.0+incompatible
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/ulikunitz/xz)) = v0.5.11
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/vbatts/tar_split)) = v0.11.2
|
|
|
|
Provides: bundled(golang(github.com/vbauerster/mpb/v7)) = v7.5.3
|
2023-02-02 11:54:35 +00:00
|
|
|
Provides: bundled(golang(github.com/vishvananda/netlink)) = v1.2.1_beta.2
|
2022-10-07 14:14:14 +00:00
|
|
|
Provides: bundled(golang(github.com/vishvananda/netns)) = v0.0.0_20210104183010_2eb08e3e575f
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = v0.0.0_20190905194746_02993c407bfb
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonreference)) = v0.0.0_20180127040603_bd5ef7bd5415
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = v1.2.0
|
|
|
|
Provides: bundled(golang(sigs.k8s.io/yaml)) = v1.3.0
|
2023-01-23 10:34:03 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%description
|
2019-05-24 14:43:28 +00:00
|
|
|
%{name} (Pod Manager) is a fully featured container engine that is a simple
|
|
|
|
daemonless tool. %{name} provides a Docker-CLI comparable command line that
|
|
|
|
eases the transition from other container engines and allows the management of
|
|
|
|
pods, containers and images. Simply put: alias docker=%{name}.
|
2019-09-17 18:06:00 +00:00
|
|
|
Most %{name} commands can be run as a regular user, without requiring
|
|
|
|
additional privileges.
|
2019-05-17 16:56:00 +00:00
|
|
|
|
2019-09-17 18:06:00 +00:00
|
|
|
%{name} uses Buildah(1) internally to create container images.
|
|
|
|
Both tools share image (not container) storage, hence each can use or
|
|
|
|
manipulate images (but not containers) created by the other.
|
2019-05-17 16:56:00 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%{summary}
|
2019-05-17 16:56:00 +00:00
|
|
|
%{repo} Simple management tool for pods, containers and images
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2018-08-12 10:30:14 +00:00
|
|
|
%package docker
|
2019-05-24 14:43:28 +00:00
|
|
|
Summary: Emulate Docker CLI using %{name}
|
2018-08-20 19:31:47 +00:00
|
|
|
BuildArch: noarch
|
2018-10-18 18:55:59 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2018-08-20 19:31:47 +00:00
|
|
|
Conflicts: docker
|
|
|
|
Conflicts: docker-latest
|
|
|
|
Conflicts: docker-ce
|
|
|
|
Conflicts: docker-ee
|
2019-01-18 17:59:24 +00:00
|
|
|
Conflicts: moby-engine
|
2018-08-12 10:30:14 +00:00
|
|
|
|
|
|
|
%description docker
|
|
|
|
This package installs a script named docker that emulates the Docker CLI by
|
2019-05-24 14:43:28 +00:00
|
|
|
executes %{name} commands, it also creates links between all Docker CLI man
|
|
|
|
pages and %{name}.
|
2018-08-12 10:30:14 +00:00
|
|
|
|
2019-01-18 17:59:24 +00:00
|
|
|
%package tests
|
2019-05-24 14:43:28 +00:00
|
|
|
Summary: Tests for %{name}
|
2019-01-18 17:59:24 +00:00
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: bats
|
|
|
|
Requires: jq
|
2020-02-20 13:19:58 +00:00
|
|
|
Requires: skopeo
|
2020-06-01 21:09:26 +00:00
|
|
|
Requires: nmap-ncat
|
2020-08-05 11:57:36 +00:00
|
|
|
Requires: httpd-tools
|
|
|
|
Requires: openssl
|
2020-08-18 13:34:36 +00:00
|
|
|
Requires: socat
|
2020-10-19 12:27:01 +00:00
|
|
|
Requires: buildah
|
2021-11-11 14:20:05 +00:00
|
|
|
Requires: gnupg
|
2019-01-18 17:59:24 +00:00
|
|
|
|
|
|
|
%description tests
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
This package contains system tests for %{name}
|
|
|
|
|
2019-07-07 17:54:36 +00:00
|
|
|
%package remote
|
|
|
|
Summary: (Experimental) Remote client for managing %{name} containers
|
|
|
|
|
|
|
|
%description remote
|
|
|
|
Remote client for managing %{name} containers.
|
|
|
|
|
|
|
|
This experimental remote client is under heavy development. Please do not
|
|
|
|
run %{name}-remote in production.
|
|
|
|
|
2020-06-01 16:48:43 +00:00
|
|
|
%{name}-remote uses the version 2 API to connect to a %{name} client to
|
2019-07-07 17:54:36 +00:00
|
|
|
manage pods, containers and container images. %{name}-remote supports ssh
|
|
|
|
connections as well.
|
2019-07-07 19:16:20 +00:00
|
|
|
|
2019-10-18 13:02:37 +00:00
|
|
|
%package plugins
|
|
|
|
Summary: Plugins for %{name}
|
2020-09-16 14:55:30 +00:00
|
|
|
Requires: dnsmasq
|
2021-08-16 12:52:47 +00:00
|
|
|
Recommends: %{name}-gvproxy = %{epoch}:%{version}-%{release}
|
2019-10-18 13:02:37 +00:00
|
|
|
|
|
|
|
%description plugins
|
|
|
|
This plugin sets up the use of dnsmasq on a given CNI network so
|
|
|
|
that Pods can resolve each other by name. When configured,
|
|
|
|
the pod and its IP address are added to a network specific hosts file
|
|
|
|
that dnsmasq will read in. Similarly, when a pod
|
|
|
|
is removed from the network, it will remove the entry from the hosts
|
|
|
|
file. Each CNI network will have its own dnsmasq instance.
|
|
|
|
|
2021-08-16 12:52:47 +00:00
|
|
|
%package gvproxy
|
|
|
|
Summary: Go replacement for libslirp and VPNKit
|
|
|
|
|
|
|
|
%description gvproxy
|
|
|
|
A replacement for libslirp and VPNKit, written in pure Go.
|
|
|
|
It is based on the network stack of gVisor. Compared to libslirp,
|
|
|
|
gvisor-tap-vsock brings a configurable DNS server and
|
|
|
|
dynamic port forwarding.
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%prep
|
2022-08-17 17:59:00 +00:00
|
|
|
%autosetup -Sgit -n %{name}-%{built_tag_strip}
|
2022-01-19 20:35:02 +00:00
|
|
|
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2019-10-18 13:02:37 +00:00
|
|
|
# untar dnsname
|
|
|
|
tar zxf %{SOURCE1}
|
|
|
|
|
2021-08-16 12:52:47 +00:00
|
|
|
# untar %%{name}-gvproxy
|
2022-01-19 20:35:02 +00:00
|
|
|
tar zxf %{SOURCE2}
|
2021-08-16 12:52:47 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%build
|
2021-10-01 06:33:17 +00:00
|
|
|
%set_build_flags
|
|
|
|
export CGO_CFLAGS=$CFLAGS
|
|
|
|
# These extra flags present in $CFLAGS have been skipped for now as they break the build
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-flto=auto//g')
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-Wp,D_GLIBCXX_ASSERTIONS//g')
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//g')
|
|
|
|
|
2020-12-04 17:30:36 +00:00
|
|
|
%ifarch x86_64
|
2021-07-16 19:49:21 +00:00
|
|
|
export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
|
2020-12-04 17:30:36 +00:00
|
|
|
%endif
|
2022-05-18 19:16:30 +00:00
|
|
|
|
|
|
|
export GO111MODULE=off
|
|
|
|
export GOPATH=$(pwd)/_build:$(pwd)
|
2019-10-18 13:02:37 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
mkdir _build
|
2022-05-18 19:16:30 +00:00
|
|
|
cd _build
|
2018-02-06 22:05:10 +00:00
|
|
|
mkdir -p src/%{provider}.%{provider_tld}/%{project}
|
|
|
|
ln -s ../../../../ src/%{import_path}
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2018-02-06 22:05:10 +00:00
|
|
|
ln -s vendor src
|
2019-05-24 14:43:28 +00:00
|
|
|
|
2022-01-19 20:35:02 +00:00
|
|
|
# build date. FIXME: Makefile uses '/v2/libpod', that doesn't work here?
|
|
|
|
LDFLAGS="-X %{import_path}/libpod/define.buildInfo=$(date +%s)"
|
|
|
|
|
|
|
|
# build rootlessport first
|
|
|
|
%gobuild -o bin/rootlessport %{import_path}/cmd/rootlessport
|
|
|
|
|
2023-02-02 11:54:35 +00:00
|
|
|
export BASEBUILDTAGS="seccomp exclude_graphdriver_devicemapper $(hack/selinux_tag.sh) $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)"
|
|
|
|
|
2019-05-24 14:43:28 +00:00
|
|
|
# build %%{name}
|
2023-02-02 11:54:35 +00:00
|
|
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh)"
|
2020-08-19 12:44:16 +00:00
|
|
|
|
2018-08-12 03:03:46 +00:00
|
|
|
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2019-05-24 14:43:28 +00:00
|
|
|
# build %%{name}-remote
|
2023-02-02 11:54:35 +00:00
|
|
|
export BUILDTAGS="$BASEBUILDTAGS exclude_graphdriver_btrfs btrfs_noversion remote"
|
2020-06-23 17:55:54 +00:00
|
|
|
%gobuild -o bin/%{name}-remote %{import_path}/cmd/%{name}
|
2019-05-24 14:43:28 +00:00
|
|
|
|
2023-02-02 11:54:35 +00:00
|
|
|
# build quadlet
|
|
|
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh)"
|
|
|
|
%gobuild -o bin/quadlet %{import_path}/cmd/quadlet
|
|
|
|
|
2022-05-18 19:16:30 +00:00
|
|
|
cd %{repo_plugins}-%{commit_plugins}
|
2019-10-18 13:02:37 +00:00
|
|
|
mkdir _build
|
2022-05-18 19:16:30 +00:00
|
|
|
cd _build
|
2019-10-18 13:02:37 +00:00
|
|
|
mkdir -p src/%{provider}.%{provider_tld}/%{project}
|
|
|
|
ln -s ../../../../ src/%{import_path_plugins}
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2019-10-18 13:02:37 +00:00
|
|
|
ln -s vendor src
|
|
|
|
export GOPATH=$(pwd)/_build:$(pwd)
|
|
|
|
%gobuild -o bin/dnsname %{import_path_plugins}/plugins/meta/dnsname
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2019-10-18 13:02:37 +00:00
|
|
|
|
2022-05-18 19:16:30 +00:00
|
|
|
cd %{repo_gvproxy}-%{commit_gvproxy}
|
2021-08-16 12:52:47 +00:00
|
|
|
mkdir _build
|
2022-05-18 19:16:30 +00:00
|
|
|
cd _build
|
2021-08-16 12:52:47 +00:00
|
|
|
mkdir -p src/%{provider}.%{provider_tld}/%{project}
|
|
|
|
ln -s ../../../../ src/%{import_path_gvproxy}
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2021-08-16 12:52:47 +00:00
|
|
|
ln -s vendor src
|
|
|
|
export GOPATH=$(pwd)/_build:$(pwd)
|
2021-08-27 13:52:32 +00:00
|
|
|
%gobuild -o bin/gvproxy %{import_path_gvproxy}/cmd/gvproxy
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2021-08-16 12:52:47 +00:00
|
|
|
|
2021-03-03 21:03:36 +00:00
|
|
|
%{__make} docs docker-docs
|
2020-06-23 17:55:54 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%install
|
2018-04-24 19:27:43 +00:00
|
|
|
install -dp %{buildroot}%{_unitdir}
|
2018-11-10 15:30:54 +00:00
|
|
|
PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
|
2022-01-31 13:38:15 +00:00
|
|
|
install.bin \
|
|
|
|
install.man \
|
2022-01-19 20:35:02 +00:00
|
|
|
install.systemd \
|
|
|
|
install.completions \
|
|
|
|
install.docker \
|
2022-01-31 13:38:15 +00:00
|
|
|
install.docker-docs \
|
|
|
|
install.remote \
|
2023-02-22 01:09:20 +00:00
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 10
|
2022-02-25 16:50:25 +00:00
|
|
|
install.modules-load
|
|
|
|
%endif
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2021-06-08 14:30:35 +00:00
|
|
|
# install dnsname plugin
|
2022-05-18 19:16:30 +00:00
|
|
|
cd %{repo_plugins}-%{commit_plugins}
|
2019-10-18 13:02:37 +00:00
|
|
|
%{__make} PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2019-10-18 13:02:37 +00:00
|
|
|
|
2021-08-16 12:52:47 +00:00
|
|
|
# install gvproxy
|
2022-05-18 19:16:30 +00:00
|
|
|
cd %{repo_gvproxy}-%{commit_gvproxy}
|
2021-08-16 12:52:47 +00:00
|
|
|
install -dp %{buildroot}%{_libexecdir}/%{name}
|
2021-08-27 13:52:32 +00:00
|
|
|
install -p -m0755 bin/gvproxy %{buildroot}%{_libexecdir}/%{name}
|
2022-05-18 19:16:30 +00:00
|
|
|
cd ..
|
2021-08-16 12:52:47 +00:00
|
|
|
|
2020-01-08 13:51:56 +00:00
|
|
|
# do not include docker and podman-remote man pages in main package
|
|
|
|
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do
|
|
|
|
echo "$file*" >> podman.file-list
|
|
|
|
done
|
|
|
|
|
2022-01-31 13:38:15 +00:00
|
|
|
rm -f %{buildroot}%{_mandir}/man5/docker*.5
|
|
|
|
|
2019-01-18 17:59:24 +00:00
|
|
|
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
|
|
|
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
#define license tag if not already defined
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
|
2020-03-30 15:49:05 +00:00
|
|
|
%files -f %{name}.file-list
|
2018-02-06 22:05:10 +00:00
|
|
|
%license LICENSE
|
2022-08-03 13:55:33 +00:00
|
|
|
%doc README.md CONTRIBUTING.md install.md transfer.md
|
2018-02-06 22:05:10 +00:00
|
|
|
%{_bindir}/%{name}
|
2022-01-19 20:35:02 +00:00
|
|
|
%dir %{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}/rootlessport
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_libexecdir}/%{name}/quadlet
|
2020-11-17 16:18:25 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
2019-03-17 15:16:57 +00:00
|
|
|
# By "owning" the site-functions dir, we don't need to Require zsh
|
2019-05-24 11:52:44 +00:00
|
|
|
%dir %{_datadir}/zsh/site-functions
|
2019-05-24 14:43:28 +00:00
|
|
|
%{_datadir}/zsh/site-functions/_%{name}
|
2020-11-16 01:27:29 +00:00
|
|
|
%dir %{_datadir}/fish/vendor_completions.d
|
|
|
|
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
2022-01-19 20:35:02 +00:00
|
|
|
%{_unitdir}/%{name}*
|
|
|
|
%{_userunitdir}/%{name}*
|
2022-08-24 14:14:56 +00:00
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_systemdgeneratordir}/%{name}-system-generator
|
|
|
|
%{_systemdusergeneratordir}/%{name}-user-generator
|
2023-02-22 01:09:20 +00:00
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 10
|
2022-02-25 16:50:25 +00:00
|
|
|
%{_modulesloaddir}/%{name}-iptables.conf
|
2023-02-22 01:09:20 +00:00
|
|
|
%endif
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2018-08-20 19:31:47 +00:00
|
|
|
%files docker
|
|
|
|
%{_bindir}/docker
|
|
|
|
%{_mandir}/man1/docker*.1*
|
2022-08-24 15:08:01 +00:00
|
|
|
%{_tmpfilesdir}/%{name}-docker.conf
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_user_tmpfilesdir}/%{name}-docker.conf
|
2018-08-20 19:31:47 +00:00
|
|
|
|
2020-06-23 17:55:54 +00:00
|
|
|
%files remote
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}-remote
|
|
|
|
%{_mandir}/man1/%{name}-remote*.*
|
2020-11-17 16:18:25 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}-remote
|
|
|
|
%dir %{_datadir}/fish/vendor_completions.d
|
|
|
|
%{_datadir}/fish/vendor_completions.d/%{name}-remote.fish
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_%{name}-remote
|
2019-02-26 22:44:04 +00:00
|
|
|
|
2019-01-18 17:59:24 +00:00
|
|
|
%files tests
|
|
|
|
%license LICENSE
|
|
|
|
%{_datadir}/%{name}/test
|
|
|
|
|
2019-10-18 13:02:37 +00:00
|
|
|
%files plugins
|
2021-08-16 12:52:47 +00:00
|
|
|
%license %{repo_plugins}-%{commit_plugins}/LICENSE
|
|
|
|
%doc %{repo_plugins}-%{commit_plugins}/{README.md,README_PODMAN.md}
|
2021-06-29 15:10:59 +00:00
|
|
|
%dir %{_libexecdir}/cni
|
2019-10-18 13:02:37 +00:00
|
|
|
%{_libexecdir}/cni/dnsname
|
|
|
|
|
2021-08-16 12:52:47 +00:00
|
|
|
%files gvproxy
|
|
|
|
%license %{repo_gvproxy}-%{commit_gvproxy}/LICENSE
|
|
|
|
%doc %{repo_gvproxy}-%{commit_gvproxy}/README.md
|
|
|
|
%dir %{_libexecdir}/%{name}
|
2021-08-27 13:52:32 +00:00
|
|
|
%{_libexecdir}/%{name}/gvproxy
|
2021-08-16 12:52:47 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%changelog
|
2022-06-06 19:17:21 +00:00
|
|
|
%autochangelog
|