From d47bf8f97df743763f34ae8c13b9af6a8159dbd27dc22e81ab0332ed194e3ea8 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 30 Nov 2012 14:25:06 +0000 Subject: [PATCH] Accepting request 143686 from devel:languages:python3 Remove openSUSE 11.4 spec file workarounds OBS-URL: https://build.opensuse.org/request/show/143686 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=30 --- python3-SQLAlchemy.changes | 5 +++++ python3-SQLAlchemy.spec | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/python3-SQLAlchemy.changes b/python3-SQLAlchemy.changes index de6507b..ba99957 100644 --- a/python3-SQLAlchemy.changes +++ b/python3-SQLAlchemy.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-SQLAlchemy.spec b/python3-SQLAlchemy.spec index 78607e6..044bb46 100644 --- a/python3-SQLAlchemy.spec +++ b/python3-SQLAlchemy.spec @@ -25,16 +25,11 @@ License: MIT Group: Development/Languages/Python Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildRequires: python3-nose -%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)} -%else -BuildRequires: python3-base -%endif Requires: python(abi) = %{py3_ver} #cextension not working yet with py3, so build as noarch BuildArch: noarch @@ -81,9 +76,6 @@ python3 ./sqla_nose.py %doc CHANGES CHANGES_PRE_06 LICENSE README.rst README.py3k README.unittests %{python3_sitelib}/sqlalchemy/ %{python3_sitelib}/SQLAlchemy-%{version}-py%{py3_ver}.egg-info -%if 0%{?suse_version} <= 1140 -%dir %{_prefix}/lib/python%{py3_ver} -%endif %files doc %defattr(-,root,root)