packages: python-pygments/python-pygments.spec - conditional BRs

witekfl witekfl at pld-linux.org
Tue Jul 20 20:33:00 CEST 2010


Author: witekfl                      Date: Tue Jul 20 18:33:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- conditional BRs

---- Files affected:
packages/python-pygments:
   python-pygments.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/python-pygments/python-pygments.spec
diff -u packages/python-pygments/python-pygments.spec:1.6 packages/python-pygments/python-pygments.spec:1.7
--- packages/python-pygments/python-pygments.spec:1.6	Thu Jul  8 10:30:26 2010
+++ packages/python-pygments/python-pygments.spec	Tue Jul 20 20:32:54 2010
@@ -12,14 +12,18 @@
 Source0:	http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
 # Source0-md5:	54be67c04834f13d7e255e1797d629a5
 URL:		http://pygments.org/
+%if %{with python2}
 BuildRequires:	python
 BuildRequires:	python-devel
 BuildRequires:	python-modules
+%endif
+%if %{with python3}
 BuildRequires:	python3
 BuildRequires:	python3-2to3
 BuildRequires:	python3-devel
 BuildRequires:	python3-distribute
 BuildRequires:	python3-modules
+%endif
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-modules
 BuildArch:	noarch
@@ -126,6 +130,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/07/20 18:32:54  witekfl
+- conditional BRs
+
 Revision 1.6  2010/07/08 08:30:26  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pygments/python-pygments.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list