]> git.pld-linux.org Git - packages/python3-pygments.git/blobdiff - python-pygments.spec
always install .egg-info
[packages/python3-pygments.git] / python-pygments.spec
index 511b2ecd025a8e2d96f46d5c58cf74aa5b56f3f9..ac5b518a5a2934489f6f9657184ac8654e68dde1 100644 (file)
@@ -8,7 +8,7 @@ Summary:        A generic syntax highlighter as Python 2.x module
 Summary(pl.UTF-8):     Moduł Pythona 2.x do ogólnego podświetlania składni
 Name:          python-%{module}
 Version:       1.6
-Release:       1
+Release:       5
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
@@ -18,17 +18,19 @@ URL:                http://pygments.org/
 BuildRequires: python
 BuildRequires: python-devel
 BuildRequires: python-modules
+BuildRequires: python-setuptools > 7.0
 %endif
 %if %{with python3}
 BuildRequires: python3
 BuildRequires: python3-2to3
 BuildRequires: python3-devel
-BuildRequires: python3-distribute
+BuildRequires: python3-setuptools > 7.0
 BuildRequires: python3-modules
 %endif
 BuildRequires: rpm-pythonprov
-%pyrequires_eq python-modules
-Provides:      python-Pygments
+Requires:      python-setuptools > 7.0
+Requires:      python-modules
+Provides:      python-Pygments = %{version}-%{release}
 Obsoletes:     python-Pygments
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,6 +69,7 @@ forów, wiki i inne plikacje wymagające ładnego wyświetlania kodu
 Summary:       Generic syntax highlighter as Python 3.x module
 Summary(pl.UTF-8):     Moduł Pythona 3.x do ogólnego podświetlania składni
 Group:         Development/Languages/Python
+Requires:      python3-setuptools > 7.0
 Requires:      python3-modules
 
 %description -n python3-%{module}
@@ -152,10 +155,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/pygmentize
 %attr(755,root,root) %{_bindir}/pygmentize-2
 %{py_sitescriptdir}/%{module}
-%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/Pygments-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-%{module}
This page took 0.054434 seconds and 4 git commands to generate.