%global pypi_name betamax-serializers
Name: python-%{pypi_name}
Version: 0.2.0
Release: 2%{?dist}
Summary: A set of third-party serializers for Betamax
License: ASL 2.0
URL: https://gitlab.com/betamax/serializers
Source0: %{pypi_source}
BuildArch: noarch
%description
A set of third-party serializers for Betamax.
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-PyYAML
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
A set of third-party serializers for Betamax.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc AUTHORS.rst HISTORY.rst README.rst
%license LICENSE
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/betamax_serializers/
%changelog
* Sat May 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.0-2
- Fix name
- Remove dep generator
* Thu May 09 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.0-1
- Initial package for Fedora