# Created by pyp2rpm-3.3.2 %global pypi_name betamax-serializers Name: python-%{pypi_name} Version: 0.2.0 Release: 1%{?dist} Summary: A set of third-party serializers for Betamax License: LICENSE URL: https://gitlab.com/betamax/serializers Source0: https://files.pythonhosted.org/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description betamax_serializers Experimental set of Serializers for Betamax < that may possibly end up in the main package.Pretty JSON Serializer -Usage:.. code- block:: python from betamax_serializers.pretty_json import PrettyJSONSerializer from betamax import Betamax import requests Betamax.register_serializer(PrettyJSONSerializer) session requests.Session() recorder Betamax(session) with... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(betamax) >= 0.3.2 Requires: python3dist(pyyaml) %description -n python3-%{pypi_name} betamax_serializers Experimental set of Serializers for Betamax < that may possibly end up in the main package.Pretty JSON Serializer -Usage:.. code- block:: python from betamax_serializers.pretty_json import PrettyJSONSerializer from betamax import Betamax import requests Betamax.register_serializer(PrettyJSONSerializer) session requests.Session() recorder Betamax(session) with... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/betamax_serializers %{python3_sitelib}/betamax_serializers-%{version}-py?.?.egg-info %changelog * Fri Jan 18 2019 Ben Rosser - 0.2.0-1 - Initial package.