rpms/Django/devel Django.spec,1.27,1.28

smilner smilner at fedoraproject.org
Wed Aug 26 22:08:28 UTC 2009


Author: smilner

Update of /cvs/pkgs/rpms/Django/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16359

Modified Files:
	Django.spec 
Log Message:
testing combined spec in devel


Index: Django.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Django/devel/Django.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- Django.spec	26 Aug 2009 21:38:36 -0000	1.27
+++ Django.spec	26 Aug 2009 22:08:28 -0000	1.28
@@ -3,7 +3,7 @@
 
 Name:           Django
 Version:        1.1
-Release:        3.01%{?dist}
+Release:        3.02%{?dist}
 Summary:        A high-level Python Web framework
 
 Group:          Development/Languages
@@ -19,7 +19,7 @@ BuildArch:      noarch
 # Note: No longer required in development version > 0.95
 # BuildRequires:  python-setuptools
 BuildRequires:  python-devel
-%if (0%{?rhel} > 0 && 0%{?rhel} > 4) || (0%{?fedora} > 0)
+%if 0%{?rhel} > 4 || 0%{?fedora} > 0
 BuildRequires: python-sphinx
 %endif
 
@@ -31,7 +31,7 @@ development and a clean, pragmatic desig
 much as possible and adhering to the DRY (Don't Repeat Yourself)
 principle.
 
-%if (0%{?rhel} > 0 && 0%{?rhel} > 4) || (0%{?fedora} > 0)
+%if 0%{?rhel} > 4 || 0%{?fedora} > 0
 %package doc
 Summary:        Documentation for Django
 Group:          Documentation
@@ -66,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
   's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
   >> %{name}.lang
 
-%if (0%{?rhel} > 0 && 0%{?rhel} > 4) || (0%{?fedora} > 0)
+%if 0%{?rhel} > 4 || 0%{?fedora} > 0
     # build documentation
     (cd docs && make html)
 %endif
@@ -106,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 # -----------------
  
 
-%if (0%{?rhel} > 0 && 0%{?rhel} > 4) || (0%{?fedora} > 0)
+%if 0%{?rhel} > 4 || 0%{?fedora} > 0
 %files doc
 %defattr(-,root,root,-)
 %doc docs/_build/html/*




More information about the scm-commits mailing list