From: "Dmitry V. Levin" <ldv@alt-linux.org> To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru> Subject: Re: [mdk-re] Re: RPM_BUILD_ROOT forward Date: Tue Aug 28 13:22:00 2001 Message-ID: <20010828132542.B15375@ldv.office.alt-linux.org> (raw) In-Reply-To: <3B8B9670.19931.810CD5@localhost>; from aborodin@other.ispras.ru on Tue, Aug 28, 2001 at 01:02:40PM +0400 [-- Attachment #1: Type: text/plain, Size: 1741 bytes --] On Tue, Aug 28, 2001 at 01:02:40PM +0400, Andrew Borodin wrote: > > Хочу собрать обьемный пакет не в /usr/src/RPM а у себя в > > хоумнике, поскольку в /usr места явно не хватит. > > > > Как перенаправить rpm на ~/RPM а то он все равно норовит в > > /usr... идти?? > > > > Пытался найти место определения переменных RPM_* но не нашел :-(( > > > > Эти макросы определены в /usr/lib/rpm/macros. > Скопируйте /usr/lib/rpm/macros к себе в ~/.rpmmacros и Только не надо копировать /usr/lib/rpm/macros к себе в ~/.rpmmacros: ведь если в новой версии пакета rpm какой-либо макрос изменит свое значение, то из-за приоритета ~/.rpmmacros это не будет работать так, как задумано. > исправьте там значение %_topdir на ~/RPM. Естественно, иерархия > под ~/RPM должна быть такая же, тогда править меньше. Можете еще > изменить значение %_var. Изменять значение %_var категорически нельзя (разве что Вы задумали переместить все содержимое /var куда-либо еще, но тогда Ваша система не будет иметь ничего общего с другими, и о совместимости забудьте). > Вроде, больше ничего не надо. В ~/.rpmmacros, как правило, достаточно определить макросы: + %_topdir, если деревья сборки находятся в другом месте; + %_tmppath, если деревья buildroot должны создаваться в другом месте; + %vendor, %distribution, %packager, %_gpg_name, если Вы собираете собственные пакеты. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-08-28 13:22 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-28 13:01 ` Andrew Borodin 2001-08-28 13:22 ` Dmitry V. Levin [this message] 2001-08-28 13:49 ` cornet
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=20010828132542.B15375@ldv.office.alt-linux.org \ --to=ldv@alt-linux.org \ --cc=mandrake-russian@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git