Blame SPECS/python-podman-api.spec

226ff7
%global modname podman
226ff7
%global distname podman-api
226ff7
%global eggname podman_api
226ff7
226ff7
# https://github.com/containers/python-podman
226ff7
%global git0 https://github.com/containers/python-%{modname}
226ff7
%global commit0 d0a45fea27f3c1b1c481b05e1531adc168f1881e
226ff7
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
226ff7
226ff7
226ff7
Name: python-%{distname}
226ff7
Version: 1.2.0
226ff7
Release: 0.2.git%{shortcommit0}%{?dist}
226ff7
Summary: Podman API
226ff7
License: LGPLv2
226ff7
URL: %{git0}
226ff7
Source0: %{git0}/archive/%{commit0}/python-%{modname}-%{shortcommit0}.tar.gz
226ff7
BuildArch: noarch
226ff7
BuildRequires: python-rpm-macros
226ff7
BuildRequires: python3-dateutil
226ff7
BuildRequires: python3-setuptools
226ff7
Requires: python3-psutil
226ff7
Provides: python3-%{distname} = %{version}-%{release}
226ff7
226ff7
%description 
226ff7
%{summary}
226ff7
226ff7
%prep
226ff7
%setup -q -n python-%{modname}-%{commit0}
226ff7
226ff7
%build
226ff7
%py3_build
226ff7
226ff7
%install
226ff7
%py3_install
226ff7
226ff7
%check
226ff7
226ff7
%files
226ff7
%license LICENSE
226ff7
%{python3_sitelib}/%{modname}/*
226ff7
%{python3_sitelib}/%{modname}-*.egg-info/*
226ff7
226ff7
%changelog
226ff7
* Thu Dec 12 2019 Jindrich Novy <jnovy@redhat.com> - 1.2.0-0.2.gitd0a45fe
226ff7
- revert update to 1.6.0 due to new python3-pbr dependency which
226ff7
  is not in RHEL
226ff7
- Related: RHELPLAN-25139
226ff7
226ff7
* Wed May 15 2019 Lokesh Mandvekar <lsm5@@redhat.com> - 1.2.0-0.1.gitd0a45fe
226ff7
- Initial package
226ff7