From: alexei@taf.ru To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Сборка расширений PostgreSQL Date: Wed, 9 Feb 2022 23:06:42 +0800 (IRKT) Message-ID: <449835084.893170.1644419202224.JavaMail.zimbra@taf.ru> (raw) In-Reply-To: <8268863.ecBE9ftkWB@zerg.malta.altlinux.ru> ----- Исходное сообщение ----- > От: "Sergey V Turchin" <zerg@altlinux.org> > Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org> > Отправленные: Среда, 9 Февраль 2022 г 22:45:24 > Тема: Re: [devel] Сборка расширений PostgreSQL > On Wednesday, 9 February 2022 17:34:10 MSK alexei wrote: >> ----- Исходное сообщение ----- >> >> > От: "Sergey V Turchin" <zerg@altlinux.org> >> > Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org> >> > Отправленные: Среда, 9 Февраль 2022 г 22:15:55 >> > Тема: Re: [devel] Сборка расширений PostgreSQL >> > >> > On Wednesday, 9 February 2022 17:04:45 MSK alexei wrote: >> > >> > [...] >> > >> >> На протяжении длительного времени у нас h-файлы от libpq, нужные обычным >> >> клиентским программам, и серверные заголовки были свалены в одну кучу. По >> >> этой причине было невозможно собирать серверные расширения под все >> >> имеющиеся ветки сервера. >> > >> > Может, посмотреть, как у различных соседей сделано? >> >> У соседей аналог server-devel в наличии. И требующие его приложения тем, или >> иным способом производят выбор версии сервера. >> >> Как вариант можно для приложений применять такую конструкцию в спеках: >> >> %define full_ver %(pkg-config --modversion libpq) >> %define pg_ver %(c=%{full_ver}; echo ${c%%.*}) >> ... >> BuildRequires: postgresql%pg_ver-server-devel > BuildRequires: %postgresql_server_devel > ? Нет, именно BuildRequires: postgresql%pg_ver-server-devel. Тогда при сборке будет запрашиваться server-devel собранный из того же SRPM, что и postgresql-devel
next prev parent reply other threads:[~2022-02-09 15:06 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-04 17:50 alexei 2022-02-04 17:56 ` Anton V. Boyarshinov 2022-02-04 18:41 ` Dmitry V. Levin 2022-02-09 12:51 ` alexei 2022-02-09 13:14 ` Dmitry V. Levin 2022-02-09 13:25 ` alexei 2022-02-09 13:29 ` alexei 2022-02-09 13:34 ` Dmitry V. Levin 2022-02-09 13:43 ` Sergey V Turchin 2022-02-09 14:04 ` alexei 2022-02-09 14:15 ` Sergey V Turchin 2022-02-09 14:34 ` alexei 2022-02-09 14:45 ` Sergey V Turchin 2022-02-09 15:06 ` alexei [this message] 2022-02-10 6:51 ` Sergey V Turchin 2022-02-09 14:48 ` Sergey V Turchin 2022-02-09 15:03 ` alexei 2022-02-10 6:53 ` Sergey V Turchin 2022-02-10 9:41 ` alexei 2022-02-10 9:58 ` Sergey V Turchin 2022-02-10 10:15 ` alexei 2022-02-10 10:52 ` Sergey V Turchin 2022-02-10 11:10 ` alexei 2022-02-10 11:22 ` Sergey V Turchin 2022-02-10 11:44 ` alexei 2022-02-10 12:16 ` Sergey V Turchin 2022-02-09 16:03 ` Dmitry V. Levin 2022-02-09 13:30 ` Sergey V Turchin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=449835084.893170.1644419202224.JavaMail.zimbra@taf.ru \ --to=alexei@taf.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git