From: "Alexey V. Vissarionov" <gremlin@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Неупакованные каталоги Date: Mon, 7 Aug 2023 14:45:31 +0300 Message-ID: <20230807114530.GC15976@altlinux.org> (raw) In-Reply-To: <3242365.DF3BZ7IflG@zerg.malta.altlinux.ru> 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 (оно короче и правильнее, чем filesystem), а потом %files hier %dir ... чтобы по зависимостям на каталоги вытягивался только %name-hier, а не вся помойка, которую потащит за собой просто %name Аналогично нужно поступать и с библиотеками: в %name-libs или lib%name в норме не должно быть ничего кроме %_libdir/*.so.* -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net
next prev parent reply other threads:[~2023-08-07 11:45 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-05 18:28 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 ` Alexey V. Vissarionov [this message] 2023-08-07 12:00 ` Sergey V Turchin 2023-08-07 12:19 ` [devel] " 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=20230807114530.GC15976@altlinux.org \ --to=gremlin@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