diff options
-rw-r--r-- | hyperkitty.spec | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/hyperkitty.spec b/hyperkitty.spec index 47c86c0..ebc01ea 100644 --- a/hyperkitty.spec +++ b/hyperkitty.spec @@ -21,22 +21,32 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-sphinx # Unit tests in %%check -BuildRequires: Django BuildRequires: kittystore BuildRequires: django-gravatar2 BuildRequires: django-rest-framework >= 2.0.0 BuildRequires: django-social-auth >= 0.7.1 -BuildRequires: python-django-south BuildRequires: django-crispy-forms +%if 0%{fedora} && 0%{fedora} < 18 +BuildRequires: Django +BuildRequires: Django-south +%else +BuildRequires: python-django +BuildRequires: python-django-south +%endif -Requires: Django >= 1.4 Requires: django-gravatar2 Requires: django-social-auth >= 0.7.1 Requires: django-rest-framework >= 2.0.0 Requires: mailman >= 3.0.0b2 Requires: kittystore -Requires: python-django-south Requires: django-crispy-forms +%if 0%{fedora} && 0%{fedora} < 18 +Requires: Django >= 1.4 +Requires: Django-south +%else +Requires: python-django >= 1.4 +Requires: python-django-south +%endif %description |