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