e46fe2
%if 0%{?fedora}
fa76f9
	%bcond_without python3
fa76f9
	%bcond_without python3_debug
fa76f9
	%if 0%{?fedora} > 31
fa76f9
		%bcond_with    python2
fa76f9
		%bcond_with    python2_debug
fa76f9
	%else
fa76f9
		%bcond_without python2
fa76f9
		%bcond_without python2_debug
fa76f9
	%endif
e46fe2
%else
fa76f9
	%if 0%{?rhel} > 7
fa76f9
		%bcond_with    python2
fa76f9
		%bcond_without python3
fa76f9
		%bcond_with    python2_debug
fa76f9
		%bcond_without python3_debug
fa76f9
	%else
fa76f9
		%bcond_without python2
fa76f9
		%bcond_with    python3
fa76f9
		%bcond_without python2_debug
fa76f9
		%bcond_with    python3_debug
fa76f9
	%endif
e46fe2
%endif
e46fe2
fa76f9
%bcond_without tests
e46fe2
e46fe2
%global srcname	psycopg2
e46fe2
%global sum	A PostgreSQL database adapter for Python
e46fe2
%global desc	Psycopg is the most popular PostgreSQL adapter for the Python \
e46fe2
programming language. At its core it fully implements the Python DB \
e46fe2
API 2.0 specifications. Several extensions allow access to many of the \
e46fe2
features offered by PostgreSQL.
e46fe2
fa76f9
%global python_runtimes	\\\
fa76f9
	%{?with_python2:python2} \\\
fa76f9
	%{?with_python2_debug:python2-debug} \\\
fa76f9
	%{?with_python3:python3} \\\
fa76f9
	%{?with_python3_debug:python3-debug}
