Packit Service 3fa34b9
%global srcname ogr
c298df5
Packit Service 3fa34b9
Name:           python-%{srcname}
e463863
Version:        0.11.2
88ce865
Release:        %{?autorel}%{!?autorel:1}
c298df5
Summary:        One API for multiple git forges
c298df5
c298df5
License:        MIT
c298df5
URL:            https://github.com/packit-service/ogr
Packit Service 3fa34b9
Source0:        %{pypi_source}
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
Packit Service 3fa34b9
%package -n     python3-%{srcname}
c298df5
Summary:        %{summary}
Packit Service 3fa34b9
%{?python_provide:%python_provide python3-%{srcname}}
c298df5
Packit Service 3fa34b9
%description -n python3-%{srcname}
c298df5
One Git library to Rule!
c298df5
c298df5
c298df5
%prep
Packit Service 3fa34b9
%autosetup -n %{srcname}-%{version}
c298df5
# Remove bundled egg-info
Packit Service 3fa34b9
rm -rf %{srcname}.egg-info
c298df5
c298df5
c298df5
%build
c298df5
%py3_build
c298df5
c298df5
c298df5
%install
c298df5
%py3_install
c298df5
c298df5
Packit Service 3fa34b9
%files -n python3-%{srcname}
c298df5
%license LICENSE
c298df5
%doc README.md
Packit Service 3fa34b9
%{python3_sitelib}/%{srcname}
Packit Service 3fa34b9
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
c298df5
c298df5
c298df5
%changelog
88ce865
%autochangelog