From 87aa99aa7aed2b5533653d81e700a8219a44a7ea5edfe9a74db2e433e4aa5570 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 25 Nov 2012 11:12:03 +0000 Subject: [PATCH] Accepting request 142768 from devel:languages:python3 Removed openSUSE 11.4 spec file workarounds (forwarded request 142750 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142768 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=35 --- python3-psycopg2.changes | 5 +++++ python3-psycopg2.spec | 10 ++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/python3-psycopg2.changes b/python3-psycopg2.changes index 21d11e6..d89745e 100644 --- a/python3-psycopg2.changes +++ b/python3-psycopg2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Fri May 25 05:28:02 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-psycopg2.spec b/python3-psycopg2.spec index 93c90f5..5e665ca 100644 --- a/python3-psycopg2.spec +++ b/python3-psycopg2.spec @@ -28,16 +28,9 @@ BuildRequires: fdupes BuildRequires: postgresql-devel BuildRequires: python3-devel BuildRequires: python3-2to3 -Suggests: postgresql-server +Recommends: postgresql-server BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} <= 1140 -%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)")} -%endif Requires: python(abi) = %{py3_ver} -%if 0%{?suse_version} && 0%{?suse_version} > 1140 -BuildRequires: python3-base -%endif %description psycopg2 is a PostgreSQL database adapter for the Python programming @@ -76,6 +69,7 @@ rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite %doc AUTHORS ChangeLog LICENSE NEWS PKG-INFO README %{python3_sitearch}/psycopg2 %{python3_sitearch}/psycopg2-%{version}-py%{py3_ver}.egg-info + %files doc %defattr(-,root,root) %doc doc/html examples/