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