pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: ejrh00@gmail.com
Subject: BUG #16196: RPM package for PG 10.11 assumes that all Centos >= 7 use python2-libs, but 7.4 doesn't
Date: Wed, 08 Jan 2020 00:03:51 +0000
Message-ID: <16196-9a7f3b00fc684191@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16196
Logged by:          Edmund Horner
Email address:      ejrh00@gmail.com
PostgreSQL version: 10.11
Operating system:   Centos 7.4
Description:        

Hi, we've had some trouble installing postgresql10-plpython on Centos 7.4,
which used to work, until 10.11 came out.  The difference is that 10.11
depends on python2-libs rather than python-libs.  I'm not hugely familiar
with the RHEL versions and packages but it kind of looks like python2-libs
doesn't appear until Centos 8.

https://pkgs.org/download/python2-libs

There's a comment in the spec saying "Support Python3 on RHEL 7.7+ natively"
but the conditional that determines whether to use python-libs or
python3-libs just checks for "0%{?rhel} <= 6".

Is it possible to check the minor part of the release version, too, and is
that appropriate?

Thanks for your work maintaining the RPMs.  They've worked perfectly (except
for this little thing).

Cheers,
Edmund Horner



Message-ID: <16196-9a7f3b00fc684191@postgresql.org>
Permalink:  ../16196-9a7f3b00fc684191@postgresql.org/
Also on:    postgresql.org/message-id/16196-9a7f3b00fc684191@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, ejrh00@gmail.com
  Subject: Re: BUG #16196: RPM package for PG 10.11 assumes that all Centos >= 7 use python2-libs, but 7.4 doesn't
  In-Reply-To: <16196-9a7f3b00fc684191@postgresql.org>
  References: <16196-9a7f3b00fc684191@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox