[transifex/f19] remove if and else in dependecy area now is not necessary

Luis Enrique Bazán De León lbazan at fedoraproject.org
Mon May 13 14:54:13 UTC 2013


commit 3c530075b04f3da77a111edb3b1ac817ec8d0680
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Mon May 13 09:55:34 2013 -0500

    remove if and else in dependecy area now is not necessary

 transifex.spec |   32 ++++----------------------------
 1 files changed, 4 insertions(+), 28 deletions(-)
---
diff --git a/transifex.spec b/transifex.spec
index 2a21851..eb39d5a 100644
--- a/transifex.spec
+++ b/transifex.spec
@@ -4,7 +4,7 @@
 
 Name:       transifex
 Version:    1.2.1
-Release:    9%{?dist}
+Release:    10%{?dist}
 Summary:    A system for distributed translation submissions
 
 Group:      Applications/Internet
@@ -21,7 +21,6 @@ BuildRequires:  gettext
 BuildRequires:  python-markdown
 BuildRequires:  mercurial >= 1.3
 
-%if 0%{?fedora} >= 18
 Requires:       python-django14 
 Requires:       python-django-contact-form
 Requires:       python-django-pagination
@@ -46,32 +45,6 @@ BuildRequires:  python-django-profile
 BuildRequires:  python-django-south
 BuildRequires:  python-django-piston
 BuildRequires:  python-django-authority
-%else
-Requires:       Django
-Requires:       django-contact-form
-Requires:       django-pagination
-Requires:       django-tagging
-Requires:       django-notification
-Requires:       django-profile
-Requires:       Django-south >= 0.7.3 
-Requires:       django-piston
-Requires:       django-authority
-Requires:       django-filter
-Requires:       django-sorting
-Requires:       django-ajax-selects
-Requires:       django-threadedcomments
-Requires:       django-staticfiles
-Requires:       django-addons
-BuildRequires:  Django 
-BuildRequires:  django-contact-form 
-BuildRequires:  django-pagination 
-BuildRequires:  django-tagging
-BuildRequires:  django-notification 
-BuildRequires:  django-profile 
-BuildRequires:  Django-south 
-BuildRequires:  django-piston
-BuildRequires:  django-authority 
-%endif
 
 %if 0%{?rhel} && 0%{?rhel} <= 5
 BuildRequires: python-sqlite2
@@ -183,6 +156,9 @@ rm -rf %{_sysconfdir}/%{name}
 
 
 %changelog
+* Mon May 13 2013 Luis Bazan <lbazan at fedoraproject.org> - 1.2.1-10
+- remove if and else dependecy is not necessary
+
 * Wed May 08 2013 Matthias Runge <mrunge at redhat.com> - 1.2.1-9
 - remove duplicate requirement python-django, cleanup for rhbz#950563
 


More information about the scm-commits mailing list