New upstream version 2.8.4
bcond check renamed to bcond tests
This commit is contained in:
parent
5034d9badc
commit
52c77cba43
@ -22,7 +22,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_without check
|
%bcond_without tests
|
||||||
|
|
||||||
%global srcname psycopg2
|
%global srcname psycopg2
|
||||||
%global sum A PostgreSQL database adapter for Python
|
%global sum A PostgreSQL database adapter for Python
|
||||||
@ -49,11 +49,11 @@ features offered by PostgreSQL.
|
|||||||
|
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 2.8.3
|
Version: 2.8.4
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
|
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
|
||||||
License: LGPLv3+ with exceptions
|
License: LGPLv3+ with exceptions
|
||||||
Url: http://www.psycopg.org/psycopg/
|
Url: http://initd.org/psycopg/
|
||||||
|
|
||||||
Source0: http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-%{version}.tar.gz
|
Source0: http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-%{version}.tar.gz
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ BuildRequires: gcc
|
|||||||
BuildRequires: pkgconfig(libpq)
|
BuildRequires: pkgconfig(libpq)
|
||||||
|
|
||||||
# For testsuite
|
# For testsuite
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
BuildRequires: postgresql-test-rpm-macros
|
BuildRequires: postgresql-test-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ for i in `find doc -iname "*.css"`; do sed -i 's/\r//' $i; done
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
export PGTESTS_LOCALE=C.UTF-8
|
export PGTESTS_LOCALE=C.UTF-8
|
||||||
%postgresql_tests_run
|
%postgresql_tests_run
|
||||||
|
|
||||||
@ -298,6 +298,10 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 06 2019 Lumír Balhar <lbalhar@redhat.com> - 2.8.4-1
|
||||||
|
- New upstream version 2.8.4
|
||||||
|
- bcond check renamed to bcond tests
|
||||||
|
|
||||||
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8.3-2
|
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8.3-2
|
||||||
- Package python2-psycopg2 removed on Fedora 32+ (rhbz#1761216)
|
- Package python2-psycopg2 removed on Fedora 32+ (rhbz#1761216)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (psycopg2-2.8.3.tar.gz) = 74268f6d05922c968d46ad62a49b4af54dc30463daa67cc0f32d5930c366596f9a1b2f368f2b38c8a9d45bfdcffb13be469a5cbf3911c62d163bea5c7a3ad928
|
SHA512 (psycopg2-2.8.4.tar.gz) = d4590c6e4e310d280b6b341cb23427b56b04c1ef08e877f0d99a79c6b00b959307bb18defaf1d9cea58482fb974a78760c5f26a3ece8c1f34ae1840570a71a28
|
||||||
|
Loading…
Reference in New Issue
Block a user