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