From 5a7f217e5d94df288e870aa80bb10b48909cb715262be28b6ad0478cbeef2179 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 25 Nov 2012 11:21:43 +0000 Subject: [PATCH] Accepting request 142809 from devel:languages:python3 Removed openSUSE 11.4 spec file workarounds (forwarded request 142804 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=9 --- python3-pyenchant.changes | 5 +++++ python3-pyenchant.spec | 11 ++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/python3-pyenchant.changes b/python3-pyenchant.changes index 27fac51..fe44235 100644 --- a/python3-pyenchant.changes +++ b/python3-pyenchant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 14:02:14 UTC 2012 - toddrme2178@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Fri May 4 09:27:09 UTC 2012 - toddrme2178@gmail.com diff --git a/python3-pyenchant.spec b/python3-pyenchant.spec index 9ed1260..a44619d 100644 --- a/python3-pyenchant.spec +++ b/python3-pyenchant.spec @@ -32,17 +32,10 @@ BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute Provides: PyEnchant = %{version} -%if 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 -%endif +Obsoletes: PyEnchant < %{version} BuildArch: noarch Requires: enchant -Requires: python3 >= %{py3_ver} +Requires: python(abi) = %{py3_ver} %description PyEnchant is a spellchecking library for Python, based on the excellent Enchant library.