94cfc7
Name: python-podman
94cfc7
Epoch: 3
94cfc7
Version: 3.2.1
94cfc7
Release: 3%{?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
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