From: alv@pisem.net
To: community@altlinux.ru
Subject: Re: [Comm] Сборка RPM пользователем
Date: Sun, 26 Jan 2003 14:53:50 +0300
Message-ID: <20030126115350.GA25269@alex> (raw)
In-Reply-To: <200301251251.36772.LAV@VL3143.spb.edu>
On Sat, Jan 25, 2003 at 12:51:36PM +0300, Vitaly Lipatov wrote:
> On 25 Январь 2003 04:22, Алексей Волков wrote:
> > %buildroot %_tmppath/%name-%version-build
> Не надо самому определять buildroot
тогда RPM_BUILD_ROOT будет ""
> > %install
> > rm -rf $RPM_BUILD_ROOT
> эту строчку не нужно писать (rm)
взято из спеков, думаю не в этом суть
> > %makeinstall PREFIX="$RPM_BUILD_ROOT"%{_prefix}
> В prefix уже содержится RPM_BUILD_ROOT, добавлять его не надо.
_prefix=/usr
Может правильнее /usr/local?
> > Все стадии (до install) проходят успешно, make install
> Что после этого содержится в каталоге $RPM_BUILD_ROOT
> (где-то там в /home/user/.rpm/tmp)
полное дерево установки: /usr/{bin,share,} и тд - всё что надо
Единственый действенный способ -
явно указать в спеке BuildRoot, например:
BuildRoot: %{_tmppath}/%{name}-root
после этого пакет собирается на ура.
Насколько это "правильно"?
попробовал скачать src.rpm из сизифа - тоже самое
Неужели так сильно отличается rpm-build в RedHate и AltLinux?
также при сборке tkabber замечено что, в redhat-7.3 нет
макросов/определений, которые по-видимому присутствуют в altlinux'е:
%_iconsdir
%_miconsdir
%_liconsdir
%update_menus
%clean_menus
next prev parent reply other threads:[~2003-01-26 11:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-25 1:22 Алексей Волков
2003-01-25 9:51 ` Vitaly Lipatov
2003-01-26 11:53 ` alv [this message]
2003-01-26 18:39 ` Vitaly Lipatov
2003-01-28 1:52 ` [Comm] " Michael Shigorin
2003-01-29 0:11 ` jellyfish
2003-01-29 9:16 ` Alexander Bokovoy
2003-01-30 0:07 ` Michael Shigorin
2003-01-30 8:06 ` Alexander Bokovoy
2003-01-30 8:19 ` Michael Shigorin
2003-01-30 8:32 ` 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=20030126115350.GA25269@alex \
--to=alv@pisem.net \
--cc=community@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