From d37ea065793ac78ce63f6e8a88b36b97f2fc1d56 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2019 12:25:33 +0000 Subject: Enable python dependency generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko --- diff --git a/python-django.spec b/python-django.spec index f6215df..7e7297b 100644 --- a/python-django.spec +++ b/python-django.spec @@ -1,3 +1,4 @@ +%{?python_enable_dependency_generator} # Turn off the brp-python-bytecompile script %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') @@ -12,10 +13,9 @@ Name: python-django Version: 2.1.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A high-level Python Web framework -Group: Development/Languages License: BSD URL: http://www.djangoproject.com/ Source0: https://files.pythonhosted.org/packages/source/D/Django/Django-%{version}.tar.gz @@ -46,7 +46,6 @@ Python Web framework. %package -n python3-django-doc Summary: Documentation for Django -Group: Documentation Requires: python3-django = %{version}-%{release} BuildRequires: python3-sphinx BuildRequires: python3-psycopg2 @@ -57,11 +56,9 @@ Python Web framework. %package -n python3-django Summary: A high-level Python Web framework -Group: Development/Languages %{?python_provide:%python_provide python3-django} -Requires: %{name}-bash-completion = %{version}-%{release} -Requires: python3-pytz +Recommends: (%{name}-bash-completion = %{version}-%{release} if bash) BuildRequires: python3-devel BuildRequires: python3-bcrypt @@ -386,6 +383,9 @@ cd tests %changelog +* Fri Jan 11 2019 Igor Gnatenko - 2.1.5-2 +- Enable python dependency generator + * Mon Jan 07 2019 Matthias Runge - 2.1.5-1 - fix CVE-2019-3498 python-django: Content spoofing via URL path in default 404 page (rhbz#1663723)