From: "Nikolay A. Fetisov" <naf@altlinux.ru> To: devel@lists.altlinux.org Subject: Re: [devel] warning: package with no files has %post-script Date: Mon, 10 Mar 2008 21:33:56 +0300 Message-ID: <20080310213356.7e885db3@v3405.naf.net.ru> (raw) In-Reply-To: <20080310165432.GQ24653@solemn.turbinal> [-- Attachment #1: Type: text/plain, Size: 1131 bytes --] On Mon, 10 Mar 2008 19:54:32 +0300 Alexey Tourbin wrote: > ... > Я не совсем понял, о чём идёт речь. > Укажите конкретные пакеты. Приведённый пример был взят с потолка для иллюстрации возможных причин появления пустых пакетов с %post. > ... > Выполнение %post-like скриптов есть side effect на систему. > Грубо говоря, не должно быть чистых side-effect пакетов. > Side effect пакета на систему должен быть связан с файлами, > которые запакованы в этом пакете. Почему _только_ с файлами? Пакет - это не только файлы, это и зависимости. Конкретный пример, из приведённого выше списка: mailgraph-nginx-1.13-alt3.noarch.rpm В пакете стоит зависимость на nginx, в %post выполняется конфигурирование программы для работы с этим сервером, Т.е. варианты, когда в пустом пакете имеются скрипты %post и др. - вполне допустимы и законны. Другой вопрос, если в таких пакетах не возможен поиск зависимостей из-за особенностей текущей реализации поиска их - тогда необходима соответствующая policy и добавление в пакет хоть чего-нибудь - _в-общем-то лишнего_. -- С уважением, Николай Фетисов [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-03-10 18:33 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-03-10 8:08 Alexey Tourbin 2008-03-10 8:58 ` Денис Смирнов 2008-03-10 9:24 ` Alexey Tourbin 2008-03-10 12:37 ` Nikolay A. Fetisov 2008-03-10 16:54 ` Alexey Tourbin 2008-03-10 18:33 ` Nikolay A. Fetisov [this message] 2008-03-11 7:55 ` Alexey Tourbin 2008-03-11 10:32 ` Денис Смирнов 2008-03-11 11:57 ` Alexey Tourbin 2008-03-11 12:52 ` Денис Смирнов 2008-03-11 15:42 ` Alexey Tourbin 2008-03-11 18:36 ` Dmitry V. Levin 2008-03-11 19:20 ` Денис Смирнов 2008-03-11 19:41 ` Dmitry V. Levin 2008-03-15 11:56 ` [devel] [FR] rpm macro for useradd/groupadd Michael Shigorin 2008-03-15 11:53 ` [devel] package post-scripts to packaged scripts Michael Shigorin 2008-03-10 20:14 ` [devel] warning: package with no files has %post-script Michael Shigorin 2008-03-11 9:36 ` Vladimir V. Kamarzin 2008-03-10 17:02 ` Денис Смирнов 2008-03-10 17:07 ` Alexey Tourbin 2008-03-10 18:02 ` Денис Смирнов 2008-03-11 16:05 ` Alexey Tourbin 2008-03-13 16:31 ` Денис Смирнов 2008-03-14 6:10 ` [devel] postgresql (was: warning: package with no files has %post-script) Vladimir V. Kamarzin 2008-03-14 8:00 ` Денис Смирнов 2008-03-19 21:30 ` [devel] PostgreSQL 8.3.1 Pavlov Konstantin 2008-03-10 20:10 ` [devel] warning: package with no files has %post-script Michael Shigorin 2008-03-10 18:12 ` Alexey Rusakov
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=20080310213356.7e885db3@v3405.naf.net.ru \ --to=naf@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