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