[Django] removed the redundant dist check
smilner
smilner at fedoraproject.org
Sun Oct 10 03:59:36 UTC 2010
commit 9322d96692cd8470bb07936bb29c3c37d1739a49
Author: Steve 'Ashcrow' Milner <stevem at gnulinux.net>
Date: Sun Oct 10 00:00:27 2010 -0400
removed the redundant dist check
Django.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Django.spec b/Django.spec
index 6c70e0a..87b5a5c 100644
--- a/Django.spec
+++ b/Django.spec
@@ -40,7 +40,7 @@ development and a clean, pragmatic design. It focuses on automating as
much as possible and adhering to the DRY (Don't Repeat Yourself)
principle.
-%if 0%{?rhel} > 4 || 0%{?fedora} > 0 && 0%{?fedora} >= 12
+%if 0%{?rhel} > 4 || 0%{?fedora} >= 12
%package doc
Summary: Documentation for Django
Group: Documentation
@@ -81,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
>> %{name}.lang
# If it's rhel5+ or any Fedora over 12 build docs
-%if 0%{?rhel} > 4 || 0%{?fedora} > 0 && 0%{?fedora} >= 12
+%if 0%{?rhel} > 4 || 0%{?fedora} >= 12
# build documentation
(cd docs && mkdir djangohtml && mkdir -p _build/{doctrees,dirhtml} && make dirhtml)
%endif
@@ -148,7 +148,7 @@ rm -rf $RPM_BUILD_ROOT
# -----------------
-%if 0%{?rhel} > 4 || 0%{?fedora} > 0 && 0%{?fedora} >= 12
+%if 0%{?rhel} > 4 || 0%{?fedora} >= 12
%files doc
%defattr(-,root,root,-)
%doc docs/_build/dirhtml/*
More information about the scm-commits
mailing list