18e436
%global with_debug 1
18e436
%global with_check 0
18e436
4c4c1b
%bcond_without varlink
18e436
%if 0%{?with_debug}
a2ca49
%global _find_debuginfo_dwz_opts %{nil}
18e436
%global _dwz_low_mem_die_limit 0
18e436
%else
4c4c1b
%global debug_package   %{nil}
18e436
%endif
18e436
4c4c1b
%if 0%{?rhel} <= 7 && ! 0%{?fedora}
4c4c1b
%define gobuild(o:) scl enable go-toolset-1.12 -- go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
4c4c1b
%define gogenerate(o:) scl enable go-toolset-1.12 -- go generate %{?**};
4c4c1b
%else
4c4c1b
%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
4c4c1b
%global gogenerate go generate
4c4c1b
%endif
18e436
18e436
%global provider github
18e436
%global provider_tld com
18926c
%global project containers
18e436
%global repo libpod
1adcb1
# https://github.com/containers/libpod
4c4c1b
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
4c4c1b
%global import_path %{provider_prefix}
4c4c1b
%global git0 https://%{provider}.%{provider_tld}/%{project}/%{repo}
4c4c1b
%global commit0 5cc92849f7fc9dd734ca2fd8f3ae8830b9a7eb26
4c4c1b
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
18e436
18e436
Name: podman
4c4c1b
Version: 1.6.4
9cbe11
Release: 18%{?dist}
18e436
Summary: Manage Pods, Containers and Container Images
9cbe11
ExcludeArch: %{ix86} s390 ppc ppc64
18e436
License: ASL 2.0
4c4c1b
URL: https://%{name}.io/
4c4c1b
Source0: %{git0}/archive/%{commit0}/%{repo}-%{shortcommit0}.tar.gz
4c4c1b
Patch0: podman-1792243.patch
4c4c1b
Patch1: https://patch-diff.githubusercontent.com/raw/containers/libpod/pull/5085.patch
4c4c1b
Patch2: podman-CVE-2020-1726.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1784950
4c4c1b
# backported:  https://patch-diff.githubusercontent.com/raw/containers/buildah/pull/2031.patch
4c4c1b
Patch3: podman-1784950.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1805212
4c4c1b
# backported:  https://github.com/containers/libpod/pull/5348/commits/6c97e0d5c140d587e5477d478159e91b8adcfd15.patch
4c4c1b
Patch4: podman-1805212.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1807379
4c4c1b
# patch:       https://github.com/containers/libpod/pull/4818.patch
4c4c1b
Patch5: podman-1807379.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1775647
4c4c1b
# patch:       https://patch-diff.githubusercontent.com/raw/containers/libpod/pull/4493.patch
4c4c1b
Patch6: podman-1775647.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1807310
4c4c1b
# patch:       https://github.com/containers/libpod/pull/5349.patch
4c4c1b
Patch7: podman-1807310.patch
4c4c1b
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1702
4c4c1b
# patch:       https://patch-diff.githubusercontent.com/raw/containers/libpod/pull/5096.patch
4c4c1b
Patch8: podman-CVE-2020-1702.patch
9cbe11
# tracker bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10696
9cbe11
# backported:  https://github.com/containers/buildah/commit/c61925b8936e93a5e900f91b653a846f7ea3a9ed.patch
9cbe11
Patch9: podman-CVE-2020-10696.patch
9cbe11
# tracker bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-8945
9cbe11
# backported:  https://github.com/containers/skopeo/pull/825.patch
9cbe11
Patch10: podman-CVE-2020-8945.patch
4c4c1b
Provides: %{name}-manpages = %{version}-%{release}
4c4c1b
Obsoletes: %{name}-manpages < %{version}-%{release}
4c4c1b
%if 0%{?rhel} <= 7 && ! 0%{?fedora}
4c4c1b
BuildRequires: go-toolset-1.12
538a8c
%else
4c4c1b
BuildRequires: golang >= 1.12.12-4
213397
%endif
18e436
BuildRequires: glib2-devel
18e436
BuildRequires: glibc-devel
18e436
BuildRequires: glibc-static
18e436
BuildRequires: git
18e436
BuildRequires: go-md2man
18e436
BuildRequires: gpgme-devel
18e436
BuildRequires: libassuan-devel
18e436
BuildRequires: libgpg-error-devel
18e436
BuildRequires: libseccomp-devel
18e436
BuildRequires: libselinux-devel
4c4c1b
BuildRequires: ostree-devel
18e436
BuildRequires: pkgconfig
4c4c1b
BuildRequires: make
4c4c1b
BuildRequires: systemd
1cdf71
BuildRequires: systemd-devel
4c4c1b
Requires: containers-common >= 0.1.29-3
1adcb1
Requires: containernetworking-plugins >= 0.8.1-1
18e436
Requires: iptables
4c4c1b
Requires: nftables
4c4c1b
Requires: libseccomp
4c4c1b
Requires: conmon
18926c
Requires: container-selinux
4c4c1b
Requires: slirp4netns >= 0.4.0-1
4c4c1b
Requires: runc >= 1.0.0-57
4c4c1b
Requires: fuse-overlayfs
4c4c1b
18e436
# vendored libraries
18e436
# awk '{print "Provides: bundled(golang("$1")) = "$2}' vendor.conf | sort
18e436
# [thanks to Carl George <carl@george.computer> for containerd.spec]
18e436
Provides: bundled(golang(github.com/Azure/go-ansiterm)) = 19f72df4d05d31cbe1c56bfc8045c96babff6c7e
18e436
Provides: bundled(golang(github.com/blang/semver)) = v3.5.0
4c4c1b
Provides: bundled(golang(github.com/boltdb/bolt)) = master
18e436
Provides: bundled(golang(github.com/buger/goterm)) = 2f8dfbc7dbbff5dd1d391ed91482c24df243b2d3
18e436
Provides: bundled(golang(github.com/BurntSushi/toml)) = v0.2.0
4c4c1b
Provides: bundled(golang(github.com/containerd/cgroups)) = 58556f5ad8448d99a6f7bea69ea4bdb7747cfeb0
18e436
Provides: bundled(golang(github.com/containerd/continuity)) = master
4c4c1b
#Provides: bundled(golang(github.com/containernetworking/cni)) = v0.7.0-alpha1
4c4c1b
Provides: bundled(golang(github.com/containernetworking/plugins)) = 1562a1e60ed101aacc5e08ed9dbeba8e9f3d4ec1
4c4c1b
Provides: bundled(golang(github.com/containers/image)) = 85d7559d44fd71f30e46e43d809bfbf88d11d916
4c4c1b
Provides: bundled(golang(github.com/containers/psgo)) = 5dde6da0bc8831b35243a847625bcf18183bd1ee
4c4c1b
Provides: bundled(golang(github.com/containers/storage)) = 243c4cd616afdf06b4a975f18c4db083d26b1641
4c4c1b
Provides: bundled(golang(github.com/coreos/go-iptables)) = 25d087f3cffd9aedc0c2b7eff25f23cbf3c20fe1
18e436
Provides: bundled(golang(github.com/coreos/go-systemd)) = v14
4c4c1b
Provides: bundled(golang(github.com/cri-o/ocicni)) = master
18e436
Provides: bundled(golang(github.com/cyphar/filepath-securejoin)) = v0.2.1
18e436
Provides: bundled(golang(github.com/davecgh/go-spew)) = v1.1.0
18e436
Provides: bundled(golang(github.com/docker/distribution)) = 7a8efe719e55bbfaff7bc5718cdf0ed51ca821df
4c4c1b
Provides: bundled(golang(github.com/docker/docker)) = 86f080cff0914e9694068ed78d503701667c4c00
18e436
Provides: bundled(golang(github.com/docker/docker-credential-helpers)) = d68f9aeca33f5fd3f08eeae5e9d175edf4e731d1
18e436
Provides: bundled(golang(github.com/docker/go-connections)) = 3ede32e2033de7505e6500d6c868c2b9ed9f169d
18e436
Provides: bundled(golang(github.com/docker/go-units)) = v0.3.2
18e436
Provides: bundled(golang(github.com/docker/libtrust)) = aabc10ec26b754e797f9028f4589c5b7bd90dc20
18e436
Provides: bundled(golang(github.com/docker/spdystream)) = ed496381df8283605c435b86d4fdd6f4f20b8c6e
18e436
Provides: bundled(golang(github.com/fatih/camelcase)) = f6a740d52f961c60348ebb109adde9f4635d7540
4c4c1b
Provides: bundled(golang(github.com/fsnotify/fsnotify)) = 7d7316ed6e1ed2de075aab8dfc76de5d158d66e1
4c4c1b
Provides: bundled(golang(github.com/fsouza/go-dockerclient)) = master
18e436
Provides: bundled(golang(github.com/ghodss/yaml)) = 04f313413ffd65ce25f2541bfd2b2ceec5c0908c
18e436
Provides: bundled(golang(github.com/godbus/dbus)) = a389bdde4dd695d414e47b755e95e72b7826432c
4c4c1b
Provides: bundled(golang(github.com/gogo/protobuf)) = c0656edd0d9eab7c66d1eb0c568f9039345796f7
18e436
Provides: bundled(golang(github.com/golang/glog)) = 23def4e6c14b4da8ac2ed8007337bc5eb5007998
18e436
Provides: bundled(golang(github.com/golang/groupcache)) = b710c8433bd175204919eb38776e944233235d03
4c4c1b
Provides: bundled(golang(github.com/golang/protobuf)) = 4bd1920723d7b7c925de087aa32e2187708897f7
4c4c1b
Provides: bundled(golang(github.com/googleapis/gnostic)) = 0c5108395e2debce0d731cf0287ddf7242066aba
18e436
Provides: bundled(golang(github.com/google/gofuzz)) = 44d81051d367757e1c7c6a5a86423ece9afcf63c
18e436
Provides: bundled(golang(github.com/gorilla/context)) = v1.1
18e436
Provides: bundled(golang(github.com/gorilla/mux)) = v1.3.0
18e436
Provides: bundled(golang(github.com/hashicorp/errwrap)) = 7554cd9344cec97297fa6649b055a8c98c2a1e55
18e436
Provides: bundled(golang(github.com/hashicorp/golang-lru)) = 0a025b7e63adc15a622f29b0b2c4c3848243bbf6
18e436
Provides: bundled(golang(github.com/hashicorp/go-multierror)) = 83588e72410abfbe4df460eeb6f30841ae47d4c4
18e436
Provides: bundled(golang(github.com/imdario/mergo)) = 0.2.2
4c4c1b
Provides: bundled(golang(github.com/json-iterator/go)) = 1.0.0
18e436
Provides: bundled(golang(github.com/kr/pty)) = v1.0.0
4c4c1b
Provides: bundled(golang(github.com/mailru/easyjson)) = 03f2033d19d5860aef995fe360ac7d395cd8ce65
18e436
Provides: bundled(golang(github.com/mattn/go-runewidth)) = v0.0.1
18e436
Provides: bundled(golang(github.com/Microsoft/go-winio)) = 78439966b38d69bf38227fbf57ac8a6fee70f69a
18e436
Provides: bundled(golang(github.com/Microsoft/hcsshim)) = 43f9725307998e09f2e3816c2c0c36dc98f0c982
18e436
Provides: bundled(golang(github.com/mistifyio/go-zfs)) = v2.1.1
4c4c1b
Provides: bundled(golang(github.com/mrunalp/fileutils)) = master
18e436
Provides: bundled(golang(github.com/mtrmac/gpgme)) = b2432428689ca58c2b8e8dea9449d3295cf96fc9
4c4c1b
Provides: bundled(golang(github.com/Nvveen/Gotty)) = master
4c4c1b
#Provides: bundled(golang(github.com/opencontainers/go-digest)) = v1.0.0-rc0
18e436
Provides: bundled(golang(github.com/opencontainers/image-spec)) = v1.0.0
4c4c1b
Provides: bundled(golang(github.com/opencontainers/runc)) = b4e2ecb452d9ee4381137cc0a7e6715b96bed6de
4c4c1b
Provides: bundled(golang(github.com/opencontainers/runtime-spec)) = d810dbc60d8c5aeeb3d054bd1132fab2121968ce
4c4c1b
Provides: bundled(golang(github.com/opencontainers/runtime-tools)) = master
4c4c1b
Provides: bundled(golang(github.com/opencontainers/selinux)) = b6fa367ed7f534f9ba25391cc2d467085dbb445a
4c4c1b
Provides: bundled(golang(github.com/openshift/imagebuilder)) = master
18e436
Provides: bundled(golang(github.com/ostreedev/ostree-go)) = master
18e436
Provides: bundled(golang(github.com/pkg/errors)) = v0.8.0
18e436
Provides: bundled(golang(github.com/pmezard/go-difflib)) = 792786c7400a136282c1664665ae0a8db921c6c2
18e436
Provides: bundled(golang(github.com/pquerna/ffjson)) = d49c2bc1aa135aad0c6f4fc2056623ec78f5d5ac
4c4c1b
Provides: bundled(golang(github.com/projectatomic/buildah)) = af5bbde0180026ae87b7fc81c2dc124aa73ec959
4c4c1b
Provides: bundled(golang(github.com/seccomp/containers-golang)) = master
18e436
Provides: bundled(golang(github.com/seccomp/libseccomp-golang)) = v0.9.0
18e436
Provides: bundled(golang(github.com/sirupsen/logrus)) = v1.0.0
18e436
Provides: bundled(golang(github.com/spf13/pflag)) = 9ff6c6923cfffbcd502984b8e0c80539a94968b7
18e436
Provides: bundled(golang(github.com/stretchr/testify)) = 4d4bfba8f1d1027c4fdbe371823030df51419987
18e436
Provides: bundled(golang(github.com/syndtr/gocapability)) = e7cb7fa329f456b3855136a2642b197bad7366ba
18e436
Provides: bundled(golang(github.com/tchap/go-patricia)) = v2.2.6
4c4c1b
Provides: bundled(golang(github.com/ulikunitz/xz)) = v0.5.4
4c4c1b
Provides: bundled(golang(github.com/ulule/deepcopier)) = master
4c4c1b
Provides: bundled(golang(github.com/urfave/cli)) = 934abfb2f102315b5794e15ebc7949e4ca253920
4c4c1b
Provides: bundled(golang(github.com/varlink/go)) = master
18e436
Provides: bundled(golang(github.com/vbatts/tar-split)) = v0.10.2
18e436
Provides: bundled(golang(github.com/vishvananda/netlink)) = master
18e436
Provides: bundled(golang(github.com/vishvananda/netns)) = master
18e436
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = master
18e436
Provides: bundled(golang(github.com/xeipuuv/gojsonreference)) = master
18e436
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = master
4c4c1b
Provides: bundled(golang(golang.org/x/crypto)) = 81e90905daefcd6fd217b62423c0908922eadb30
18e436
Provides: bundled(golang(golang.org/x/net)) = c427ad74c6d7a814201695e9ffde0c5d400a7674
4c4c1b
Provides: bundled(golang(golang.org/x/sys)) = master
18e436
Provides: bundled(golang(golang.org/x/text)) = f72d8390a633d5dfb0cc84043294db9f6c935756
4c4c1b
Provides: bundled(golang(golang.org/x/time)) = f51c12702a4d776e4c1fa9b0fabab841babae631
18e436
Provides: bundled(golang(google.golang.org/grpc)) = v1.0.4
18e436
Provides: bundled(golang(gopkg.in/cheggaaa/pb.v1)) = v1.0.7
18e436
Provides: bundled(golang(gopkg.in/inf.v0)) = v0.9.0
18e436
Provides: bundled(golang(gopkg.in/mgo.v2)) = v2
4c4c1b
Provides: bundled(golang(gopkg.in/square/go-jose.v2)) = v2.1.3
18e436
Provides: bundled(golang(gopkg.in/yaml.v2)) = v2
4c4c1b
Provides: bundled(golang(k8s.io/api)) = 5ce4aa0bf2f097f6021127b3d879eeda82026be8
4c4c1b
Provides: bundled(golang(k8s.io/apiextensions-apiserver)) = 1b31e26d82f1ec2e945c560790e98f34bb5f2e63
4c4c1b
Provides: bundled(golang(k8s.io/apimachinery)) = 616b23029fa3dc3e0ccefd47963f5651a6543d94
4c4c1b
Provides: bundled(golang(k8s.io/apiserver)) = 4d1163080139f1f9094baf8a3a6099e85e1867f6
4c4c1b
Provides: bundled(golang(k8s.io/client-go)) = 7cd1d3291b7d9b1e2d54d4b69eb65995eaf8888e
4c4c1b
Provides: bundled(golang(k8s.io/kube-openapi)) = 275e2ce91dec4c05a4094a7b1daee5560b555ac9
4c4c1b
Provides: bundled(golang(k8s.io/utils)) = 258e2a2fa64568210fbd6267cf1d8fd87c3cb86e
18e436
18e436
%description
4c4c1b
%{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}.  Most %{name} commands can be run as a regular user, without requiring additional privileges.
4c4c1b
4c4c1b
%{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.
4c4c1b
18e436
%{summary}
4c4c1b
%{repo} Simple management tool for pods, containers and images
18e436
44542a
%package docker
4c4c1b
Summary: Emulate Docker CLI using %{name}
44542a
BuildArch: noarch
44542a
Requires: %{name} = %{version}-%{release}
44542a
Conflicts: docker
44542a
Conflicts: docker-latest
44542a
Conflicts: docker-ce
44542a
Conflicts: docker-ee
4c4c1b
Conflicts: moby-engine
44542a
44542a
%description docker
44542a
This package installs a script named docker that emulates the Docker CLI by
4c4c1b
executes %{name} commands, it also creates links between all Docker CLI man
44542a
pages and %{name}.
44542a
4c4c1b
%package remote
4c4c1b
Summary: (Experimental) Remote client for managing %{name} containers
4c4c1b
4c4c1b
%description remote
4c4c1b
Remote client for managing %{name} containers.
4c4c1b
4c4c1b
This experimental remote client is under heavy development. Please do not
4c4c1b
run %{name}-remote in production.
4c4c1b
4c4c1b
%{name}-remote uses the varlink connection to connect to a %{name} client to
4c4c1b
manage pods, containers and container images. %{name}-remote supports ssh
4c4c1b
connections as well.
4c4c1b
4c4c1b
%package tests
4c4c1b
Summary: Tests for %{name}
4c4c1b
Requires: %{name} = %{version}-%{release}
4c4c1b
#Requires: bats  (which RHEL8 doesn't have. If it ever does, un-comment this)
4c4c1b
Requires: jq
4c4c1b
4c4c1b
%description tests
4c4c1b
%{summary}
4c4c1b
4c4c1b
This package contains system tests for %{name}
18e436
18e436
%prep
4c4c1b
%autosetup -Sgit -n %{repo}-%{commit0}
18e436
4c4c1b
sed -i 's/install.bin: podman/install.bin:/' Makefile
4c4c1b
sed -i 's/install.man: docs/install.man:/' Makefile
4c4c1b
sed -i 's/install.remote: podman-remote/install.remote:/' Makefile
4c4c1b
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
18e436
18e436
%build
4c4c1b
export GO111MODULE=off
4c4c1b
export GOPATH=$(pwd):$(pwd)/_build
4c4c1b
18e436
mkdir -p $(pwd)/_build
18e436
pushd $(pwd)/_build
18e436
mkdir -p src/%{provider}.%{provider_tld}/%{project}
18e436
ln -s ../../../../ src/%{import_path}
18e436
popd
18e436
ln -s vendor src
18e436
4c4c1b
rm -rf vendor/github.com/containers/storage/drivers/register/register_btrfs.go
4c4c1b
%gogenerate ./cmd/%{name}/varlink/...
1adcb1
4c4c1b
# build %%{name}
4c4c1b
export BUILDTAGS="varlink systemd selinux seccomp btrfs_noversion exclude_graphdriver_devicemapper $(hack/libdm_tag.sh)"
44542a
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
1adcb1
4c4c1b
# build %%{name}-remote
4c4c1b
export BUILDTAGS="remoteclient $BUILDTAGS"
4c4c1b
%gobuild -o bin/%{name}-remote %{import_path}/cmd/%{name}
18e436
4c4c1b
%{__make} docs
4c4c1b
./docs/dckrman.sh ./docs/build/man/*
18e436
18e436
%install
4c4c1b
install -dp %{buildroot}%{_unitdir}
4c4c1b
PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
18926c
        install.bin \
4c4c1b
        install.remote \
18926c
        install.man \
18926c
        install.cni \
18926c
        install.systemd \
18926c
        install.completions
18e436
18e436
# install libpod.conf
18e436
install -dp %{buildroot}%{_datadir}/containers
4c4c1b
install -m 644 %{repo}.conf %{buildroot}%{_datadir}/containers
18e436
4c4c1b
# install docker-docs
4c4c1b
install -dp %{buildroot}%{_mandir}/man1
4c4c1b
install -m 644 docs/build/man/docker*.1 -t %{buildroot}%{_mandir}/man1
4c4c1b
4c4c1b
# install docker symlink
4c4c1b
install -m 755 docker %{buildroot}%{_bindir}
18e436
4c4c1b
# install test stuff
4c4c1b
ln -s ./ ./vendor/src # ./vendor/src -> ./vendor
4c4c1b
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
4c4c1b
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
44542a
4c4c1b
# do not include docker and podman-remote man pages in main package
4c4c1b
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do
4c4c1b
    echo "$file*" >> podman.file-list
4c4c1b
done
564901
18e436
%check
213397
%if 0%{?with_check}
4c4c1b
# Since we aren't packaging up the vendor directory we need to link
4c4c1b
# back to it somehow. Hack it up so that we can add the vendor
4c4c1b
# directory from BUILD dir as a gopath to be searched when executing
4c4c1b
# tests from the BUILDROOT dir.
18e436
ln -s ./ ./vendor/src # ./vendor/src -> ./vendor
4c4c1b
18e436
export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
18e436
18e436
%if ! 0%{?gotest:1}
18e436
%global gotest go test
18e436
%endif
18e436
18e436
%gotest %{import_path}/cmd/%{name}
18e436
%gotest %{import_path}/libkpod
18e436
%gotest %{import_path}/libpod
18e436
%gotest %{import_path}/pkg/registrar
18e436
%endif
18e436
1cdf71
%triggerpostun -- %{name} < 1.1
1cdf71
%{_bindir}/%{name} system renumber
1cdf71
exit 0
1cdf71
18e436
#define license tag if not already defined
18e436
%{!?_licensedir:%global license %doc}
18e436
4c4c1b
%files -f podman.file-list
18e436
%license LICENSE
a2ca49
%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
18e436
%{_bindir}/%{name}
18e436
%{_datadir}/bash-completion/completions/*
4c4c1b
# By "owning" the site-functions dir, we don't need to Require zsh
4c4c1b
%{_datadir}/zsh/site-functions
4c4c1b
%{_datadir}/zsh/site-functions/*
18e436
%config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist
18e436
%{_datadir}/containers/%{repo}.conf
4c4c1b
%{_unitdir}/io.%{name}.service
4c4c1b
%{_unitdir}/io.%{name}.socket
4c4c1b
%{_userunitdir}/io.%{name}.service
4c4c1b
%{_userunitdir}/io.%{name}.socket
4c4c1b
1cdf71
%{_usr}/lib/tmpfiles.d/%{name}.conf
18e436
44542a
%files docker
44542a
%{_bindir}/docker
44542a
%{_mandir}/man1/docker*.1*
44542a
4c4c1b
%files remote
4c4c1b
%{_bindir}/%{name}-remote
4c4c1b
%{_mandir}/man1/%{name}-remote*.1*
4c4c1b
4c4c1b
%files tests
4c4c1b
%license LICENSE
4c4c1b
%{_datadir}/%{name}/test
4c4c1b
213397
%changelog
9cbe11
* Fri Apr 03 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-18
9cbe11
- fix "CVE-2020-8945 proglottis/gpgme: Use-after-free in GPGME bindings during container image pull"
9cbe11
- Resolves: #1806940
9cbe11
9cbe11
* Tue Mar 31 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-17
9cbe11
- fix "CVE-2020-10696 buildah: crafted input tar file may lead to local file overwriting during image build process"
9cbe11
- Resolves: #1817743
9cbe11
4c4c1b
* Wed Mar 25 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-16
4c4c1b
- use the full PR 5348 to fix "no route to host from inside container"
4c4c1b
- Resolves: #1806895
4c4c1b
4c4c1b
* Tue Mar 17 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-15
4c4c1b
- update fix for "podman (1.6.4) rhel 8.1 no route to host from inside container"
4c4c1b
- Resolves: #1806895
4c4c1b
4c4c1b
* Mon Mar 16 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-14
4c4c1b
- fix "CVE-2020-1702 podman: containers/image: Container images read entire image manifest into memory"
4c4c1b
- Resolves: #1810614
4c4c1b
4c4c1b
* Sat Feb 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-13
4c4c1b
- fix "[FJ8.2 Bug]: [REG]The "--group-add" option of "podman create" doesn't function."
4c4c1b
- Resolves: #1808702
4c4c1b
4c4c1b
* Wed Feb 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-12
4c4c1b
- fix "Podman can't reuse a container name, even if the container that was using it is no longer around"
4c4c1b
- Resolves: #1807437
4c4c1b
4c4c1b
* Wed Feb 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-11
4c4c1b
- fix "podman exec does not reads from stdin"
4c4c1b
- Resolves: #1807586
4c4c1b
4c4c1b
* Tue Feb 25 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-10
4c4c1b
- fix "podman (1.6.4) rhel 8.1 no route to host from inside container"
4c4c1b
- Resolves: #1806895
4c4c1b
4c4c1b
* Wed Feb 19 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-9
4c4c1b
- fix "Podman support for FIPS Mode requires a bind mount inside the container"
4c4c1b
- Resolves: #1804189
4c4c1b
4c4c1b
* Thu Feb 13 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-8
4c4c1b
- Fix CVE-2020-1726
4c4c1b
- Resolves: #1801825
4c4c1b
4c4c1b
* Fri Feb 07 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-7
4c4c1b
- allow colon be present in tarball name (#1797599)
4c4c1b
4c4c1b
* Fri Jan 24 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-6
4c4c1b
- resurrect s390x arch as kernel there now has the renameat2 syscall (#1773504)
4c4c1b
4c4c1b
* Mon Jan 20 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-5
4c4c1b
- Fix thread safety of gpgme (#1792243)
4c4c1b
4c4c1b
* Wed Jan 15 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-4
4c4c1b
- temporary disable s390x arch due to #1773504 causing fuse-overlayfs
4c4c1b
  failing to build - podman requires it
4c4c1b
4c4c1b
* Tue Jan 14 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-3
4c4c1b
- drop libvarlink and hard libseccomp deps: we don't have these in RHEL7.8
4c4c1b
4c4c1b
* Wed Jan 08 2020 Jindrich Novy <jnovy@redhat.com> - 1.6.4-2
4c4c1b
- merge podman-manpages with podman package and put man pages for
4c4c1b
  podman-remote to its dedicated subpackage
4c4c1b
Resolves: #1788549
4c4c1b
4c4c1b
* Thu Dec 12 2019 Jindrich Novy <jnovy@redhat.com> - 1.6.4-1
4c4c1b
- update to 1.6.4
4c4c1b
- split podman and conmon packages
4c4c1b
4c4c1b
* Thu Sep 12 2019 Jindrich Novy <jnovy@redhat.com> - 1.4.4-5
4c4c1b
- Fix CVE-2019-10214.
4c4c1b
184798
* Wed Aug 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.4-4
184798
- Resolves: #1741264 - remove unnecessary dep on atomic-registries
184798
457f96
* Fri Aug 02 2019 Jindrich Novy <jnovy@redhat.com> - 1.4.4-3
457f96
- use 1.4.4 in RHEL7u7
457f96
1adcb1
* Tue Jul 23 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.4-2
1adcb1
- Resolves: #1728242
1adcb1
1adcb1
* Thu Jul 04 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.4-1
1adcb1
- bump to v1.4.4
1adcb1
1adcb1
* Thu Jun 27 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.3-1
1adcb1
- bump to v1.4.3
1adcb1
1adcb1
* Tue Jun 25 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.1-1
1adcb1
- bump to v1.4.1
1adcb1
- bump conmon to v0.3.0
1adcb1
1adcb1
* Sat Jun 08 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.0-2
1adcb1
- build only supported arches
1adcb1
1adcb1
* Sat Jun 08 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.0-1
1adcb1
- rebase to v1.4.0
1adcb1
- use conmon v0.2.0
1adcb1
1cdf71
* Wed May 29 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.3.2-1.git14fdcd0
1cdf71
- Resolves: #1714700
1cdf71
- bump to v1.3.2
1cdf71
1cdf71
* Thu May 23 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.3.1-1.git7210727
1cdf71
- Resolves: #1710265
1cdf71
- bump to v1.3.1
1cdf71
1cdf71
* Tue May 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.3.0-1.git139afa7
1cdf71
- Resolves: #1701922, #1689862, #1418418, #1418422, #1649044, #1534505
1cdf71
- BR: systemd-devel
1cdf71
1cdf71
* Tue Apr 02 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.2.0-3.git3bd528e
1cdf71
- Ensure correct upstream version number
1cdf71
1cdf71
* Mon Apr 01 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2-2.git3bd528e
1cdf71
- rebase
1cdf71
1cdf71
* Wed Mar 06 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.1.2-2.git0ad9b6b
1cdf71
- system renumber when upgrading from version lower than 1.1
1cdf71
- centos build envs don't have make by default
1cdf71
1cdf71
* Wed Mar 06 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.1.2-1.git0ad9b6b
1cdf71
- bump to v1.1.2
1cdf71
1cdf71
* Fri Feb 15 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.1-2.git921f98f
1cdf71
- last rebase was to version 1.0.1 actually
1cdf71
1cdf71
* Mon Feb 11 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-3.git921f98f
1cdf71
- rebase
1cdf71
1cdf71
* Mon Feb 11 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-2.git6d7d90e
1cdf71
- rebase
1cdf71
1cdf71
* Tue Jan 15 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-1.git82e8011
1cdf71
- rebase to v1, yay!
1cdf71
- rebase conmon to 9b1f0a08285a7f74b21cc9b6bfd98a48905a7ba2
498711
564901
* Fri Dec 14 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.12.1.2-2.git9551f6b
564901
- rebase
564901
564901
* Mon Dec 10 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.11.1.1-5.git594495d
564901
- varlink not in rhel7, remove unitfiles. https://bugzilla.redhat.com/show_bug.cgi?id=1657303
564901
564901
* Wed Nov 21 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.11.1.1-4.git594495d
564901
- openssl-devel needed only with scl go toolset
b766ec
44542a
* Thu Nov 15 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.11.1.1-3.git594495d
44542a
- correctly generate debuginfo by updating gobuild def
44542a
44542a
* Thu Nov 15 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.11.1.1-2.git594495d
44542a
- enable debuginfo for conmon
44542a
44542a
* Thu Nov 15 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.11.1.1-1.git594495d
44542a
- Resolves: #1649563, #1648429
44542a
- bump to v0.11.1.1
44542a
- built libpod commit 594495d
44542a
44542a
* Wed Nov 14 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.11.1-2.gita4adfe5
44542a
- fix conflicts with docker and docker-common
44542a
44542a
* Tue Nov 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.11.1-1.gita4adfe5
44542a
- bump to v0.11.1
44542a
- subpackage podman-docker
44542a
- built libpod commit a4adfe5
44542a
- built conmon from cri-o commit 464dba6
44542a
44542a
* Fri Nov 02 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.10.1.3-4.gitee513cc
44542a
- rpm macro for centos
44542a
44542a
* Wed Oct 31 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.10.1.3-3.gitee513cc
44542a
- rebase
44542a
44542a
* Fri Oct 26 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.10.1.3-2.git6e1aeb0
44542a
- rebase to 6e1aeb06f86bfed7045be19c8e8b09c1bf5ba55f
44542a
- rebase cri-o to 1.12
44542a
538a8c
* Thu Oct 18 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.10.1.3-1.gitdb08685
538a8c
- Resolves: #1640342 - update vendored buildah to allow building when there are
538a8c
containers running
538a8c
538a8c
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.10.1.2-1.git2b4f8d1
538a8c
- Resolves: #1627891
538a8c
- bump to v0.10.1.2
538a8c
- built podman commit 2b4f8d1
538a8c
538a8c
* Tue Oct 16 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.10.1.1-1.git4bea3e9
538a8c
- bump podman to v0.10.1.1
538a8c
- built podman commit 4bea3e9
538a8c
- built conmon from cri-o commit a30f93c
538a8c
538a8c
* Wed Oct 03 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.9.3.1-4.gita3c4ce6
538a8c
- rebased cri-o to 1.11.6
538a8c
538a8c
* Wed Oct 03 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.9.3.1-3.gita3c4ce6
538a8c
- rebase
538a8c
538a8c
* Wed Sep 26 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.9.3.1-2.git1cd906d
538a8c
- rebase
538a8c
538a8c
* Tue Sep 25 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.9.3-2.gita723353
538a8c
- rebase
538a8c
538a8c
* Mon Sep 17 2018 Dan Walsh <dwalsh@redhat.com> - 0.9.2.1-1.git19cb754
538a8c
- Merge in fixes for podman build, to handle symbolic links and running sudo in Dockerfile
538a8c
18926c
* Mon Sep 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.9.2-5.git37a2afe
18926c
- rebase to podman 0.9.2
18926c
- rebase to cri-o 0.11.4
18926c
18926c
* Fri Sep 14 2018 dwalsh <dwalsh@redhat.com> - 0.9.1-4.gitaba58d1
18926c
- podman no longer requires oci-systemd-hook
18926c
18926c
* Sun Sep 09 2018 baude <bbaude@redhat.com> - 0.9.1-3.gitaba58d1
18926c
- Grab correct commit for podman-0.9.1
18926c
18926c
* Wed Sep 05 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.5-3.gitdc5a711
18926c
- rebased cri-o to 1.11.2
18926c
18926c
* Tue Sep 04 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.5-2.gitdc5a711
18926c
- rebase
18926c
18926c
* Tue Sep 04 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.4-3.git9f9b8cf
18926c
- depend on oci-systemd-hook
18926c
18926c
* Thu Aug 30 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.4-2.git9f9b8cf
18926c
- rebase
18926c
18926c
* Sun Aug 12 2018 Dan Walsh <dwalsh@redhat.com> - 0.8.2.1-1.git7a526bb
18926c
- Upstream 0.8.2.1 release
18926c
18926c
* Sat Aug 4 2018 Dan Walsh <dwalsh@redhat.com> - 0.8.1-1.git6b4ab2a
18926c
- Bump to v0.8.1
18926c
213397
* Sat Jul 21 2018 Dan Walsh <dwalsh@redhat.com> - 0.7.3-2.git079121
213397
- Turn on ostree support
213397
- Upstream 0.7.3
18e436
213397
* Sat Jul 14 2018 Dan Walsh <dwalsh@redhat.com> - 0.7.2-2.git4ca4c5f
213397
- Upstream 0.7.2 release
213397
213397
* Wed Jul 11 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.7.1-3.git84cfdb2
213397
- rebuilt
213397
213397
* Wed Jul 11 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.7.1-2.git84cfdb2
213397
- rebase to 84cfdb2
213397
213397
* Sun Jul 08 2018 Dan Walsh <dwalsh@redhat.com> - 0.7.1-1.git802d4f2
213397
- Upstream 0.7.1 release
213397
213397
* Mon Jun 25 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.6.4-2.gitd5beb2f
213397
- disable devel and unittest subpackages
213397
- include conditionals for rhel-8.0
213397
213397
* Fri Jun 22 2018 Dan Walsh <dwalsh@redhat.com> - 0.6.4-1.gitd5beb2f
213397
- do not compress debuginfo with dwz to support delve debugger
18e436
a2ca49
* Mon Jun 04 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.6.1-3.git3e0ff12
a2ca49
- do not compress debuginfo with dwz to support delve debugger
a2ca49
a2ca49
* Mon Jun 04 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.6.1-2.git3e0ff12
a2ca49
- bash completion shouldn't have shebang
a2ca49
a2ca49
* Mon Jun 04 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.6.1-1.git3e0ff12
a2ca49
- Resolves: #1584429 - drop capabilities when running a container as non-root
a2ca49
- bump to v0.6.1
a2ca49
- built podman commit 3e0ff12
a2ca49
- built conmon from cri-o commit 1c0c3b0
a2ca49
- drop containernetworking-plugins subpackage, it's now split out into a standalone
a2ca49
package
a2ca49
18e436
* Fri Apr 27 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-4.gitb51d327
18e436
- Resolves: #1572538 - build host-device and portmap plugins
18e436
18e436
* Thu Apr 12 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-3.gitb51d327
18e436
- correct dep on containernetworking-plugins
18e436
18e436
* Thu Apr 12 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-2.gitb51d327
18e436
- add containernetworking-plugins v0.7.0 as a subpackage (podman dep)
18e436
- release tag for the containernetworking-plugins is actually gotten from
18e436
podman release tag.
18e436
18e436
* Wed Apr 11 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-1.gitb51d327
18e436
- bump to v0.4.1
18e436
- built commit b51d327
18e436
18e436
* Wed Mar 14 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.3.3-1.dev.gitbc358eb
18e436
- built podman commit bc358eb
18e436
- built conmon from cri-o commit 712f3b8
18e436
18e436
* Fri Mar 09 2018 baude <bbaude@redhat.com> - 0.3.2-1.gitf79a39a
18e436
- Release 0.3.2-1
18e436
18e436
* Sun Mar 04 2018 baude <bbaude@redhat.com> - 0.3.1-2.git98b95ff
18e436
- Correct RPM version
18e436
18e436
* Fri Mar 02 2018 baude <bbaude@redhat.com> - 0.3.1-1-gitc187538
18e436
- Release 0.3.1-1
18e436
18e436
* Sun Feb 25 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.2-2.git525e3b1
18e436
- Build on ARMv7 too (Fedora supports containers on that arch too)
18e436
18e436
* Fri Feb 23 2018 baude <bbaude@redhat.com> - 0.2.2-1.git525e3b1
18e436
- Release 0.2.2
18e436
18e436
* Fri Feb 16 2018 baude <bbaude@redhat.com> - 0.2.1-1.git3d0100b
18e436
- Release 0.2.1
18e436
18e436
* Wed Feb 14 2018 baude <bbaude@redhat.com> - 0.2-3.git3d0100b
18e436
- Add dep for atomic-registries
18e436
18e436
* Tue Feb 13 2018 baude <bbaude@redhat.com> - 0.2-2.git3d0100b
18e436
- Add more 64bit arches
18e436
- Add containernetworking-cni dependancy
18e436
- Add iptables dependancy
18e436
18e436
* Mon Feb 12 2018 baude <bbaude@redhat.com> - 0-2.1.git3d0100
18e436
- Release 0.2
18e436
18e436
* Tue Feb 06 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.3.git367213a
18e436
- Resolves: #1541554 - first official build
18e436
- built commit 367213a
18e436
18e436
* Fri Feb 02 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.2.git0387f69
18e436
- built commit 0387f69
18e436
18e436
* Wed Jan 10 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0-0.1.gitc1b2278
18e436
- First package for Fedora
18e436