From: Sergey V Turchin <zerg@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Re: Неупакованные каталоги Date: Mon, 07 Aug 2023 15:00:08 +0300 Message-ID: <2064683.rnOA54VMZz@zerg.malta.altlinux.ru> (raw) In-Reply-To: <20230807114530.GC15976@altlinux.org> On Monday, 7 August 2023 14:45:31 MSK Alexey V wrote: > Good ${greeting_time}! > > On 2023-08-07 14:09:54 +0300, Sergey V Turchin wrote: > >> Допустим, если кладём файл в /usr/share/polkit-1, у пакета > >> должна быть зависимость на polkit. > > > > Только если без него пакет работать не будет. А ещё ему > > понадобится зависимость на GUI от polkit, а они в каждом > > DE свои. > > А если будет, то при сборке того же polkit (или udev, или > других руткитов) следует явно описать > > %package hier Я обычно делаю подпакет common. > (оно короче и правильнее, чем filesystem), а потом > > %files hier > %dir ... > > чтобы по зависимостям на каталоги вытягивался только %name-hier, > а не вся помойка, которую потащит за собой просто %name > > Аналогично нужно поступать и с библиотеками: в %name-libs или > lib%name в норме не должно быть ничего кроме %_libdir/*.so.* -- Regards, Sergey.
next prev parent reply other threads:[~2023-08-07 12:00 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-05 18:28 [devel] " Vitaly Lipatov 2023-08-07 9:12 ` Vitaly Chikunov 2023-08-07 9:21 ` Dmitry V. Levin 2023-08-07 12:38 ` Anton Farygin 2023-08-07 11:09 ` [devel] " Sergey V Turchin 2023-08-07 11:45 ` [devel] " Alexey V. Vissarionov 2023-08-07 12:00 ` Sergey V Turchin [this message] 2023-08-07 12:19 ` Alexey V. Vissarionov 2023-08-07 13:18 ` [devel] " Sergey V Turchin 2023-08-07 14:26 ` [devel] " Alexey Shabalin 2023-08-08 4:26 ` [devel] Неупакованные каталоги (и bash-completion) Vitaly Chikunov
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=2064683.rnOA54VMZz@zerg.malta.altlinux.ru \ --to=zerg@altlinux.org \ --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