From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] %__ Date: Fri, 30 Mar 2007 20:25:00 +0300 Message-ID: <20070330172459.GT2287@osdn.org.ua> (raw) In-Reply-To: <200703301845.47340.hlodin@komo.ua> On Fri, Mar 30, 2007 at 06:45:46PM +0300, Глодин С.В. wrote: > > Я не встречал в шапочных спеках использования %__install. > Они, как правило, используют или /bin/cp или /usr/bin/install > > > так не сказал. Почему его не перевели в %install или %_install? %install, btw, уже занят. ;) > > Честно говоря, не понял мысли. :( > Для того, чтобы перевести его со статуса внутреннего в статус > общего. Зачем? > Конкретно у меня этот макрос используется в пакете tinc для > установки файлов в %initdir, %_sysconfdir/sysconfig и в > %_controldir с соответствующими permission mode. > В спеке сразу видно, что эти файлы устанавливаются, а не просто > копируются, хотя можно было бы обойтись простым cp. А от простого install (без дурацких /usr/bin) -- не видно? > Кроме этого, сама команда install имеет довольно много полезных > опций, чтобы обойтись простым копированием (strip, set uid/gid, > permission mode, etc). Мгм... install -pD -m0711 %name %buildroot%_bindir/%name :) > А если считать все макросы с двойным подчёркиванием > внутренними, то их использование будет нежелательным, а > портабельность теряется. Да куда она теряется? Серёж, не тормози :) > И вместо того, чтобы в том же RHAS мне его пересобрать, > придётся сначала портировать сам спек. Попробуй для начала. Буря в стакане того не стоила. > Ведь не секрет, что хотя и пользуемся ALT Linux, но все же мы > работаем Здраасьте :) В фортунки! :) > Или я не прав? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2007-03-30 17:25 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-30 10:05 [sisyphus] А вот кому UML редактор Yuriy Kashirin 2007-03-30 10:15 ` Slava Semushin 2007-03-30 10:27 ` Alexey Morsov 2007-03-30 10:30 ` Slava Semushin 2007-03-30 10:41 ` Alexey Morsov 2007-03-30 11:14 ` Глодин С.В. 2007-03-30 11:18 ` Slava Semushin 2007-03-30 12:01 ` [sisyphus] Внутренние макросы в спеках Victor Forsyuk 2007-03-30 12:15 ` Глодин С.В. 2007-03-30 12:34 ` Victor Forsyuk 2007-03-30 12:54 ` Глодин С.В. 2007-04-02 2:09 ` Вадим Илларионов 2007-03-30 12:16 ` Alexey Morsov 2007-03-31 10:39 ` Anton Farygin 2007-03-30 12:41 ` [sisyphus] %__ Michael Shigorin 2007-03-30 12:57 ` Alexey Morsov 2007-03-30 13:10 ` Глодин С.В. 2007-03-30 15:25 ` Victor Forsyuk 2007-03-30 15:45 ` Глодин С.В. 2007-03-30 17:25 ` Michael Shigorin [this message] 2007-03-31 6:28 ` Глодин С.В. 2007-03-31 7:40 ` Michael Shigorin 2007-03-31 3:35 ` Хихин Руслан 2007-03-31 6:43 ` Глодин С.В. 2007-03-31 7:43 ` [sisyphus] портирование спеков Michael Shigorin 2007-04-01 5:35 ` Хихин Руслан 2007-03-30 10:36 ` [sisyphus] А вот кому UML редактор Yuriy Kashirin 2007-03-30 12:28 ` Michael Shigorin 2007-03-30 12:32 ` Yuriy Kashirin 2007-03-30 12:34 ` Alexey Morsov 2007-03-30 12:45 ` Michael Shigorin 2007-03-30 12:48 ` Stanislav Ievlev 2007-03-30 13:05 ` Igor Zubkov
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=20070330172459.GT2287@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git