Add install of pypodman
This commit is contained in:
parent
62368d9e56
commit
ed1fd7e85e
26
podman.spec
26
podman.spec
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
Name: podman
|
Name: podman
|
||||||
Version: 0.7.2
|
Version: 0.7.2
|
||||||
Release: 9.dev.git%{shortcommit0}%{?dist}
|
Release: 10.dev.git%{shortcommit0}%{?dist}
|
||||||
Summary: Manage Pods, Containers and Container Images
|
Summary: Manage Pods, Containers and Container Images
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: %{git_podman}
|
URL: %{git_podman}
|
||||||
@ -80,8 +80,6 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
Requires: runc
|
Requires: runc
|
||||||
Requires: containers-common
|
Requires: containers-common
|
||||||
Requires: conmon >= 2:1.10.0-3.gitb0f6d98
|
|
||||||
Requires: buildah
|
|
||||||
Requires: containernetworking-cni >= 0.6.0-3
|
Requires: containernetworking-cni >= 0.6.0-3
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
Requires: atomic-registries
|
Requires: atomic-registries
|
||||||
@ -199,12 +197,15 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-varlink
|
BuildRequires: python3-varlink
|
||||||
|
Requires: python3-setuptools
|
||||||
Requires: python3-varlink
|
Requires: python3-varlink
|
||||||
|
Requires: python3-dateutil
|
||||||
|
Requires: python3-humanize
|
||||||
Provides: python3-%{name} = %{version}-%{release}
|
Provides: python3-%{name} = %{version}-%{release}
|
||||||
Summary: Python 3 bindings for %{name}
|
Summary: Python 3 tool and bindings for %{name}
|
||||||
|
|
||||||
%description -n python3-%{name}
|
%description -n python3-%{name}
|
||||||
This package contains Python 3 bindings for %{name}.
|
This package contains Python 3 tool and bindings for %{name}.
|
||||||
%endif # varlink
|
%endif # varlink
|
||||||
|
|
||||||
%if 0%{?with_devel}
|
%if 0%{?with_devel}
|
||||||
@ -390,9 +391,14 @@ BUILDTAGS=$BUILDTAGS make %{name} docs
|
|||||||
BUILDTAGS=$BUILDTAGS make varlink_generate python-%{name}
|
BUILDTAGS=$BUILDTAGS make varlink_generate python-%{name}
|
||||||
|
|
||||||
#untar contents for python-podman
|
#untar contents for python-podman
|
||||||
pushd contrib/python/dist
|
pushd contrib/python/podman/dist
|
||||||
tar zxf %{name}*.tar.gz
|
tar zxf %{name}*.tar.gz
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
#untar contents for python-pypodman
|
||||||
|
pushd contrib/python/pypodman/dist
|
||||||
|
tar zxf py%{name}*.tar.gz
|
||||||
|
popd
|
||||||
%endif # varlink
|
%endif # varlink
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -404,6 +410,10 @@ install -dp %{buildroot}%{_unitdir}
|
|||||||
pushd contrib/python
|
pushd contrib/python
|
||||||
%{__python3} setup.py install --root %{buildroot}
|
%{__python3} setup.py install --root %{buildroot}
|
||||||
popd
|
popd
|
||||||
|
#install python-pypodman
|
||||||
|
pushd contrib/python/pypodman
|
||||||
|
%{__python3} setup.py install --root %{buildroot}
|
||||||
|
popd
|
||||||
%endif # varlink
|
%endif # varlink
|
||||||
|
|
||||||
# install libpod.conf
|
# install libpod.conf
|
||||||
@ -496,6 +506,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
|
%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
|
||||||
%dir %{python3_sitelib}
|
%dir %{python3_sitelib}
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
%{_bindir}/pypodman
|
||||||
%endif # varlink
|
%endif # varlink
|
||||||
|
|
||||||
%if 0%{?with_devel}
|
%if 0%{?with_devel}
|
||||||
@ -512,6 +523,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 14 2018 Dan Walsh <dwalsh@redhat.com> - 0.7.2-10.dev.git86154b6
|
||||||
|
- Add install of pypodman
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-9.dev.git86154b6
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-9.dev.git86154b6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user