diff --git a/python-pygments.spec b/python-pygments.spec index 5b7d5d5..539a028 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -1,11 +1,14 @@ +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %global with_python3 1 +%else +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} +%endif -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %global upstream_name Pygments Name: python-pygments Version: 1.3.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A syntax highlighting engine written in Python Group: Development/Libraries @@ -133,6 +136,11 @@ popd %changelog +* Wed Aug 25 2010 Thomas Spura - 1.3.1-7 +- update to most recent python guidelines +- rebuild with python3.2 + http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html + * Thu Jul 22 2010 David Malcolm - 1.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild