d74af4e
%if 0%{?fedora}
f689205
	%bcond_without python3
5034d9b
	%bcond_without python3_debug
aa6b73c
	%if 0%{?fedora} > 31
5034d9b
		%bcond_with    python2
aa6b73c
		%bcond_with    python2_debug
aa6b73c
	%else
5034d9b
		%bcond_without python2
aa6b73c
		%bcond_without python2_debug
aa6b73c
	%endif
d74af4e
%else
f689205
	%if 0%{?rhel} > 7
f689205
		%bcond_with    python2
f689205
		%bcond_without python3
aa6b73c
		%bcond_with    python2_debug
aa6b73c
		%bcond_without python3_debug
f689205
	%else
f689205
		%bcond_without python2
f689205
		%bcond_with    python3
aa6b73c
		%bcond_without python2_debug
aa6b73c
		%bcond_with    python3_debug
f689205
	%endif
d74af4e
%endif
d74af4e
52c77cb
%bcond_without tests
d74af4e
797d93c
%global srcname	psycopg2
797d93c
%global sum	A PostgreSQL database adapter for Python
797d93c
%global desc	Psycopg is the most popular PostgreSQL adapter for the Python \
797d93c
programming language. At its core it fully implements the Python DB \
797d93c
API 2.0 specifications. Several extensions allow access to many of the \
797d93c
features offered by PostgreSQL.
797d93c
f689205
%global python_runtimes	\\\
aa6b73c
	%{?with_python2:python2} \\\
aa6b73c
	%{?with_python2_debug:python2-debug} \\\
aa6b73c
	%{?with_python3:python3} \\\
aa6b73c
	%{?with_python3_debug:python3-debug}
