Re: - Mailing list pgsql-pkg-yum

From Devrim Gündüz
Subject Re:
Date
Msg-id 10825c6f2aff7e0c4db7fef45f4b25132b2735c1.camel@gunduz.org
Whole thread Raw
In response to  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re:
List 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



pgsql-pkg-yum by date:

Previous
From: Ulrych Tomáš
Date:
Subject: Missing package for Red Hat on ppc64le
Next
From: Guillaume Lelarge
Date:
Subject: Re: