%global pypi_name django-appconf Name: python-%{pypi_name} Version: 1.0.2 Release: 2%{?dist} Summary: A helper class for handling configuration defaults of packaged apps gracefully License: BSD URL: https://pypi.python.org/pypi/django-appconf/ Source0: https://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-sphinx BuildRequires: python-django Requires: python-django %description A helper class for handling configuration defaults of packaged Django apps gracefully. %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info # generate html docs sphinx-build docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %check # The test_settings directory is not shipped in the tarball #%{__python} %{_bindir}/django-admin test --pythonpath tests --settings test_settings tests %files %doc html README.rst LICENSE %{python_sitelib}/appconf %{python_sitelib}/django_appconf-%{version}-py?.?.egg-info %changelog * Fri Apr 19 2019 Marc Dequènes (Duck) - 1.0.2-2 - use HTTPS in source URL * Wed Jun 08 2016 Aurelien Bompard - 1.0.2-1 - update to version 1.0.2 * Wed Mar 06 2013 Matthias Runge - 0.6-1 - update to appconf-0.6 * Thu Feb 14 2013 Fedora Release Engineering - 0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Sep 26 2012 Matthias Runge - 0.5-2 - also add requirement: Django/python-django * Tue Sep 11 2012 Matthias Runge - 0.5-1 - Initial package.