From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Requires: lib%name = %epoch:%version-%release Date: Wed, 23 May 2012 14:43:55 +0400 Message-ID: <20120523104355.GA1397@altlinux.org> (raw) In-Reply-To: <20120523091859.GN32616@osdn.org.ua> [-- Attachment #1: Type: text/plain, Size: 2119 bytes --] On Wed, May 23, 2012 at 12:18:59PM +0300, Michael Shigorin wrote: > On Wed, May 23, 2012 at 01:27:02AM +0000, QA Team Robot wrote: > > check - A unit test framework for C > > * Tue May 22 2012 Michael Shigorin <mike@altlinux> 20120522:0.9.8-alt3 > > - clarified intersubpackage Requires: with Epoch: > > to be strict (thanks led@ for spotting the incompleteness > > of the preexisting dependencies, only half of them were epochal) > > http://git.altlinux.org/srpms/c/check.git?p=check.git;a=commitdiff;h=75bde91e3f2b9c157bfc3e429def96c99f8440e4 > > > tidy - HTML Tidy helps keep webpages clean > > * Tue May 22 2012 Michael Shigorin <mike@altlinux> 20120522:0.99-alt11.20051026 > > - clarified interpackage dependencies regarding Epoch: > > to be more strict (thanks led@ for spotting this) > > Эти два изменения сделаны в порядке улучшения спеков > про всяк случай, хотя сейчас разницы нет в силу > http://lists.altlinux.org/pipermail/devel/2008-December/164962.html > http://lists.altlinux.org/pipermail/devel/2008-December/164968.html Разница есть в силу возможностей оптимизации зависимостей самим rpmbuild. > Суть такова: > > %package -n lib%name-devel > Summary: A unit test framework for C (development headers) > Group: Development/C > -Requires: lib%name = %version-%release > +Requires: lib%name = %epoch:%version-%release > > Поскольку это подпакеты в пределах одного спека, то сравнение > просто становится более строгим в силу неиспользования > особенностей реализации в rpm-4.0. Почему бы мейнтейнерам давным-давно не обратить внимание на предупреждения в логах сборки о неполноте межпакетных зависимостей? В случае с нехваткой %epoch можно было бы просто выполнить $ grep '^warning: [^ ]* dependency on [^ ]* needs Epoch' Может быть, поднять warning до error с возможностью обратного понижения макросом? > Во избежание нагромождения %epoch:%version-%release взят макрос > %define EVR %{?epoch:%epoch:}%version-%release (возможно, такой > стоит определить в rpm или rpm-macros-*, если будет найден > полезным). Как вариант. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-05-23 10:43 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-23 9:18 ` Michael Shigorin 2012-05-23 10:43 ` Dmitry V. Levin [this message] 2012-05-23 10:51 ` REAL 2012-05-23 14:22 ` Dmitry V. Levin 2012-05-23 14:37 ` Sergey V Turchin 2012-05-25 14:44 ` REAL 2012-05-25 15:04 ` Michael Shigorin 2012-05-25 18:46 ` Igor Vlasenko 2012-05-25 22:29 ` Aleksey Novodvorsky 2012-05-26 5:42 ` Денис Смирнов 2012-05-26 11:52 ` Vitaly Lipatov 2012-05-28 6:18 ` Dmitriy Kruglikov 2012-05-28 8:31 ` Vitaly Lipatov 2012-05-28 8:47 ` Dmitriy Kruglikov 2012-05-28 8:50 ` Денис Смирнов 2012-05-28 8:55 ` Dmitriy Kruglikov 2012-05-28 10:23 ` Денис Смирнов 2012-05-28 15:24 ` Igor Vlasenko 2012-05-26 16:48 ` led 2012-05-23 11:32 ` Igor Vlasenko 2012-05-23 11:31 ` REAL 2012-05-23 11:48 ` Igor Vlasenko 2012-05-23 12:28 ` REAL 2012-05-23 11:43 ` Michael Shigorin
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=20120523104355.GA1397@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