diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-23 17:31:29 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-26 10:12:57 +0100 |
commit | fce42fd0435c97f4fcdc4a12666f517d67238210 (patch) | |
tree | dd66488e8432bde8b8a4d3b77d12438432e90a80 /hyperkitty.spec | |
parent | ca62724f9e25096c7ffd3cf64c1ac5446808ed49 (diff) | |
download | hyperkitty-fce42fd0435c97f4fcdc4a12666f517d67238210.tar.gz hyperkitty-fce42fd0435c97f4fcdc4a12666f517d67238210.tar.xz hyperkitty-fce42fd0435c97f4fcdc4a12666f517d67238210.zip |
Handle Django and South RPM names in F17
Diffstat (limited to 'hyperkitty.spec')
-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 |