From: "Alexey I. Froloff" <raorn@binec.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] %build/%install Date: Sun, 1 Dec 2002 18:27:19 +0300 Message-ID: <20021201152719.GA11967@hell.devel.altlinux.ru> (raw) In-Reply-To: <20021201144635.GB26467@basalt.office.altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 784 bytes --] On Sun, Dec 01, 2002 at 05:46:35PM +0300, Dmitry V. Levin wrote: > > Появилась необходимость производить некую последовательность > > действий в самом начале %build/%install, руками в каждый спек > > это прописывать не очень хочется, в %_libdir/rpm/macros видел > > всяческие %__spec_*_pre, как ими пользоваться? > Макрос %__spec_XXX_pre выполняется в самом начале секции %XXX. > Аналогично %__spec_XXX_post и другие. > См. напр. переопределение %__spec_install_pre в файле > /usr/lib/rpm/i586-linux/macros. Вот это меня и смущает... Насколько безопасно (в смысле, как бы чего где потом не поломалось) переопределять этот макрос на основе взятого из i586-linux/macros? Может стоило бы добавить %__spec_XXX_custom_{pre,post}, по умолчанию естественно пустые? -- Regards, Sir Raorn. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-12-01 15:27 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-01 14:02 Alexey I. Froloff 2002-12-01 14:46 ` Dmitry V. Levin 2002-12-01 15:27 ` Alexey I. Froloff [this message] 2002-12-01 15:41 ` Dmitry V. Levin 2002-12-01 21:21 ` Sir Raorn 2002-12-01 21:47 ` Dmitry V. Levin 2002-12-01 23:18 ` Alexey I. Froloff 2002-12-01 21:21 ` Sir Raorn 2002-12-02 9:25 ` Alexander Bokovoy
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=20021201152719.GA11967@hell.devel.altlinux.ru \ --to=raorn@binec.ru \ --cc=devel@altlinux.ru \ /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