From: Alexey Tourbin <at@altlinux.ru> To: devel@lists.altlinux.org Subject: Re: [devel] alternatives.prov Date: Wed, 28 Mar 2007 22:39:15 +0400 Message-ID: <20070328183915.GD5336@solemn.turbinal> (raw) In-Reply-To: <20070328173044.GC5336@solemn.turbinal> [-- Attachment #1: Type: text/plain, Size: 752 bytes --] On Wed, Mar 28, 2007 at 09:30:44PM +0400, Alexey Tourbin wrote: > Чтобы решить эту проблему, я решил добавить специальный provides метод > в пакет alternatives. Он добавляет в provides все альтернативы которые > начинаются с /usr/bin/ и /usr/sbin/. > > Ниже приведены некоторые подробности. Есть ли недостатки у этого > подхода? Может образоваться некоторое (небольшое) количество "мусорных" > provides, типа /usr/bin/autoconf-default или /usr/bin/i586-alt-linux-gcc. > С другой стороны, в принципе предусмотрено отключение любого prov метода. > +++ b/alternatives/alternatives.prov > @@ -0,0 +1,11 @@ > +#!/bin/sh -efu > + > +. /usr/lib/rpm/functions Недостаток тут такой, что у alternatives появится зависимость на rpm-build. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-03-28 18:39 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-28 17:30 Alexey Tourbin 2007-03-28 18:39 ` Alexey Tourbin [this message] 2007-03-28 23:22 ` Dmitry V. Levin 2007-04-15 3:01 ` Alexey Tourbin 2007-03-29 12:44 ` Igor Vlasenko 2007-04-15 6:29 ` [devel] не могу собрать профиль сервера Денис Смирнов 2007-04-15 8:32 ` Sergey Bolshakov 2007-04-15 9:21 ` Денис Смирнов 2007-04-15 9:35 ` Dmitry V. Levin 2007-04-15 11:09 ` Sergey Bolshakov 2007-04-15 12:17 ` Konstantin A. Lepikhov 2007-04-15 12:29 ` Dmitry V. Levin 2007-04-15 19:36 ` Konstantin A. Lepikhov 2007-04-15 20:19 ` 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=20070328183915.GD5336@solemn.turbinal \ --to=at@altlinux.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