#5 New upstream version 2.8.4
Merged 4 years ago by praiskup. Opened 4 years ago by lbalhar.
rpms/ lbalhar/python-psycopg2 master  into  master

file modified
+10 -6
@@ -22,7 +22,7 @@ 

  	%endif

  %endif

  

- %bcond_without check

+ %bcond_without tests

why?

  

  %global srcname	psycopg2

  %global sum	A PostgreSQL database adapter for Python
@@ -49,11 +49,11 @@ 

  

  Summary:	%{sum}

  Name:		python-%{srcname}

- Version:	2.8.3

- Release:	2%{?dist}

+ Version:	2.8.4

+ Release:	1%{?dist}

  # The exceptions allow linking to OpenSSL and PostgreSQL's libpq

  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

  
@@ -66,7 +66,7 @@ 

  BuildRequires:	pkgconfig(libpq)

  

  # For testsuite

- %if %{with check}

+ %if %{with tests}

  BuildRequires:	postgresql-test-rpm-macros

  %endif

  
@@ -185,7 +185,7 @@ 

  

  

  %check

- %if %{with check}

+ %if %{with tests}

  export PGTESTS_LOCALE=C.UTF-8

  %postgresql_tests_run

  
@@ -298,6 +298,10 @@ 

  

  

  %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

  - Package python2-psycopg2 removed on Fedora 32+ (rhbz#1761216)

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (psycopg2-2.8.3.tar.gz) = 74268f6d05922c968d46ad62a49b4af54dc30463daa67cc0f32d5930c366596f9a1b2f368f2b38c8a9d45bfdcffb13be469a5cbf3911c62d163bea5c7a3ad928

+ SHA512 (psycopg2-2.8.4.tar.gz) = d4590c6e4e310d280b6b341cb23427b56b04c1ef08e877f0d99a79c6b00b959307bb18defaf1d9cea58482fb974a78760c5f26a3ece8c1f34ae1840570a71a28

  • bcond check renamed to bcond tests and working URL

We would like to unify the basic bconds like tests, docs or bootstrap which helps us to create new bootstrap sequences easily in new Python modules and with every new Python version.

Can we have this in guidelines first, somewhere? I remember people ranting
when I tried to use test instead of check when we have %check. The
bcond is part of spec file "interface", so I'd rather avoid changing this for
now.

FWIW, in PostgreSQL packaging there's usually --define runselftest\ 0 knob anyways.

Per IRC chat, there's a plan to "unify" this "api" across packages in python module(s). I still think that it is not correct ... but I personally don't mind too much, merging.

Pull-Request has been merged by praiskup

4 years ago

Can we have this in guidelines first, somewhere?

I have that on my TODO list, but I'm afraid of bikeshedding and I also unfortunately have a very long TODO list.

Metadata