[python-django-stopforumspam] Update requires for el6.
Ankur Sinha
ankursinha at fedoraproject.org
Tue Aug 12 10:48:01 UTC 2014
commit bdbefdfb7789b0503c1f650424062d07e74fa734
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date: Tue Aug 12 20:47:45 2014 +1000
Update requires for el6.
python-django-stopforumspam.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python-django-stopforumspam.spec b/python-django-stopforumspam.spec
index 6f2402e..31c28c1 100644
--- a/python-django-stopforumspam.spec
+++ b/python-django-stopforumspam.spec
@@ -8,7 +8,7 @@
Name: python-django-%{module_name}
Version: 1.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Django middleware for blocking IPs listed in stopforumspam.com
License: BSD
@@ -24,9 +24,11 @@ BuildRequires: python2-devel python-setuptools
%if 0%{?rhel} && 0%{?rhel} <= 6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: Django
+%else
+Requires: python-django
%endif
-Requires: python-django
%description
Tired of comment spam, form spam and dumb crawlers? A django application that
@@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Aug 12 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.4.2-2
+- Add conditional requires for EL5/6 where the package depends on Django
+
* Sun Aug 10 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.4.2-1
- Update to latest upstream release
More information about the scm-commits
mailing list