e46fe2
e46fe2
%{!?with_python2:%{!?with_python3:%{error:one python version needed}}}
e46fe2
e46fe2
# Python 2.5+ is not supported by Zope, so it does not exist in
e46fe2
# recent Fedora releases. That's why zope subpackage is disabled.
e46fe2
%global zope 0
e46fe2
%if %zope
e46fe2
%global ZPsycopgDAdir %{_localstatedir}/lib/zope/Products/ZPsycopgDA
e46fe2
%endif
e46fe2
e46fe2
e46fe2
Summary:	%{sum}
e46fe2
Name:		python-%{srcname}
fa76f9
Version:	2.8.6
fa76f9
Release:	3%{?dist}
e46fe2
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
e46fe2
License:	LGPLv3+ with exceptions
fa76f9
Url:		http://initd.org/psycopg/
e46fe2
fa76f9
Source0:	http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-%{version}.tar.gz
e46fe2
fa76f9
%{?with_python2:BuildRequires:	python2-devel python2-setuptools}
fa76f9
%{?with_python3:BuildRequires:	python3-devel python3-setuptools}
fa76f9
%{?with_python2_debug:BuildRequires:	python2-debug}
fa76f9
%{?with_python3_debug:BuildRequires:	python3-debug}
e46fe2
fa76f9
BuildRequires:	gcc
fa76f9
BuildRequires:	pkgconfig(libpq)
e46fe2
e46fe2
# For testsuite
fa76f9
%if %{with tests}
e46fe2
BuildRequires:	postgresql-test-rpm-macros
e46fe2
%endif
e46fe2
e46fe2
Conflicts:	python-psycopg2-zope < %{version}
e46fe2
e46fe2
%description
e46fe2
%{desc}
e46fe2
e46fe2
e46fe2
%if %{with python2}
e46fe2
%package -n python2-%{srcname}
e46fe2
%{?python_provide:%python_provide python2-%{srcname}}
e46fe2
Summary: %{sum} 2
e46fe2
e46fe2
%description -n python2-%{srcname}
e46fe2
%{desc}
e46fe2
e46fe2
e46fe2
%package -n python2-%{srcname}-tests
e46fe2
Summary: A testsuite for %sum 2
e46fe2
Requires: python2-%srcname = %version-%release
e46fe2
e46fe2
%description -n python2-%{srcname}-tests
e46fe2
%desc
e46fe2
This sub-package delivers set of tests for the adapter.
fa76f9
%endif
e46fe2
e46fe2
fa76f9
%if %{with python2_debug}
e46fe2
%package -n python2-%{srcname}-debug
e46fe2
Summary: A PostgreSQL database adapter for Python 2 (debug build)
e46fe2
# Require the base package, as we're sharing .py/.pyc files:
e46fe2
Requires:	python2-%{srcname} = %{version}-%{release}
e46fe2
%{?python_provide:%python_provide python2-%{srcname}-debug}
e46fe2
e46fe2
%description -n python2-%{srcname}-debug
e46fe2
This is a build of the psycopg PostgreSQL database adapter for the debug
e46fe2
build of Python 2.
fa76f9
%endif
e46fe2
e46fe2
e46fe2
%if %{with python3}
e46fe2
%package -n python3-psycopg2
e46fe2
Summary: %{sum} 3
e46fe2
%{?python_provide:%python_provide python3-%{srcname}}
e46fe2
e46fe2
%description  -n python3-psycopg2
e46fe2
%{desc}
e46fe2
e46fe2
e46fe2
%package -n python3-%{srcname}-tests
e46fe2
Summary: A testsuite for %sum 2
e46fe2
Requires: python3-%srcname = %version-%release
e46fe2
e46fe2
%description -n python3-%{srcname}-tests
e46fe2
%desc
e46fe2
This sub-package delivers set of tests for the adapter.
fa76f9
%endif
e46fe2
e46fe2
fa76f9
%if %{with python3_debug}
e46fe2
%package -n python3-psycopg2-debug
e46fe2
Summary: A PostgreSQL database adapter for Python 3 (debug build)
e46fe2
# Require base python 3 package, as we're sharing .py/.pyc files:
e46fe2
Requires:	python3-psycopg2 = %{version}-%{release}
e46fe2
e46fe2
%description -n python3-%{srcname}-debug
e46fe2
This is a build of the psycopg PostgreSQL database adapter for the debug
e46fe2
build of Python 3.
fa76f9
%endif
e46fe2
e46fe2
e46fe2
%package doc
e46fe2
Summary:	Documentation for psycopg python PostgreSQL database adapter
e46fe2
%{?with_python2:Provides: python2-%{srcname}-doc = %{version}-%{release}}
e46fe2
%{?with_python3:Provides: python3-%{srcname}-doc = %{version}-%{release}}
e46fe2
e46fe2
%description doc
e46fe2
Documentation and example files for the psycopg python PostgreSQL
e46fe2
database adapter.
e46fe2
e46fe2
e46fe2
%if %zope
e46fe2
%package zope
e46fe2
Summary:	Zope Database Adapter ZPsycopgDA
e46fe2
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
e46fe2
License:	GPLv2+ with exceptions or ZPLv1.0
e46fe2
Requires:	%{name} = %{version}-%{release}
e46fe2
Requires:	zope
e46fe2
e46fe2
%description zope
e46fe2
Zope Database Adapter for PostgreSQL, called ZPsycopgDA
e46fe2
%endif
e46fe2
e46fe2
e46fe2
%prep
e46fe2
%autosetup -p1 -n psycopg2-%{version}
e46fe2
e46fe2
e46fe2
%build
e46fe2
export CFLAGS=${RPM_OPT_FLAGS} LDFLAGS=${RPM_LD_FLAGS}
e46fe2
for python in %{python_runtimes} ; do
e46fe2
  $python setup.py build
