# Created by pyp2rpm-3.2.2 %global pypi_name django-braces Name: python-%{pypi_name} Version: 1.12.0 Release: 3%{?dist} Summary: Reusable, generic mixins for Django License: BSD URL: https://github.com/brack3t/django-braces/ Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools %description Mixins to add easy functionality to Django classbased views, forms, and models. %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} %description -n python2-%{pypi_name} Mixins to add easy functionality to Django classbased views, forms, and models. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %files -n python2-%{pypi_name} %license LICENSE %doc README.md %{python2_sitelib}/braces %{python2_sitelib}/django_braces-%{version}-py?.?.egg-info %changelog * Wed Apr 11 2018 Stephen Gallagher - 1.12.0-3 - First official Fedora build * Mon Apr 09 2018 Stephen Gallagher - 1.12.0-2 - Drop Python 2 package since it's only for supporting ReviewBoard * Thu Feb 01 2018 Stephen Gallagher - 1.12.0-1 - Initial package.