abbed67
bdc27a2
%{!?with_python2:%{!?with_python3:%{error:one python version needed}}}
abbed67
539ba86
# Python 2.5+ is not supported by Zope, so it does not exist in
539ba86
# recent Fedora releases. That's why zope subpackage is disabled.
Tom Lane 74fce09
%global zope 0
Tom Lane 74fce09
%if %zope
Tom Lane 74fce09
%global ZPsycopgDAdir %{_localstatedir}/lib/zope/Products/ZPsycopgDA
Tom Lane 74fce09
%endif
840879a
840879a
797d93c
Summary:	%{sum}
797d93c
Name:		python-%{srcname}
99cb325
Version:	2.9.9
403301a
Release:	5%{?dist}
6ad371e
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
60e8010
License:	LGPL-3.0-or-later WITH openvpn-openssl-exception
23d0ab6
Url:		https://www.psycopg.org/
2ad0900
23d0ab6
Source0:	https://github.com/psycopg/psycopg2/archive/%{version}/psycopg2-%{version}.tar.gz
Tom Lane fa335f9
6af8d1d
%{?with_python2:BuildRequires:	python2-devel python2-setuptools}
6af8d1d
%{?with_python3:BuildRequires:	python3-devel python3-setuptools}
aa6b73c
%{?with_python2_debug:BuildRequires:	python2-debug}
aa6b73c
%{?with_python3_debug:BuildRequires:	python3-debug}
d74af4e
6af8d1d
BuildRequires:	gcc
0ba0e39
BuildRequires:	libpq-devel
Ondřej Sloup 428325d
BuildRequires:	python-sphinx
840879a
3782b11
# For testsuite
52c77cb
%if %{with tests}
0d28ee3
BuildRequires:	postgresql-test-rpm-macros
3782b11
%endif
3782b11
2ad0900
Conflicts:	python-psycopg2-zope < %{version}
6c1f416
Ondřej Sloup 428325d
# Remove test 'test_from_tables' for s390 architecture
Ondřej Sloup 428325d
# from ./tests/test_types_extras.py
Ondřej Sloup 428325d
Patch0: test_types_extras-2.9.3-test_from_tables.patch
Ondřej Sloup 428325d
403301a
# Fix build when using Python 3.13
403301a
# https://github.com/psycopg/psycopg2/pull/1695
403301a
Patch1: python3-13.patch
403301a
840879a
%description
797d93c
%{desc}
797d93c
797d93c
bdc27a2
%if %{with python2}
797d93c
%package -n python2-%{srcname}
797d93c
%{?python_provide:%python_provide python2-%{srcname}}
797d93c
Summary: %{sum} 2
a08f87b
797d93c
%description -n python2-%{srcname}
797d93c
%{desc}
797d93c
3782b11
32e83c7
%package -n python2-%{srcname}-tests
32e83c7
Summary: A testsuite for %sum 2
3782b11
Requires: python2-%srcname = %version-%release
32e83c7
32e83c7
%description -n python2-%{srcname}-tests
32e83c7
%desc
32e83c7
This sub-package delivers set of tests for the adapter.
bf121c5
%endif
797d93c
3782b11
aa6b73c
%if %{with python2_debug}
797d93c
%package -n python2-%{srcname}-debug
abbed67
Summary: A PostgreSQL database adapter for Python 2 (debug build)
abbed67
# Require the base package, as we're sharing .py/.pyc files:
fcf6aa2
Requires:	python2-%{srcname} = %{version}-%{release}
797d93c
%{?python_provide:%python_provide python2-%{srcname}-debug}
abbed67
797d93c
%description -n python2-%{srcname}-debug
abbed67
This is a build of the psycopg PostgreSQL database adapter for the debug
Tom Lane 9897864
build of Python 2.
bf121c5
%endif
abbed67
797d93c
d74af4e
%if %{with python3}
abbed67
%package -n python3-psycopg2
797d93c
Summary: %{sum} 3
797d93c
%{?python_provide:%python_provide python3-%{srcname}}
abbed67
abbed67
%description  -n python3-psycopg2
797d93c
%{desc}
abbed67
509bf2c
32e83c7
%package -n python3-%{srcname}-tests
6cd2a89
Summary: A testsuite for %sum 3
3782b11
Requires: python3-%srcname = %version-%release
32e83c7
32e83c7
%description -n python3-%{srcname}-tests
32e83c7
%desc
32e83c7
This sub-package delivers set of tests for the adapter.
bf121c5
%endif
32e83c7
32e83c7
aa6b73c
%if %{with python3_debug}
abbed67
%package -n python3-psycopg2-debug
abbed67
Summary: A PostgreSQL database adapter for Python 3 (debug build)
abbed67
# Require base python 3 package, as we're sharing .py/.pyc files:
Tom Lane 9897864
Requires:	python3-psycopg2 = %{version}-%{release}
abbed67
797d93c
%description -n python3-%{srcname}-debug
abbed67
This is a build of the psycopg PostgreSQL database adapter for the debug
Tom Lane 9897864
build of Python 3.
bf121c5
%endif
abbed67
509bf2c
840879a
%package doc
840879a
Summary:	Documentation for psycopg python PostgreSQL database adapter
d74af4e
%{?with_python2:Provides: python2-%{srcname}-doc = %{version}-%{release}}
d74af4e
%{?with_python3:Provides: python3-%{srcname}-doc = %{version}-%{release}}
840879a
840879a
%description doc
840879a
Documentation and example files for the psycopg python PostgreSQL
840879a
database adapter.
840879a
509bf2c
Tom Lane 74fce09
%if %zope
Tom Lane 74fce09
%package zope
Tom Lane 74fce09
Summary:	Zope Database Adapter ZPsycopgDA
6ad371e
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
Tom Lane 74fce09
License:	GPLv2+ with exceptions or ZPLv1.0
Tom Lane 9897864
Requires:	%{name} = %{version}-%{release}
Tom Lane 9897864
Requires:	zope
840879a
Tom Lane 74fce09
%description zope
Tom Lane 74fce09
Zope Database Adapter for PostgreSQL, called ZPsycopgDA
Tom Lane 74fce09
%endif
840879a
509bf2c
840879a
%prep
Ondřej Sloup 428325d
%setup -q -n psycopg2-%{version}
840879a
403301a
%patch 1 -p1
403301a
Ondřej Sloup 428325d
# The patch is applied only for s390 architecture as 
Ondřej Sloup 428325d
# on other architectures the test works
Ondřej Sloup 428325d
%ifarch s390x s390
Software Management Team b5282e6
%patch -P0 -p0
Ondřej Sloup 428325d
%endif
509bf2c
840879a
%build
cfd14bb
export CFLAGS=${RPM_OPT_FLAGS} LDFLAGS=${RPM_LD_FLAGS}
abbed67
for python in %{python_runtimes} ; do
abbed67
  $python setup.py build
