From: "Andrew Borodin" <aborodin@other.ispras.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: Re: [mdk-re] Re: RPM_BUILD_ROOT forward
Date: Tue Aug 28 14:09:19 2001
Message-ID: <3B8BA634.3207.BEA52D@localhost> (raw)
In-Reply-To: <20010828092401.1686517B6@linux.ru.net>
> > > Хочу собрать обьемный пакет не в /usr/src/RPM а у себя в
> > > хоумнике, поскольку в /usr места явно не хватит.
> > >
> > > Как перенаправить rpm на ~/RPM а то он все равно норовит в
> > > /usr... идти??
> > >
> > > Пытался найти место определения переменных RPM_* но не нашел :-((
> > >
> >
> > Эти макросы определены в /usr/lib/rpm/macros.
> > Скопируйте /usr/lib/rpm/macros к себе в ~/.rpmmacros и
>
> Только не надо копировать /usr/lib/rpm/macros к себе в ~/.rpmmacros:
> ведь если в новой версии пакета rpm какой-либо макрос изменит свое
> значение, то из-за приоритета ~/.rpmmacros это не будет работать так, как
> задумано.
Речь шла о _временном_ изменении места сборки. Потом ~/.rpmmacros
можно убить.
>
> > исправьте там значение %_topdir на ~/RPM. Естественно, иерархия
> > под ~/RPM должна быть такая же, тогда править меньше. Можете еще
> > изменить значение %_var.
>
> Изменять значение %_var категорически нельзя (разве что Вы задумали
> переместить все содержимое /var куда-либо еще, но тогда Ваша система не
> будет иметь ничего общего с другими, и о совместимости забудьте).
>
Тут я виноват, простите :(. Я имел в виду, конечно же, %_tmppath,
которая %_var/tmp, но что-то меня немного переклинило (тяжелый день),
и в результате... У меня она ~/tmp.
> > Вроде, больше ничего не надо.
>
> В ~/.rpmmacros, как правило, достаточно определить макросы:
> + %_topdir, если деревья сборки находятся в другом месте;
> + %_tmppath, если деревья buildroot должны создаваться в другом месте;
> + %vendor, %distribution, %packager, %_gpg_name, если Вы собираете
> собственные пакеты.
>
>
> Regards,
> Dmitry
>
С уважением,
А. Бородин.
next parent reply other threads:[~2001-08-28 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-28 14:09 ` Andrew Borodin [this message]
2001-08-28 23:16 ` [mdk-re] Re:äÒÁÊ×ÅÒÁ nVidia ÎÅ ÓÔÁ×ÑÔÓÑ :-((( áÌÅËÓÁÎÄÒ óÏÓÎÉÎ
2001-08-28 23:28 ` [mdk-re] Re: [mdk-re] Re:Драйвера nVidia не ставятся :-((( Romul
2001-08-30 13:16 ` Sergey V Turchin
2001-08-30 13:13 ` Sergey V Turchin
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=3B8BA634.3207.BEA52D@localhost \
--to=aborodin@other.ispras.ru \
--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