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/