abbed67
done
Tom Lane 74fce09
840879a
# Fix for wrong-file-end-of-line-encoding problem; upstream also must fix this.
840879a
for i in `find doc -iname "*.html"`; do sed -i 's/\r//' $i; done
840879a
for i in `find doc -iname "*.css"`; do sed -i 's/\r//' $i; done
840879a
Tom Lane 74fce09
# Get rid of a "hidden" file that rpmlint complains about
0bf36a5
%{__rm} -f doc/html/.buildinfo
Tom Lane 74fce09
0f2ab3b
# We can not build docs now:
0f2ab3b
# https://www.postgresql.org/message-id/2741387.dvL6Cb0VMB@nb.usersys.redhat.com
Ondřej Sloup 428325d
# as the bug was sorted, we can build the documentation again
Ondřej Sloup 428325d
Ondřej Sloup 428325d
# Remove design formatting package
Ondřej Sloup 428325d
sed -i '/better_theme_path/d' doc/src/conf.py
Ondřej Sloup 428325d
sed -i "/html_theme = 'better'/d" doc/src/conf.py
Ondřej Sloup 428325d
Ondřej Sloup 428325d
make html -C doc/src
2fed961
Tom Lane 74fce09
32e83c7
%check
52c77cb
%if %{with tests}
32e83c7
export PGTESTS_LOCALE=C.UTF-8
0d28ee3
%postgresql_tests_run
abbed67
32e83c7
export PSYCOPG2_TESTDB=${PGTESTS_DATABASES##*:}
32e83c7
export PSYCOPG2_TESTDB_HOST=$PGHOST
32e83c7
export PSYCOPG2_TESTDB_PORT=$PGPORT
840879a
f6d89ae
cmd="import tests; tests.unittest.main(defaultTest='tests.test_suite')"
d74af4e
d74af4e
%if %{with python2}
3782b11
PYTHONPATH=%buildroot%python2_sitearch %__python2 -c "$cmd" --verbose
3782b11
%endif
d74af4e
%if %{with python3}
d74af4e
PYTHONPATH=%buildroot%python3_sitearch %__python3 -c "$cmd" --verbose
3782b11
%endif
bf121c5
%endif
abbed67
abbed67
32e83c7
%install
cfd14bb
export CFLAGS=${RPM_OPT_FLAGS} LDFLAGS=${RPM_LD_FLAGS}
abbed67
for python in %{python_runtimes} ; do
32e83c7
  $python setup.py install --no-compile --root %{buildroot}
abbed67
done
Tom Lane 74fce09
f6d89ae
# Upstream removed tests from the package so we need to add them manually
f6d89ae
%if %{with python2}
f6d89ae
cp -r tests/ %{buildroot}%{python2_sitearch}/%{srcname}/tests/
f6d89ae
for i in `find %{buildroot}%{python2_sitearch}/%{srcname}/tests/ -iname "*.py"`; do
f6d89ae
  sed -i 's|#!/usr/bin/env python|#!/usr/bin/python2|' $i
f6d89ae
done
f6d89ae
%endif
f6d89ae
%if %{with python3}
f6d89ae
cp -r tests/ %{buildroot}%{python3_sitearch}/%{srcname}/tests/
f6d89ae
for i in `find %{buildroot}%{python3_sitearch}/%{srcname}/tests/ -iname "*.py"`; do
f6d89ae
  sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i
f6d89ae
done
f6d89ae
%endif
f6d89ae
Tom Lane 74fce09
%if %zope
0bf36a5
%{__install} -d %{buildroot}%{ZPsycopgDAdir}
0bf36a5
%{__cp} -pr ZPsycopgDA/* %{buildroot}%{ZPsycopgDAdir}
Tom Lane 74fce09
%endif
840879a
d74af4e
%if %{with python2}
797d93c
%files -n python2-psycopg2
29ae04a
%license LICENSE
29ae04a
%doc AUTHORS NEWS README.rst
797d93c
%dir %{python2_sitearch}/psycopg2
797d93c
%{python2_sitearch}/psycopg2/*.py
797d93c
%{python2_sitearch}/psycopg2/*.pyc
797d93c
%{python2_sitearch}/psycopg2/_psycopg.so
797d93c
%{python2_sitearch}/psycopg2/*.pyo
797d93c
%{python2_sitearch}/psycopg2-%{version}-py2*.egg-info
797d93c
d74af4e
32e83c7
%files -n python2-%{srcname}-tests
32e83c7
%{python2_sitearch}/psycopg2/tests
bf121c5
%endif
509bf2c
d74af4e
aa6b73c
%if %{with python2_debug}
797d93c
%files -n python2-%{srcname}-debug
29ae04a
%license LICENSE
797d93c
%{python2_sitearch}/psycopg2/_psycopg_d.so
bf121c5
%endif
abbed67
509bf2c
d74af4e
%if %{with python3}
abbed67
%files -n python3-psycopg2
29ae04a
%license LICENSE
29ae04a
%doc AUTHORS NEWS README.rst
abbed67
%dir %{python3_sitearch}/psycopg2
abbed67
%{python3_sitearch}/psycopg2/*.py
0f2eaf8
%{python3_sitearch}/psycopg2/_psycopg.cpython-%{python3_version_nodots}[!d]*.so
abbed67
%dir %{python3_sitearch}/psycopg2/__pycache__
797d93c
%{python3_sitearch}/psycopg2/__pycache__/*.py{c,o}
d999951
%{python3_sitearch}/psycopg2-%{version}-py3*.egg-info
abbed67
509bf2c
32e83c7
%files -n python3-%{srcname}-tests
32e83c7
%{python3_sitearch}/psycopg2/tests
bf121c5
%endif
32e83c7
d74af4e
aa6b73c
%if %{with python3_debug}
abbed67
%files -n python3-psycopg2-debug
29ae04a
%license LICENSE
0f2eaf8
%{python3_sitearch}/psycopg2/_psycopg.cpython-%{python3_version_nodots}d*.so
bf121c5
%endif
abbed67
840879a
840879a
%files doc
29ae04a
%license LICENSE
Ondřej Sloup 428325d
%doc doc/src/_build/html
840879a
509bf2c
Tom Lane 74fce09
%if %zope
Tom Lane 74fce09
%files zope
29ae04a
%license LICENSE
Tom Lane 74fce09
%dir %{ZPsycopgDAdir}
Tom Lane 74fce09
%{ZPsycopgDAdir}/*.py
Tom Lane 74fce09
%{ZPsycopgDAdir}/*.pyo
Tom Lane 74fce09
%{ZPsycopgDAdir}/*.pyc
Tom Lane 74fce09
%{ZPsycopgDAdir}/dtml/*
Tom Lane 74fce09
%{ZPsycopgDAdir}/icons/*
Tom Lane 74fce09
%endif
840879a
509bf2c
840879a
%changelog
403301a
* Wed Jun 5 2024 Ales Nezbeda <anezbeda@redhat.com> - 2.9.9-5
403301a
- Fix build using Python 3.13
403301a
260dd97
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.9-4
260dd97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
260dd97
2c2ca21
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.9-3
2c2ca21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2c2ca21
23d0ab6
* Tue Jan 16 2024 Miro Hrončok <mhroncok@redhat.com> - 2.9.9-2
23d0ab6
- Fix URL and Source URL
23d0ab6
99cb325
* Mon Dec 11 2023 Ondrej Sloup <osloup@redhat.com> -  2.9.9-1
99cb325
- Rebase to the latest upstream version
99cb325
60e8010
* Fri Nov 03 2023 Ondrej Sloup <osloup@redhat.com> -  2.9.6-4
60e8010
- Update license and use SPDX formula according to fedora-license-data
60e8010
- https://gitlab.com/fedora/legal/fedora-license-data/-/issues/153
60e8010
be7917c
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-3
be7917c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
be7917c
161b079
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 2.9.6-2
161b079
- Rebuilt for Python 3.12
161b079
657810b
* Fri May 05 2023 Ondrej Sloup <osloup@redhat.com> -  2.9.6-1
657810b
- Rebase to the latest upstream version
657810b
- Resolves rhbz#2171683
657810b
0b936f6
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-7
0b936f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0b936f6
56b25f9
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-6
56b25f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
56b25f9
0ba0e39
* Tue Jun 14 2022 Filip Janus <fjanus@redhat.co> - 2.9.3-5
0ba0e39
- Build directly with libpq-devel
0ba0e39
7a72141
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.9.3-4
7a72141
- Rebuilt for Python 3.11
7a72141
Ondřej Sloup 428325d
* Fri May 13 2022 Ondrej Sloup <osloup@redhat.com> - 2.9.3-3
Ondřej Sloup 428325d
- Remove test test_from_tables failing on s390x
Ondřej Sloup 428325d
- Make docs
Ondřej Sloup 428325d
96c3750
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-2
96c3750
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
96c3750
2e0acf0
* Fri Jan 7 2022 Devrim Gündüz <devrim@gunduz.org> - 2.9.3-1
2e0acf0
- Update to 2.9.3
2e0acf0
47c60bc
* Tue Aug 03 2021 Filip Januš <fjanus@redhat.com> - 2.9.1-1
47c60bc
- Update to 2.9.1
47c60bc
4dd19bf
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.6-5
4dd19bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4dd19bf
41c8f1f
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.8.6-4
41c8f1f
- Rebuilt for Python 3.10
41c8f1f
72ee3c5
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 2.8.6-3
72ee3c5
- rebuild for libpq ABI fix rhbz#1908268
72ee3c5
26a63c0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.6-2
26a63c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
26a63c0
eaf944c
* Thu Sep 17 2020 Patrik Novotný <panovotn@redhat.com> - 2.8.6-1
eaf944c
- Rebase to upstream version 2.8.6
eaf944c
f2bc4f7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.5-3
f2bc4f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f2bc4f7
104b3ff
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.8.5-2
104b3ff
- Rebuilt for Python 3.9
104b3ff
773518d
* Tue Apr 21 2020 Patrik Novotný <panovotn@redhat.com> - 2.8.5-1
773518d
- Rebase to upstream version 2.8.5
773518d
41de2b1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-2
41de2b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
41de2b1
52c77cb
* Wed Nov 06 2019 Lumír Balhar <lbalhar@redhat.com> - 2.8.4-1
52c77cb
- New upstream version 2.8.4
52c77cb
- bcond check renamed to bcond tests
52c77cb
5034d9b
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8.3-2
5034d9b
- Package python2-psycopg2 removed on Fedora 32+ (rhbz#1761216)
5034d9b
0bf36a5
* Mon Sep 09 2019 Devrim Gündüz <devrim@gunduz.org> - 2.8.3-1
0bf36a5
- Update to 2.8.3
0bf36a5
aa6b73c
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-5
aa6b73c
- Package python2-psycopg2-debug removed on Fedora 32+ (rhbz#1747670)
aa6b73c
03c1875
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-4
03c1875
- Rebuilt for Python 3.8
03c1875
e9825b7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-3
e9825b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e9825b7
26a4b14
* Tue May 14 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.7-2
26a4b14
- Fixes for 3.8.0a4 rebuild
26a4b14
  Resolves: 1693641
26a4b14
d323f5a
* Tue Feb 05 2019 Pavel Raiskup <praiskup@redhat.com> - 2.7.7-1
d323f5a
- update to the latest upstream release
d323f5a
770cced
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-6
770cced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
770cced
3285988
* Wed Oct 03 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-5
3285988
- prepare --without=debugrpms option (rhbz#1635166)
104e3e4
- get the python2 packages back for a while (rhbz#1634973)
3285988
bdc27a2
* Wed Oct 03 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-4
bdc27a2
- drop python2* on f30+ (rhbz#1634973)
cfd14bb
- use proper compiler/linker flags (rhbz#1631713)
fcf6aa2
- correct the (build)requires
bdc27a2
9085398
* Tue Jul 17 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-3
9085398
- standalone installable doc subpackage
9085398
ca9ac2f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-3
ca9ac2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ca9ac2f
cbc5200
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.5-2
cbc5200
- Rebuilt for Python 3.7
cbc5200
a3c6732
* Mon Jun 18 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.5-1
a3c6732
- rebase to latest upstream release, per release notes:
a3c6732
  http://initd.org/psycopg/articles/2018/06/17/psycopg-275-released/
a3c6732
dc26795
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.4-5
dc26795
- Rebuilt for Python 3.7
dc26795
0436d8c
* Mon May 21 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-4
0436d8c
- fix for python 3.7, by mhroncok
0436d8c
0d28ee3
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-3
0d28ee3
- depend on postgresql-test-rpm-macros
0d28ee3
1770ed3
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-2
1770ed3
- re-enable testsuite
1770ed3
0328890
* Mon Feb 12 2018 Pavel Raiskup <praiskup@redhat.com> - 2.7.4-1
0328890
- rebase to latest upstream release, per release notes:
0328890
  http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/
0328890
65fba2e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3.2-3
65fba2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
65fba2e
d74af4e
* Thu Dec 14 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.2-2
d74af4e
- treat python3/python2 equally
d74af4e
9641384
* Wed Oct 25 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.2-1
9641384
- update to 2.7.3.2, per release notes:
9641384
  http://initd.org/psycopg/articles/2017/10/24/psycopg-2732-released/
9641384
669712a
* Mon Aug 28 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3.1-1
669712a
- http://initd.org/psycopg/articles/2017/08/26/psycopg-2731-released/
669712a
e8c49c6
* Sun Aug 13 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.3-1
e8c49c6
- rebase to latest upstream release, per release notes:
e8c49c6
  http://initd.org/psycopg/articles/2017/07/24/psycopg-273-released/
e8c49c6
d0a64ad
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-3
d0a64ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d0a64ad
0a7df57
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-2
0a7df57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0a7df57
f94ad64
* Sun Jul 23 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.2-1
f94ad64
- rebase to latest upstream release, per release notes:
f94ad64
  http://initd.org/psycopg/articles/2017/07/22/psycopg-272-released/
f94ad64
7d88cb5
* Mon Mar 13 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7.1-1
7d88cb5
- rebase to latest upstream release, per release notes:
7d88cb5
  http://initd.org/psycopg/articles/2017/03/01/psycopg-271-released/
3782b11
- fix testsuite
7d88cb5
32e83c7
* Thu Mar 02 2017 Pavel Raiskup <praiskup@redhat.com> - 2.7-1
32e83c7
- rebase to latest upstream release, per release notes:
32e83c7
  http://initd.org/psycopg/articles/2017/03/01/psycopg-27-released/
32e83c7
- enable testsuite during build, and package it
32e83c7
959a261
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-4
959a261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
959a261
a5b53fe
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.6.2-3
a5b53fe
- Rebuild for Python 3.6
a5b53fe
a208df4
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
a208df4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a208df4
f0933b2
* Thu Jul 07 2016 Pavel Raiskup <praiskup@redhat.com> - 2.6.2-1
f0933b2
- rebase (rhbz#1353545), per release notes
f0933b2
  http://initd.org/psycopg/articles/2016/07/07/psycopg-262-released/
f0933b2
797d93c
* Sun May 29 2016 Pavel Raiskup <praiskup@redhat.com> - 2.6.1-6
797d93c
- provide python2-psycopg2 (rhbz#1306025)
29ae04a
- cleanup obsoleted packaging stuff
797d93c
b91d3b8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
b91d3b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b91d3b8
d999951
* Sun Nov 15 2015 Pavel Raiskup <praiskup@redhat.com> - 2.6.1-4
d999951
- again bump for new Python 3.5, not build previously?
d999951
- fix rpmlint issues
a041cef
- no pyo files with python 3.5
d999951
7586515
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
7586515
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
7586515
b86738d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
b86738d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b86738d
d999951
* Mon Jun 15 2015 Jozef Mlich <jmlich@redhat.com> 2.6.1-1
Jozef Mlich 2931434
- Update to 2.6.1
Jozef Mlich 2931434
670ad5d
* Mon Feb 9 2015 Devrim Gündüz <devrim@gunduz.org> 2.6-1
670ad5d
- Update to 2.6, per changes described at:
670ad5d
  http://www.psycopg.org/psycopg/articles/2015/02/09/psycopg-26-and-255-released/
670ad5d
c830da1
* Tue Jan 13 2015 Devrim Gündüz <devrim@gunduz.org> 2.5.4-1
c830da1
- Update to 2.5.4, per changes described at:
c830da1
  http://www.psycopg.org/psycopg/articles/2014/08/30/psycopg-254-released
c830da1
db1eaea
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
db1eaea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
db1eaea
e97c3d9
* Fri Jul 04 2014 Pavel Raiskup <praiskup@redhat.com> - 2.5.3-1
e97c3d9
- rebase to most recent upstream version, per release notes:
e97c3d9
  http://www.psycopg.org/psycopg/articles/2014/05/13/psycopg-253-released/
e97c3d9
ef2f2ec
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-3
ef2f2ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ef2f2ec
0ba65cd
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.5.2-2
0ba65cd
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
0ba65cd
a199bae
* Tue Jan 7 2014 Devrim Gündüz <devrim@gunduz.org> 2.5.2-1
a199bae
- Update to 2.5.2, per changes described at:
a199bae
  http://www.psycopg.org/psycopg/articles/2014/01/07/psycopg-252-released
a199bae
134073e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
134073e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
134073e
3b300a1
* Sun Jul 07 2013 Pavel Raiskup <praiskup@redhat.com> - 2.5.1-1
3b300a1
- rebase to 2.5.1
3b300a1
7d45e32
* Thu May 16 2013 Devrim Gündüz <devrim@gunduz.org> 2.5-1
7d45e32
- Update to 2.5, per changes described at:
7d45e32
  http://www.psycopg.org/psycopg/articles/2013/04/07/psycopg-25-released/
7d45e32
9625eee
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-7
9625eee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9625eee
0fc6b2d
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-6
0fc6b2d
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
0fc6b2d
041192a
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-5
041192a
- generalize python 3 fileglobbing to work with both Python 3.2 and 3.3
041192a
cf38e36
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-4
cf38e36
- replace "python3.2dmu" with "python3-debug"; with_python3 fixes
cf38e36
45898b7
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-3
45898b7
- add with_python3 conditional
45898b7
67bf93a
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-2
67bf93a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
67bf93a
Tom Lane b6f0fd5
* Sat Apr  7 2012 Tom Lane <tgl@redhat.com> 2.4.5-1
Tom Lane b6f0fd5
- Update to 2.4.5
Tom Lane b6f0fd5
Tom Lane fa335f9
* Thu Feb  2 2012 Tom Lane <tgl@redhat.com> 2.4.4-1
Tom Lane fa335f9
- Update to 2.4.4
Tom Lane fa335f9
- More specfile neatnik-ism
Tom Lane fa335f9
8c257d7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
8c257d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8c257d7
Tom Lane 72c2284
* Tue Nov 29 2011 Tom Lane <tgl@redhat.com> 2.4.2-2
Tom Lane 72c2284
- Fix mistaken %%dir marking on python3 files, per Dan Horak
Tom Lane 72c2284
Tom Lane 9897864
* Sat Jun 18 2011 Tom Lane <tgl@redhat.com> 2.4.2-1
Tom Lane 9897864
- Update to 2.4.2
Tom Lane 9897864
Related: #711095
Tom Lane 9897864
- Some neatnik specfile cleanups
Tom Lane 9897864
abbed67
* Thu Feb 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.4-0.beta2
abbed67
- 2.4.0-beta2
abbed67
- add python 2 debug, python3 (optimized) and python3-debug subpackages
abbed67
3ddd2bf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
3ddd2bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3ddd2bf
Tom Lane 74fce09
* Wed Dec 29 2010 Tom Lane <tgl@redhat.com> 2.3.2-1
Tom Lane 74fce09
- Update to 2.3.2
Tom Lane 74fce09
- Clean up a few rpmlint warnings
Tom Lane 74fce09
afd3c83
* Fri Dec 03 2010 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.2.2-3
afd3c83
- Fix incorrect (and invalid) License: tag.
afd3c83
8875a89
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.2-2
8875a89
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
8875a89
46d1631
* Tue Jul 20 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.2.2-1
481c0ca
- Update to 2.2.2
481c0ca
a08f87b
* Tue May 18 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.2.1-1
a08f87b
- Update to 2.2.1
a08f87b
- Improve description for 2.2 features.
a08f87b
- Changelog for 2.2.0 is: 
a08f87b
   http://initd.org/pub/software/psycopg/ChangeLog-2.2
a08f87b
5f0abee
* Wed Mar 17 2010 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.14-1
5f0abee
- Update to 2.0.14
5f0abee
- Update license (upstream switched to LGPL3)
5f0abee
2ad0900
* Sun Jan 24 2010 Tom Lane <tgl@redhat.com> 2.0.13-2
2ad0900
- Fix rpmlint complaints: remove unneeded explicit Requires:, use Conflicts:
2ad0900
  instead of bogus Obsoletes: to indicate lack of zope subpackage
2ad0900
5ca9a9e
* Sun Oct 18 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.13-1
5ca9a9e
- Update to 2.0.13
5ca9a9e
eb32e78
* Fri Aug 14 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.12-1
eb32e78
- Update to 2.0.12
eb32e78
bf3232d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.11-2
bf3232d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bf3232d
783bb1f
* Tue May 19 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.11-1
783bb1f
- Update to 2.0.11
783bb1f
9269647
* Tue Apr 21 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.10-1
9269647
- Update to 2.0.10
9269647
df276bd
* Fri Mar 20 2009 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.9-1
5effe45
- Update to 2.0.9
5effe45
c7e629e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-3
c7e629e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c7e629e
a298da8
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.8-2
a298da8
- Rebuild for Python 2.6
a298da8
5a9138c
* Sat Nov 29 2008 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.8-1
5a9138c
- Update to 2.0.8
5a9138c
5effe45
* Sat Nov 29 2008 Devrim GUNDUZ <devrim@gunduz.org> - 2.0.8-1
5effe45
- Update to 2.0.8
5effe45
293a506
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.7-3
293a506
- Rebuild for Python 2.6
293a506
6ad371e
* Thu May 29 2008 Todd Zullinger <tmz@pobox.com> - 2.0.7-2
6ad371e
- fix license tags
6ad371e
c357de4
* Wed Apr 30 2008 Devrim GUNDUZ <devrim@commandprompt.com> 2.0.7-1
c357de4
- Update to 2.0.7
c357de4
4bd375a
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.6-4.1
4bd375a
- Autorebuild for GCC 4.3
4bd375a
4b261e8
* Mon Jan 21 2008 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-3.1
4b261e8
- Rebuilt against PostgreSQL 8.3
4b261e8
bf4907f
* Thu Jan 3 2008 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-3
bf4907f
- Rebuild for rawhide changes
bf4907f
ff23cf2
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.0.6-2
ff23cf2
- Rebuild for selinux ppc32 issue.
ff23cf2
7f15d23
* Fri Jun 15 2007 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.6-1
7f15d23
- Update to 2.0.6
7f15d23
6c1f416
* Thu Apr 26 2007 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-8
6c1f416
- Disabled zope package temporarily.
6c1f416
4464094
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-7
3093ec4
- Rebuilt
3093ec4
7b34a82
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-5
7b34a82
- Bumped up spec version
7b34a82
898aa0e
* Wed Dec 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-4
898aa0e
- Rebuilt for PostgreSQL 8.2.0
898aa0e
02f0d00
* Mon Sep 11 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-3
02f0d00
- Rebuilt
02f0d00
02f0d00
* Wed Sep 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-2
02f0d00
- Remove ghost'ing, per Python Packaging Guidelines
02f0d00
668cfca
* Mon Sep 4 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.5.1-1
668cfca
- Update to 2.0.5.1
668cfca
840879a
* Sun Aug 6 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-3
840879a
- Fixed zope package dependencies and macro definition, per bugzilla review (#199784)
840879a
- Fixed zope package directory ownership, per bugzilla review (#199784)
840879a
- Fixed cp usage for zope subpackage, per bugzilla review (#199784)
840879a
840879a
* Mon Jul 31 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-2
840879a
- Fixed 64 bit builds
840879a
- Fixed license
840879a
- Added Zope subpackage
840879a
- Fixed typo in doc description
840879a
- Added macro for zope subpackage dir
840879a
840879a
* Mon Jul 31 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.3-1
840879a
- Update to 2.0.3
840879a
- Fixed spec file, per bugzilla review (#199784)
840879a
840879a
* Sat Jul 22 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-3
840879a
- Removed python dependency, per bugzilla review. (#199784)
840879a
- Changed doc package group, per bugzilla review. (#199784)
840879a
- Replaced dos2unix with sed, per guidelines and bugzilla review (#199784)
840879a
- Fix changelog dates
840879a
d8f7001
* Sat Jul 22 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-2
840879a
- Added dos2unix to buildrequires
840879a
- removed python related part from package name
840879a
d8f7001
* Fri Jul 21 2006 - Devrim GUNDUZ <devrim@commandprompt.com> 2.0.2-1
840879a
- Fix rpmlint errors, including dos2unix solution
840879a
- Re-engineered spec file
840879a
d8f7001
* Mon Jan 23 2006 - Devrim GUNDUZ <devrim@commandprompt.com>
840879a
- First 2.0.X build
840879a
d8f7001
* Mon Jan 23 2006 - Devrim GUNDUZ <devrim@commandprompt.com>
840879a
- Update to 1.2.21
840879a
840879a
* Tue Dec 06 2005 - Devrim GUNDUZ <devrim@commandprompt.com>
840879a
- Initial release for 1.1.20