From 1761703d5451f5fc7a62270949bb1d90a03f66968b6977a1d319f896ec34baad Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 22 Nov 2012 13:10:38 +0000 Subject: [PATCH] Accepting request 142406 from devel:languages:python3 Remove openSUSE 11.4 spec file workarounds (forwarded request 142405 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142406 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=11 --- python3-Mako.changes | 5 +++++ python3-Mako.spec | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/python3-Mako.changes b/python3-Mako.changes index 3ff0c35..d898097 100644 --- a/python3-Mako.changes +++ b/python3-Mako.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com + +- Remove openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Fri May 25 08:33:12 UTC 2012 - toddrme2178@gmail.com diff --git a/python3-Mako.spec b/python3-Mako.spec index 77cbd77..36218dc 100644 --- a/python3-Mako.spec +++ b/python3-Mako.spec @@ -33,12 +33,6 @@ BuildRequires: python3-nose BuildRequires: python3-2to3 Requires: python3-Beaker >= 1.1 Requires: python3-MarkupSafe -%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)} -%else -BuildRequires: python3-base -%endif Requires: python(abi) = %{py3_ver} BuildArch: noarch @@ -72,8 +66,5 @@ python3 setup.py test %{_bindir}/mako-render-python%{py3_ver} %{python3_sitelib}/mako/ %{python3_sitelib}/Mako-%{version}-py%{py3_ver}.egg-info -%if 0%{?suse_version} <= 1140 -%dir %{_prefix}/lib/python%{py3_ver} -%endif %changelog