packages: python-pygments/python-pygments.spec - merged with python-Pygments

lisu lisu at pld-linux.org
Fri Jun 24 09:04:24 CEST 2011


Author: lisu                         Date: Fri Jun 24 07:04:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- merged with python-Pygments

---- Files affected:
packages/python-pygments:
   python-pygments.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/python-pygments/python-pygments.spec
diff -u packages/python-pygments/python-pygments.spec:1.10 packages/python-pygments/python-pygments.spec:1.11
--- packages/python-pygments/python-pygments.spec:1.10	Thu May 19 08:40:45 2011
+++ packages/python-pygments/python-pygments.spec	Fri Jun 24 09:04:15 2011
@@ -3,7 +3,7 @@
 %bcond_without	python3
 %define module	pygments
 #
-Summary:	Generic syntax highlighter
+Summary:	A generic syntax highlighter
 Name:		python-%{module}
 Version:	1.4
 Release:	1
@@ -26,6 +26,7 @@
 %endif
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-modules
+Obsoletes:	python-Pygments
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -85,6 +86,9 @@
 
 mv $RPM_BUILD_ROOT%{_bindir}/pygmentize{,-2}
 
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+
 %py_postclean
 %endif
 
@@ -112,8 +116,10 @@
 %attr(755,root,root) %{_bindir}/pygmentize
 %attr(755,root,root) %{_bindir}/pygmentize-2
 %{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/*.egg-info
 %endif
+%endif
 
 %if %{with python3}
 %files -n python3-%{module}
@@ -130,6 +136,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2011/06/24 07:04:15  lisu
+- merged with python-Pygments
+
 Revision 1.10  2011/05/19 06:40:45  cieciwa
 - version 1.4.1,
 - release 1,
================================================================

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



More information about the pld-cvs-commit mailing list