Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtorF-00E4OL-73 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 20 Oct 2023 12:44:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qtorB-001NfC-Vx for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 20 Oct 2023 12:44:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtorB-001NL9-K8 for pgsql-pkg-yum@lists.postgresql.org; Fri, 20 Oct 2023 12:44:02 +0000 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qtor4-001QhN-Ew for pgsql-pkg-yum@postgresql.org; Fri, 20 Oct 2023 12:44:00 +0000 Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d9a389db3c7so678157276.1 for ; Fri, 20 Oct 2023 05:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lelarge-info.20230601.gappssmtp.com; s=20230601; t=1697805833; x=1698410633; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cjmac0S4wjGF7ett/qPUKOwqJsUfKHJq1BCqcEcA1EQ=; b=GnfB6vBaQ7BaMMUL/tjlfvAKRbIH9hD8cnWm3esUb7dnPwmJQAsurjws6NzE/D7DiE jbRPTITmnd9sWHjrmJ7tm62wtD+Htu3X4UGfqZrTSa/dux7OWssaLi3PrtZZRVMe+G2p pGcCClU7nKVZxvhdSHFaZg3VSnYbxXKG/CZ90IOFeIdQfORfBGXBWnnMSca2VYVDBEgu 6Zjvj5JINkHhy/vt3tSKKS0GzOhsXo+HDkH3ZO+GvEXjJylpIKQvphaGx38C0m4OcAsM RsNEdvn0NeWbxYvf1aqpQ2yoicSIUQ+jyLUPsM4jBhhYb6eDJ1PFUdHOTfBhPZZ+upSy OHig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697805833; x=1698410633; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cjmac0S4wjGF7ett/qPUKOwqJsUfKHJq1BCqcEcA1EQ=; b=lrUR8EVS5tabeM4DMlR92VYeMV+ozTBaYuGh/lqLuAi9stF+VAx4wN8chC6EpAbVBT MMdM1IFuwy8fUBBGTIyyC7IkVNFqG4Fy3R7EFx7RWoNDqkwFp4Ohdc26fdn9VKCF1J8k wbHUutEKAnQxYXMw2oNqtpUGGMpU9iKeq71Lybebv2YXFmcQKi5aWs9QVMUWGP5F76vj l6oFeXYHgfkNmvL8yUmmmKHQb++vhP7N/A0yaNCj11zwayI138EeMH+cF6qSp9Moj1jj BQxKNrfuCADz4id2vFPL9IMam6Rj0h6W+OiUkpX2EA8x3UStrxAvFoKKWxp6aEbUjT6g uH2A== X-Gm-Message-State: AOJu0YzfxVoUzp7zvaSGXPmXvTyIhe4dxlZ1JOeoKRdEPd0Erw8l04qj mi38S9mnV+N5Qwn7r9jED9eUscG9RiLltEIUGGP9QNsHtL4aXoatq8E= X-Google-Smtp-Source: AGHT+IEcRni0C/kdwWq2aaDiaa4Ic/QQ7ogqvv5UeD0xGzrap2E4ciuaJYgrKe6Gg6KV6BgzobKY6IyXSnDRPDuwEk0= X-Received: by 2002:a25:aa54:0:b0:d85:e0d4:1c31 with SMTP id s78-20020a25aa54000000b00d85e0d41c31mr1283368ybi.7.1697805833451; Fri, 20 Oct 2023 05:43:53 -0700 (PDT) MIME-Version: 1.0 References: <10825c6f2aff7e0c4db7fef45f4b25132b2735c1.camel@gunduz.org> In-Reply-To: <10825c6f2aff7e0c4db7fef45f4b25132b2735c1.camel@gunduz.org> From: Guillaume Lelarge Date: Fri, 20 Oct 2023 14:43:42 +0200 Message-ID: Subject: Re: To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgsql-pkg-yum Content-Type: multipart/alternative; boundary="00000000000099d5ba0608253928" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000099d5ba0608253928 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Devrim, First, sorry for the email with no subject. I guess I was in a hurry :) Le ven. 20 oct. 2023 =C3=A0 08:59, Devrim G=C3=BCnd=C3=BCz a =C3=A9crit : > 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-stat= ic-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. > > OK, I guess it makes sense. > 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 > > Yeah, I saw that. I stll don't get why we ship libpgcommon static library, but not libpgutils. --=20 Guillaume. --00000000000099d5ba0608253928 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Devrim,

First, sorry for the email with no subject. I guess I wa= s in a hurry :)

Le=C2=A0ven. 20 oct. 2023 =C3=A0=C2=A008:59, Devrim G=C3= =BCnd=C3=BCz <dev= rim@gunduz.org> a =C3=A9crit=C2=A0:
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 de= finitely
> useful for front-end clients.

This is per Fedora packaging guidelines:

https://docs.fe= doraproject.org/en-US/packaging-guidelines/#packaging-static-libraries<= br>
...though it is a "should not" item. OTOH, the same guideline if = we says
we need to split those files under=C2=A0 -static subpackage, which we don&#= 39;t
ship right now.


OK, I guess it makes sense.
= =C2=A0
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


Yeah, I saw that. I stll don't get= why we ship libpgcommon static library, but not libpgutils.


--
Guillaume.
--00000000000099d5ba0608253928--