diff --git a/python-Pygments.changes b/python-Pygments.changes index fb589dc..822da69 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + ------------------------------------------------------------------- Mon Mar 12 21:14:22 UTC 2012 - saschpe@gmx.de diff --git a/python3-Pygments.changes b/python3-Pygments.changes index 8851339..7933c59 100644 --- a/python3-Pygments.changes +++ b/python3-Pygments.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + ------------------------------------------------------------------- Thu Dec 15 08:28:04 UTC 2011 - highwaystar.ru@gmail.com diff --git a/python3-Pygments.spec b/python3-Pygments.spec index 06e3a8e..855253a 100644 --- a/python3-Pygments.spec +++ b/python3-Pygments.spec @@ -29,23 +29,20 @@ BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-2to3 BuildRequires: python3-distribute -#BuildRequires: python-nose - +BuildRequires: python3-nose %if 0%{?suse_version} && 0%{?suse_version} <= 1140 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} +%ifarch x86_64 +# to allow ownership of noarch python directories +BuildRequires: python3-32bit %endif -Requires: python(abi) = %{py3_ver} -%if 0%{?suse_version} && 0%{?suse_version} > 1140 -BuildRequires: python3-base %endif +BuildArch: noarch +Requires: python3 >= %{py3_ver} Provides: python3-pygments = %{version} Obsoletes: python3-pygments < %{version} -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} -BuildArchitectures: noarch -%endif - %description Pygments is a syntax highlighting package written in Python.