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