diff --git python-django-debug-toolbar/python-django-debug-toolbar.spec python-django-debug-toolbar/python-django-debug-toolbar.spec.tmp index 2d261defcb..052b684b49 100644 --- python-django-debug-toolbar/python-django-debug-toolbar.spec +++ python-django-debug-toolbar/python-django-debug-toolbar.spec.tmp @@ -4,7 +4,7 @@ Name: python-django-debug-toolbar Version: 1.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Configurable set of panels that display various debug information License: BSD @@ -16,25 +16,33 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-sqlparse BuildRequires: python-django -Requires: python-django -Requires: python-sqlparse -%description -The Django Debug Toolbar is a configurable set of panels that display various -debug information about the current request/response and when clicked, display -more details about the panel's content. +%global _description\ +The Django Debug Toolbar is a configurable set of panels that display various\ +debug information about the current request/response and when clicked, display\ +more details about the panel's content.\ +\ +Currently, the following panels have been written and are working:\ +\ + - Django version\ + - Request timer\ + - A list of settings in settings.py\ + - Common HTTP headers\ + - GET/POST/cookie/session variable display\ + - Templates and context used, and their template paths\ + - SQL queries including time to execute and links to EXPLAIN each query\ + - List of signals, their args and receivers\ + - Logging output via Python's built-in logging, or via the logbook module -Currently, the following panels have been written and are working: +%description %_description - - Django version - - Request timer - - A list of settings in settings.py - - Common HTTP headers - - GET/POST/cookie/session variable display - - Templates and context used, and their template paths - - SQL queries including time to execute and links to EXPLAIN each query - - List of signals, their args and receivers - - Logging output via Python's built-in logging, or via the logbook module +%package -n python2-django-debug-toolbar +Summary: %summary +Requires: python-django +Requires: python-sqlparse +%{?python_provide:%python_provide python2-django-debug-toolbar} + +%description -n python2-django-debug-toolbar %_description %if 0%{?with_python3} > 0 %package -n python3-django-debug-toolbar @@ -95,7 +103,7 @@ echo "# empty file" > debug_toolbar/models.py # %{__python3} setup.py test %endif # with_python3 -%files +%files -n python2-django-debug-toolbar %doc README.rst PKG-INFO %license LICENSE %{python2_sitelib}/debug_toolbar @@ -110,6 +118,10 @@ echo "# empty file" > debug_toolbar/models.py %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.4-8 +- Python 2 binary package renamed to python2-django-debug-toolbar + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild