Re:

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re:
Date: 2023-10-20 06:59:39
Message-ID: 10825c6f2aff7e0c4db7fef45f4b25132b2735c1.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi Guillaume,

On Thu, 2023-10-19 at 19:51 +0200, Guillaume Lelarge wrote:
> From rpm/redhat/15/postgresql-15/EL-9/postgresql-15.spec (and many
> other
> postgresql .spec files):
>
> # These file(s) should not be packaged:
>
> %{__rm} %{buildroot}%{pgbaseinstdir}/lib/libpgfeutils.a
>
> I'm wondering why this library shouldn't be packaged? It is definitely
> useful for front-end clients.

This is per Fedora packaging guidelines:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

...though it is a "should not" item. OTOH, the same guideline if we says
we need to split those files under -static subpackage, which we don't
ship right now.

Just took a look at Fedora spec file, and they already ship these files
in -static subpackage (we ship them with -devel subpackage as of now)

libpgcommon.a
libpgcommon_shlib.a
libpgport.a
libpgport_shlib.a

but not libpgfeutils.a

Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

  • at 2023-10-19 17:51:18 from Guillaume Lelarge

Responses

  • Re: at 2023-10-20 12:43:42 from Guillaume Lelarge

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Guillaume Lelarge 2023-10-20 12:43:42 Re:
Previous Message Ulrych Tomáš 2023-10-20 06:54:09 Missing package for Red Hat on ppc64le