94cfc7
Name: python-podman
94cfc7
Epoch: 3
255d6c
Version: 4.0.0
255d6c
Release: 1%{?dist}
94cfc7
Summary: RESTful API for Podman
94cfc7
License: ASL 2.0
94cfc7
URL: https://github.com/containers/podman-py
94cfc7
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
94cfc7
BuildArch: noarch
94cfc7
94cfc7
%description
94cfc7
%{name}  is a library of bindings to use the RESTful API for Podman.
94cfc7
94cfc7
%package -n python%{python3_pkgversion}-podman
94cfc7
BuildRequires: pyproject-rpm-macros
94cfc7
BuildRequires: python3-devel
94cfc7
BuildRequires: git-core
94cfc7
Provides: podman-py = %{version}-%{release}
94cfc7
Summary: %{summary}
94cfc7
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
94cfc7
94cfc7
%description -n python%{python3_pkgversion}-podman
94cfc7
%{name} is a library of bindings to use the RESTful API for Podman.
94cfc7
94cfc7
%prep
94cfc7
%autosetup -Sgit_am -n podman-%{version}
94cfc7
94cfc7
%generate_buildrequires
94cfc7
%pyproject_buildrequires %{?with_tests:-t}
94cfc7
94cfc7
%build
94cfc7
export PBR_VERSION="0.0.0"
94cfc7
%pyproject_wheel
94cfc7
94cfc7
%install
94cfc7
export PBR_VERSION="0.0.0"
94cfc7
%pyproject_install
94cfc7
%pyproject_save_files podman
94cfc7
94cfc7
%check
94cfc7
94cfc7
%files -n python%{python3_pkgversion}-podman -f %{pyproject_files}
94cfc7
%license LICENSE
94cfc7
%doc README.md
94cfc7
94cfc7
%changelog
255d6c
* Mon Feb 28 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:4.0.0-1
255d6c
- bump to v4.0.0
255d6c
- Related: #2000051
255d6c
94cfc7
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-3
94cfc7
- perform only sanity/installability tests for now
94cfc7
- Related: #2000051
94cfc7
94cfc7
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-2
94cfc7
- rebuilt
94cfc7
- Related: #2000051
94cfc7
94cfc7
* Mon Sep 27 2021 Jindrich Novy <jnovy@redhat.com> - 3:3.2.1-1
94cfc7
- import to c9s
94cfc7
- Related: #2000051