e46fe2
done
e46fe2
e46fe2
# Fix for wrong-file-end-of-line-encoding problem; upstream also must fix this.
e46fe2
for i in `find doc -iname "*.html"`; do sed -i 's/\r//' $i; done
e46fe2
for i in `find doc -iname "*.css"`; do sed -i 's/\r//' $i; done
e46fe2
e46fe2
# Get rid of a "hidden" file that rpmlint complains about
fa76f9
%{__rm} -f doc/html/.buildinfo
e46fe2
e46fe2
# We can not build docs now:
e46fe2
# https://www.postgresql.org/message-id/2741387.dvL6Cb0VMB@nb.usersys.redhat.com
e46fe2
# make -C doc/src html
e46fe2
e46fe2
e46fe2
%check
fa76f9
%if %{with tests}
e46fe2
export PGTESTS_LOCALE=C.UTF-8
e46fe2
%postgresql_tests_run
e46fe2
e46fe2
export PSYCOPG2_TESTDB=${PGTESTS_DATABASES##*:}
e46fe2
export PSYCOPG2_TESTDB_HOST=$PGHOST
e46fe2
export PSYCOPG2_TESTDB_PORT=$PGPORT
e46fe2
fa76f9
cmd="import tests; tests.unittest.main(defaultTest='tests.test_suite')"
e46fe2
e46fe2
%if %{with python2}
e46fe2
PYTHONPATH=%buildroot%python2_sitearch %__python2 -c "$cmd" --verbose
e46fe2
%endif
e46fe2
%if %{with python3}
e46fe2
PYTHONPATH=%buildroot%python3_sitearch %__python3 -c "$cmd" --verbose
e46fe2
%endif
fa76f9
%endif
e46fe2
e46fe2
e46fe2
%install
e46fe2
export CFLAGS=${RPM_OPT_FLAGS} LDFLAGS=${RPM_LD_FLAGS}
e46fe2
for python in %{python_runtimes} ; do
e46fe2
  $python setup.py install --no-compile --root %{buildroot}
e46fe2
done
e46fe2
fa76f9
# Upstream removed tests from the package so we need to add them manually
fa76f9
%if %{with python2}
fa76f9
cp -r tests/ %{buildroot}%{python2_sitearch}/%{srcname}/tests/
fa76f9
for i in `find %{buildroot}%{python2_sitearch}/%{srcname}/tests/ -iname "*.py"`; do
fa76f9
  sed -i 's|#!/usr/bin/env python|#!/usr/bin/python2|' $i
fa76f9
done
fa76f9
%endif
fa76f9
%if %{with python3}
fa76f9
cp -r tests/ %{buildroot}%{python3_sitearch}/%{srcname}/tests/
fa76f9
for i in `find %{buildroot}%{python3_sitearch}/%{srcname}/tests/ -iname "*.py"`; do
fa76f9
  sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i
fa76f9
done
fa76f9
%endif
fa76f9
e46fe2
%if %zope
fa76f9
%{__install} -d %{buildroot}%{ZPsycopgDAdir}
fa76f9
%{__cp} -pr ZPsycopgDA/* %{buildroot}%{ZPsycopgDAdir}
e46fe2
%endif
e46fe2
e46fe2
# This test is skipped on 3.7 and has a syntax error so brp-python-bytecompile would choke on it
e46fe2
%{?with_python3:rm -r %{buildroot}%{python3_sitearch}/%{srcname}/tests/test_async_keyword.py}
e46fe2
e46fe2
%if %{with python2}
e46fe2
%files -n python2-psycopg2
e46fe2
%license LICENSE
e46fe2
%doc AUTHORS NEWS README.rst
e46fe2
%dir %{python2_sitearch}/psycopg2
e46fe2
%{python2_sitearch}/psycopg2/*.py
e46fe2
%{python2_sitearch}/psycopg2/*.pyc
e46fe2
%{python2_sitearch}/psycopg2/_psycopg.so
e46fe2
%{python2_sitearch}/psycopg2/*.pyo
e46fe2
%{python2_sitearch}/psycopg2-%{version}-py2*.egg-info
e46fe2
e46fe2
e46fe2
%files -n python2-%{srcname}-tests
e46fe2
%{python2_sitearch}/psycopg2/tests
fa76f9
%endif
e46fe2
e46fe2
fa76f9
%if %{with python2_debug}
e46fe2
%files -n python2-%{srcname}-debug
e46fe2
%license LICENSE
e46fe2
%{python2_sitearch}/psycopg2/_psycopg_d.so
fa76f9
%endif
e46fe2
e46fe2
e46fe2
%if %{with python3}
e46fe2
%files -n python3-psycopg2
e46fe2
%license LICENSE
e46fe2
%doc AUTHORS NEWS README.rst
e46fe2
%dir %{python3_sitearch}/psycopg2
e46fe2
%{python3_sitearch}/psycopg2/*.py
fa76f9
%{python3_sitearch}/psycopg2/_psycopg.cpython-%{python3_version_nodots}[!d]*.so
e46fe2
%dir %{python3_sitearch}/psycopg2/__pycache__
e46fe2
%{python3_sitearch}/psycopg2/__pycache__/*.py{c,o}
e46fe2
%{python3_sitearch}/psycopg2-%{version}-py3*.egg-info
e46fe2
e46fe2
e46fe2
%files -n python3-%{srcname}-tests
e46fe2
%{python3_sitearch}/psycopg2/tests
fa76f9
%endif
e46fe2
e46fe2
fa76f9
%if %{with python3_debug}
e46fe2
%files -n python3-psycopg2-debug
e46fe2
%license LICENSE
fa76f9
%{python3_sitearch}/psycopg2/_psycopg.cpython-%{python3_version_nodots}d*.so
fa76f9
%endif
e46fe2
e46fe2
e46fe2
%files doc
e46fe2
%license LICENSE
fa76f9
%doc doc
e46fe2
e46fe2
e46fe2
%if %zope
e46fe2
%files zope
e46fe2
%license LICENSE
e46fe2
%dir %{ZPsycopgDAdir}
e46fe2
%{ZPsycopgDAdir}/*.py
e46fe2
%{ZPsycopgDAdir}/*.pyo
e46fe2
%{ZPsycopgDAdir}/*.pyc
e46fe2
%{ZPsycopgDAdir}/dtml/*
e46fe2
%{ZPsycopgDAdir}/icons/*
e46fe2
%endif
e46fe2
e46fe2
e46fe2
%changelog
fa76f9
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 2.8.6-3
fa76f9
- rebuild for libpq ABI fix rhbz#1908268
fa76f9
fa76f9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.6-2
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fa76f9
fa76f9
* Thu Sep 17 2020 Patrik Novotný <panovotn@redhat.com> - 2.8.6-1
fa76f9
- Rebase to upstream version 2.8.6
fa76f9
fa76f9
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.5-3
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fa76f9
fa76f9
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.8.5-2
fa76f9
- Rebuilt for Python 3.9
fa76f9
fa76f9
* Tue Apr 21 2020 Patrik Novotný <panovotn@redhat.com> - 2.8.5-1
fa76f9
- Rebase to upstream version 2.8.5
fa76f9
fa76f9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-2
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fa76f9
fa76f9
* Wed Nov 06 2019 Lumír Balhar <lbalhar@redhat.com> - 2.8.4-1
fa76f9
- New upstream version 2.8.4
fa76f9
- bcond check renamed to bcond tests
fa76f9
fa76f9
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8.3-2
fa76f9
- Package python2-psycopg2 removed on Fedora 32+ (rhbz#1761216)
fa76f9
fa76f9
* Mon Sep 09 2019 Devrim Gündüz <devrim@gunduz.org> - 2.8.3-1
fa76f9
- Update to 2.8.3
fa76f9
fa76f9
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-5
fa76f9
- Package python2-psycopg2-debug removed on Fedora 32+ (rhbz#1747670)
fa76f9
fa76f9
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-4
fa76f9
- Rebuilt for Python 3.8
fa76f9
fa76f9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-3
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fa76f9
fa76f9
* Tue May 14 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-2
fa76f9
- Fixes for 3.8.0a4 rebuild
fa76f9
  Resolves: 1693641
fa76f9
fa76f9
* Tue Feb 05 2019 Pavel Raiskup <praiskup@redhat.com> - 2.7.7-1
fa76f9
- update to the latest upstream release
fa76f9
fa76f9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-6
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e46fe2
e46fe2
* Wed Oct 03 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-5
fa76f9
- prepare --without=debugrpms option (rhbz#1635166)
fa76f9
- get the python2 packages back for a while (rhbz#1634973)
e46fe2
fa76f9
* Wed Oct 03 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-4
fa76f9
- drop python2* on f30+ (rhbz#1634973)
fa76f9
- use proper compiler/linker flags (rhbz#1631713)
fa76f9
- correct the (build)requires
fa76f9
fa76f9
* Tue Jul 17 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-3
fa76f9
- standalone installable doc subpackage
e46fe2
fa76f9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-3
fa76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e46fe2
fa76f9
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.5-2
fa76f9
- Rebuilt for Python 3.7
e46fe2
fa76f9
* Mon Jun 18 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-1
fa76f9
- rebase to latest upstream release, per release notes:
fa76f9
  http://initd.org/psycopg/articles/2018/06/17/psycopg-275-released/
e46fe2
fa76f9
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.4-5
fa76f9
- Rebuilt for Python 3.7
e46fe2
fa76f9
* Mon May 21 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-4
fa76f9
- fix for python 3.7, by mhroncok
e46fe2
fa76f9
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-3
fa76f9
- depend on postgresql-test-rpm-macros
e46fe2
fa76f9
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-2
fa76f9
- re-enable testsuite
e46fe2
e46fe2
* Mon Feb 12 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-1
e46fe2
- rebase to latest upstream release, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/
e46fe2
e46fe2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3.2-3
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e46fe2
e46fe2
* Thu Dec 14 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.2-2
e46fe2
- treat python3/python2 equally
e46fe2
e46fe2
* Wed Oct 25 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.2-1
e46fe2
- update to 2.7.3.2, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2017/10/24/psycopg-2732-released/
e46fe2
e46fe2
* Mon Aug 28 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.1-1
e46fe2
- http://initd.org/psycopg/articles/2017/08/26/psycopg-2731-released/
e46fe2
e46fe2
* Sun Aug 13 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3-1
e46fe2
- rebase to latest upstream release, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2017/07/24/psycopg-273-released/
e46fe2
e46fe2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-3
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e46fe2
e46fe2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e46fe2
e46fe2
* Sun Jul 23 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.2-1
e46fe2
- rebase to latest upstream release, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2017/07/22/psycopg-272-released/
e46fe2
e46fe2
* Mon Mar 13 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.1-1
e46fe2
- rebase to latest upstream release, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2017/03/01/psycopg-271-released/
e46fe2
- fix testsuite
e46fe2
e46fe2
* Thu Mar 02 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7-1
e46fe2
- rebase to latest upstream release, per release notes:
e46fe2
  http://initd.org/psycopg/articles/2017/03/01/psycopg-27-released/
e46fe2
- enable testsuite during build, and package it
e46fe2
e46fe2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-4
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e46fe2
e46fe2
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.6.2-3
e46fe2
- Rebuild for Python 3.6
e46fe2
e46fe2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
e46fe2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e46fe2
e46fe2
* Thu Jul 07 2016 Pavel Raiskup <praiskup@redhat.com> - 2.6.2-1
e46fe2
- rebase (rhbz#1353545), per release notes
e46fe2
  http://initd.org/psycopg/articles/2016/07/07/psycopg-262-released/
e46fe2
e46fe2
* Sun May 29 2016 Pavel Raiskup <praiskup@redhat.com> - 2.6.1-6
e46fe2
- provide python2-psycopg2 (rhbz#1306025)
e46fe2
- cleanup obsoleted packaging stuff
e46fe2
e46fe2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e46fe2
e46fe2
* Sun Nov 15 2015 Pavel Raiskup <praiskup@redhat.com> - 2.6.1-4
e46fe2
- again bump for new Python 3.5, not build previously?
e46fe2
- fix rpmlint issues
e46fe2
- no pyo files with python 3.5
e46fe2
e46fe2
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e46fe2
e46fe2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e46fe2
e46fe2
* Mon Jun 15 2015 Jozef Mlich <jmlich@redhat.com> 2.6.1-1
e46fe2
- Update to 2.6.1
e46fe2
e46fe2
* Mon Feb 9 2015 Devrim Gündüz <devrim@gunduz.org> 2.6-1
e46fe2
- Update to 2.6, per changes described at:
e46fe2
  http://www.psycopg.org/psycopg/articles/2015/02/09/psycopg-26-and-255-released/
e46fe2
e46fe2
* Tue Jan 13 2015 Devrim Gündüz <devrim@gunduz.org> 2.5.4-1
e46fe2
- Update to 2.5.4, per changes described at:
e46fe2
  http://www.psycopg.org/psycopg/articles/2014/08/30/psycopg-254-released
e46fe2
e46fe2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e46fe2
e46fe2
* Fri Jul 04 2014 Pavel Raiskup <praiskup@redhat.com> - 2.5.3-1
e46fe2
- rebase to most recent upstream version, per release notes:
e46fe2
  http://www.psycopg.org/psycopg/articles/2014/05/13/psycopg-253-released/
e46fe2
e46fe2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-3
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e46fe2
e46fe2
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.5.2-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
e46fe2
e46fe2
* Tue Jan 7 2014 Devrim Gündüz <devrim@gunduz.org> 2.5.2-1
e46fe2
- Update to 2.5.2, per changes described at:
e46fe2
  http://www.psycopg.org/psycopg/articles/2014/01/07/psycopg-252-released
e46fe2
e46fe2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e46fe2
e46fe2
* Sun Jul 07 2013 Pavel Raiskup <praiskup@redhat.com> - 2.5.1-1
e46fe2
- rebase to 2.5.1
e46fe2
e46fe2
* Thu May 16 2013 Devrim Gündüz <devrim@gunduz.org> 2.5-1
e46fe2
- Update to 2.5, per changes described at:
e46fe2
  http://www.psycopg.org/psycopg/articles/2013/04/07/psycopg-25-released/
e46fe2
e46fe2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-7
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e46fe2
e46fe2
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-6
e46fe2
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
e46fe2
e46fe2
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-5
e46fe2
- generalize python 3 fileglobbing to work with both Python 3.2 and 3.3
e46fe2
e46fe2
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-4
e46fe2
- replace "python3.2dmu" with "python3-debug"; with_python3 fixes
e46fe2
e46fe2
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-3
e46fe2
- add with_python3 conditional
e46fe2
e46fe2
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e46fe2
e46fe2
* Sat Apr  7 2012 Tom Lane <tgl@redhat.com> 2.4.5-1
e46fe2
- Update to 2.4.5
e46fe2
e46fe2
* Thu Feb  2 2012 Tom Lane <tgl@redhat.com> 2.4.4-1
e46fe2
- Update to 2.4.4
e46fe2
- More specfile neatnik-ism
e46fe2
e46fe2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e46fe2
e46fe2
* Tue Nov 29 2011 Tom Lane <tgl@redhat.com> 2.4.2-2
e46fe2
- Fix mistaken %%dir marking on python3 files, per Dan Horak
e46fe2
e46fe2
* Sat Jun 18 2011 Tom Lane <tgl@redhat.com> 2.4.2-1
e46fe2
- Update to 2.4.2
e46fe2
Related: #711095
e46fe2
- Some neatnik specfile cleanups
e46fe2
e46fe2
* Thu Feb 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.4-0.beta2
e46fe2
- 2.4.0-beta2
e46fe2
- add python 2 debug, python3 (optimized) and python3-debug subpackages
e46fe2
e46fe2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e46fe2
e46fe2
* Wed Dec 29 2010 Tom Lane <tgl@redhat.com> 2.3.2-1
e46fe2
- Update to 2.3.2
e46fe2
- Clean up a few rpmlint warnings
e46fe2
e46fe2
* Fri Dec 03 2010 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.2.2-3
e46fe2
- Fix incorrect (and invalid) License: tag.
e46fe2
e46fe2
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.2-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e46fe2
e46fe2
* Tue Jul 20 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.2.2-1
e46fe2
- Update to 2.2.2
e46fe2
e46fe2
* Tue May 18 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.2.1-1
e46fe2
- Update to 2.2.1
e46fe2
- Improve description for 2.2 features.
e46fe2
- Changelog for 2.2.0 is: 
e46fe2
   http://initd.org/pub/software/psycopg/ChangeLog-2.2
e46fe2
e46fe2
* Wed Mar 17 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.14-1
e46fe2
- Update to 2.0.14
e46fe2
- Update license (upstream switched to LGPL3)
e46fe2
e46fe2
* Sun Jan 24 2010 Tom Lane <tgl@redhat.com> 2.0.13-2
e46fe2
- Fix rpmlint complaints: remove unneeded explicit Requires:, use Conflicts:
e46fe2
  instead of bogus Obsoletes: to indicate lack of zope subpackage
e46fe2
e46fe2
* Sun Oct 18 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.13-1
e46fe2
- Update to 2.0.13
e46fe2
e46fe2
* Fri Aug 14 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.12-1
e46fe2
- Update to 2.0.12
e46fe2
e46fe2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.11-2
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e46fe2
e46fe2
* Tue May 19 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.11-1
e46fe2
- Update to 2.0.11
e46fe2
e46fe2
* Tue Apr 21 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.10-1
e46fe2
- Update to 2.0.10
e46fe2
e46fe2
* Fri Mar 20 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.9-1
e46fe2
- Update to 2.0.9
e46fe2
e46fe2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-3
e46fe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e46fe2
e46fe2
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.8-2
e46fe2
- Rebuild for Python 2.6
e46fe2
e46fe2
* Sat Nov 29 2008 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.8-1
e46fe2
- Update to 2.0.8
e46fe2
e46fe2
* Sat Nov 29 2008 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.8-1
e46fe2
- Update to 2.0.8
e46fe2
e46fe2
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.7-3
e46fe2
- Rebuild for Python 2.6
e46fe2
e46fe2
* Thu May 29 2008 Todd Zullinger <tmz@pobox.com> - 2.0.7-2
e46fe2
- fix license tags
e46fe2
e46fe2
* Wed Apr 30 2008 Devrim GUNDUZ <devrim@commandprompt.com> 2.0.7-1
e46fe2
- Update to 2.0.7
e46fe2
e46fe2
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.6-4.1
e46fe2
- Autorebuild for GCC 4.3
e46fe2
e46fe2
* Mon Jan 21 2008 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-3.1
e46fe2
- Rebuilt against PostgreSQL 8.3
e46fe2
e46fe2
* Thu Jan 3 2008 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-3
e46fe2
- Rebuild for rawhide changes
e46fe2
e46fe2
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.0.6-2
e46fe2
- Rebuild for selinux ppc32 issue.
e46fe2
e46fe2
* Fri Jun 15 2007 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-1
e46fe2
- Update to 2.0.6
e46fe2
e46fe2
* Thu Apr 26 2007 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-8
e46fe2
- Disabled zope package temporarily.
e46fe2
e46fe2
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-7
e46fe2
- Rebuilt
e46fe2
e46fe2
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-5
e46fe2
- Bumped up spec version
e46fe2
e46fe2
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-4
e46fe2
- Rebuilt for PostgreSQL 8.2.0
e46fe2
e46fe2
* Mon Sep 11 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-3
e46fe2
- Rebuilt
e46fe2
e46fe2
* Wed Sep 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-2
e46fe2
- Remove ghost'ing, per Python Packaging Guidelines
e46fe2
e46fe2
* Mon Sep 4 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-1
e46fe2
- Update to 2.0.5.1
e46fe2
e46fe2
* Sun Aug 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-3
e46fe2
- Fixed zope package dependencies and macro definition, per bugzilla review (#199784)
e46fe2
- Fixed zope package directory ownership, per bugzilla review (#199784)
e46fe2
- Fixed cp usage for zope subpackage, per bugzilla review (#199784)
e46fe2
e46fe2
* Mon Jul 31 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-2
e46fe2
- Fixed 64 bit builds
e46fe2
- Fixed license
e46fe2
- Added Zope subpackage
e46fe2
- Fixed typo in doc description
e46fe2
- Added macro for zope subpackage dir
e46fe2
e46fe2
* Mon Jul 31 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-1
e46fe2
- Update to 2.0.3
e46fe2
- Fixed spec file, per bugzilla review (#199784)
e46fe2
e46fe2
* Sat Jul 22 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-3
e46fe2
- Removed python dependency, per bugzilla review. (#199784)
e46fe2
- Changed doc package group, per bugzilla review. (#199784)
e46fe2
- Replaced dos2unix with sed, per guidelines and bugzilla review (#199784)
e46fe2
- Fix changelog dates
e46fe2
e46fe2
* Sat Jul 22 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-2
e46fe2
- Added dos2unix to buildrequires
e46fe2
- removed python related part from package name
e46fe2
e46fe2
* Fri Jul 21 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-1
e46fe2
- Fix rpmlint errors, including dos2unix solution
e46fe2
- Re-engineered spec file
e46fe2
e46fe2
* Mon Jan 23 2006 - Devrim GUNDUZ <devrim@commandprompt.com>
e46fe2
- First 2.0.X build
e46fe2
e46fe2
* Mon Jan 23 2006 - Devrim GUNDUZ <devrim@commandprompt.com>
e46fe2
- Update to 1.2.21
e46fe2
e46fe2
* Tue Dec 06 2005 - Devrim GUNDUZ <devrim@commandprompt.com>
e46fe2
- Initial release for 1.1.20