From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] non-strict deps Date: Sun, 27 Jan 2013 00:08:14 +0400 Message-ID: <20130126200814.GC7285@altlinux.org> (raw) In-Reply-To: <20130126190710.GD6704@atlas.home> [-- Attachment #1: Type: text/plain, Size: 1935 bytes --] On Sat, Jan 26, 2013 at 11:07:10PM +0400, Sergey Vlasov wrote: [...] > 2. Зависимости, явно указанные в Requires, в которых указано реальное > имя подпакета, заменяются на строгие зависимости на этот подпакет > также без возможности отключения. > > (Теоретически возможна ситуация, когда имя реального подпакета > присутствует также в другом подпакете в Provides - не уверен, что > такое стоит вообще допускать; в этом случае, согласно приведённому > алгоритму, зависимость не будет заменяться на строгую.) Думаю что зависимость (как явную, так и неявную), в которой указано имя подпакета, надо заменять на строгую. Наличие в одном подпакете Provides имени другого подпакета ничего, кроме путаницы, не принесет. Такие странные Provides, кстати, легко диагностировать во время сборки. > Кстати, при анализе этих правил возник ещё один вопрос - что делать с > зависимостями, более сложными, чем "Requires: B" без указания версии, в > которых, тем не менее, указано реальное имя подпакета? Например, если > указано "Requires: B = %version" (без "-%release"), нужно ли менять эту > зависимость на строгую? А ведь возможен ещё вариант вида "Requires: B > >= x.y", для которого автоматическая замена на строгую зависимость > >выглядит ещё более сомнительно (ведь зачем-то эта нестрогая зависимость > >была записана именно в таком виде). Возможно, зависимости с условием, > >отличающимся от "=", также стоит оставлять в неизменном виде, что также > >даст возможность создания ограниченно нестрогих зависимостей - > >например, в пакете версии x.y.z может быть указано "Requires: B >= x.y" > >и "Conflicts: B >= x.(y+1)". Зависимости, в которых есть RPMSENSE_LESS или RPMSENSE_GREATER, лучше не трогать. Зависимости вида "B = %version" мне попадались, и это все были случаи забытого -%release. Думаю, что их надо усиливать так же, как и зависимости без версии. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-01-26 20:08 UTC|newest] Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-01-03 16:40 [devel] samba Led 2013-01-03 22:36 ` Alexey Shabalin 2013-01-03 22:45 ` Led 2013-01-04 9:55 ` Alexey Shabalin 2013-01-23 20:14 ` [devel] non-strict dependency warnings Dmitry V. Levin 2013-01-23 21:05 ` Igor Vlasenko 2013-01-24 6:44 ` Dmitry V. Levin 2013-01-24 10:47 ` Aleksey Avdeev 2013-01-24 11:25 ` Dmitry V. Levin 2013-01-24 17:58 ` [devel] non-strict dependency in apache2 (was: non-strict dependency warnings) Aleksey Avdeev 2013-01-24 19:15 ` Dmitry V. Levin 2013-01-24 23:19 ` [devel] non-strict dependency in apache2 Aleksey Avdeev 2013-01-24 23:37 ` Dmitry V. Levin 2013-01-25 0:48 ` Aleksey Avdeev 2013-01-25 8:53 ` Dmitry V. Levin 2013-01-25 10:11 ` Aleksey Avdeev 2013-01-26 9:22 ` [devel] %_allowed_nonstrict_interdeps (was: non-strict dependency warnings) Aleksey Avdeev 2013-01-24 6:46 ` [devel] non-strict dependency warnings Dmitry V. Levin 2013-01-24 11:21 ` Dmitry V. Levin 2013-01-24 16:00 ` Dmitry V. Levin 2013-01-24 16:22 ` Led 2013-01-24 22:16 ` [devel] %EVR macro Dmitry V. Levin 2013-01-24 22:37 ` Led 2013-01-24 23:21 ` Aleksey Avdeev 2013-01-24 12:07 ` [devel] non-strict dependency warnings Igor Vlasenko 2013-01-24 6:53 ` [devel] dependency needs Epoch warnings Dmitry V. Levin 2013-01-24 7:09 ` Yuri N. Sedunov 2013-01-24 7:16 ` Dmitry V. Levin 2013-01-24 7:24 ` Yuri N. Sedunov 2013-01-24 10:25 ` Aleksey Avdeev 2013-01-24 11:31 ` Dmitry V. Levin 2013-01-24 12:21 ` Aleksey Avdeev 2013-01-24 16:52 ` Dmitry V. Levin 2013-01-24 21:44 ` [devel] Зависимости между apache2-httpd-* и apache2-{mod_*,common} (was: dependency needs Epoch warnings) Aleksey Avdeev 2013-01-24 21:47 ` Dmitry V. Levin 2013-01-24 22:26 ` [devel] Зависимости между apache2-httpd-* и apache2-{mod_*,common} Aleksey Avdeev 2013-01-24 21:53 ` [devel] Зависимости между apache2-httpd-* и apache2-{mod_*,common} (was: dependency needs Epoch warnings) Dmitry V. Levin 2013-01-24 22:31 ` [devel] Зависимости между apache2-httpd-* и apache2-{mod_*,common} Aleksey Avdeev 2013-01-24 12:15 ` [devel] dependency needs Epoch warnings Igor Vlasenko 2013-01-23 22:29 ` [devel] non-strict dependency warnings Led 2013-01-23 22:37 ` Dmitry V. Levin 2013-01-23 22:43 ` Led 2013-01-24 11:57 ` [devel] Рано поднимать до error (was: non-strict dependency warnings) Sergey V Turchin 2013-01-24 12:23 ` [devel] Рано поднимать до error Aleksey Avdeev 2013-01-24 12:31 ` [devel] non-strict dependency warnings Dmitry V. Levin 2013-01-24 12:55 ` Sergey V Turchin 2013-01-24 14:49 ` Dmitry V. Levin 2013-01-24 14:59 ` Sergey V Turchin 2013-01-26 8:49 ` [devel] Рано поднимать до error REAL 2013-01-26 10:39 ` Dmitry V. Levin 2013-01-26 17:36 ` Aleksey Avdeev 2013-01-26 19:07 ` Sergey Vlasov 2013-01-26 20:08 ` Dmitry V. Levin [this message] 2013-01-26 20:39 ` [devel] non-strict deps Dmitry V. Levin 2013-01-26 23:31 ` Igor Zubkov 2013-01-26 23:56 ` Dmitry V. Levin 2013-01-27 0:25 ` Led 2013-01-27 0:37 ` [devel] gear-rules Dmitry V. Levin 2013-01-27 0:56 ` Led 2013-01-27 1:01 ` Dmitry V. Levin 2013-01-27 1:09 ` Led 2013-01-30 0:50 ` [devel] non-strict deps Igor Zubkov 2013-01-30 0:55 ` Dmitry V. Levin 2013-01-26 20:38 ` [devel] Рано поднимать до error Aleksey Avdeev 2013-01-27 7:00 ` Sergey Vlasov 2013-01-04 1:58 ` [devel] samba REAL 2013-01-04 11:06 ` [devel] llvm Dmitry V. Levin 2013-01-04 15:32 ` REAL 2013-01-04 15:24 ` Valery V. Inozemtsev 2013-01-05 5:13 ` REAL 2013-01-05 9:43 ` Dmitry V. Levin
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=20130126200814.GC7285@altlinux.org \ --to=ldv@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