Blame SPECS/python-podman-api.spec

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