From c1f9a5544d7d08581e3f97fa26c49c8dabd2d698 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Mon, 24 Sep 2012 13:15:09 +0200 Subject: [PATCH] add python-django/Django to requirements --- python-django-compressor.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-django-compressor.spec b/python-django-compressor.spec index 55dcc65..d3b0440 100644 --- a/python-django-compressor.spec +++ b/python-django-compressor.spec @@ -2,7 +2,7 @@ Name: python-django-compressor Version: 1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Compresses linked and inline JavaScript or CSS into single cached files License: MIT @@ -16,6 +16,12 @@ BuildRequires: python-setuptools Requires: python-django-appconf >= 0.4 Requires: python-versiontools +%if 0%{?rhel}<7 || 0%{?fedora} < 18 +Requires: Django +%else +Requires: python-django +%endif + %description Django Compressor combines and compresses linked and inline Javascript or CSS in a Django templates into cacheable static files by using the @@ -53,6 +59,9 @@ done %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Mon Sep 24 2012 Matthias Runge - 1.2-3 +- add requirement Django/python-django + * Fri Sep 14 2012 Matthias Runge - 1.2-2 - add requirement python-versiontools