c298df5
# created by pyp2rpm-3.3.2
c298df5
%global pypi_name ogr
c298df5
c298df5
%{?python_enable_dependency_generator}
c298df5
c298df5
Name:           python-%{pypi_name}
48f9c42
Version:        0.1.0
c298df5
Release:        1%{?dist}
c298df5
Summary:        One API for multiple git forges
c298df5
c298df5
License:        MIT
c298df5
URL:            https://github.com/packit-service/ogr
c298df5
Source0:        https://files.pythonhosted.org/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
c298df5
BuildArch:      noarch
c298df5
c298df5
BuildRequires:  python3-devel
c298df5
BuildRequires:  python3dist(setuptools)
c298df5
BuildRequires:  python3dist(setuptools-scm)
c298df5
BuildRequires:  python3dist(setuptools-scm-git-archive)
c298df5
c298df5
%description
c298df5
One Git library to Rule!
c298df5
c298df5
%package -n     python3-%{pypi_name}
c298df5
Summary:        %{summary}
c298df5
%{?python_provide:%python_provide python3-%{pypi_name}}
c298df5
c298df5
%description -n python3-%{pypi_name}
c298df5
One Git library to Rule!
c298df5
c298df5
c298df5
%prep
c298df5
%autosetup -n %{pypi_name}-%{version}
c298df5
# Remove bundled egg-info
c298df5
rm -rf %{pypi_name}.egg-info
c298df5
c298df5
c298df5
%build
c298df5
%py3_build
c298df5
c298df5
c298df5
%install
c298df5
%py3_install
c298df5
c298df5
c298df5
%files -n python3-%{pypi_name}
c298df5
%license LICENSE
c298df5
%doc README.md
c298df5
%{python3_sitelib}/%{pypi_name}
c298df5
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
c298df5
c298df5
c298df5
%changelog
48f9c42
* Mon Mar 18 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.1.0-1
48f9c42
- New upstream release: 0.1.0
48f9c42
c298df5
* Thu Feb 28 2019 Frantisek Lachman <flachman@redhat.com> - 0.0.3-1
c298df5
- New upstream release 0.0.3
c298df5
c298df5
* Tue Feb 26 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.0.2-1
c298df5
- Initial package.