ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <LAV@VL3143.spb.edu>
To: community@altlinux.ru
Subject: Re: [Comm] Сборка RPM пользователем
Date: Sat, 25 Jan 2003 12:51:36 +0300
Message-ID: <200301251251.36772.LAV@VL3143.spb.edu> (raw)
In-Reply-To: <20030125012225.GA5173@alex>

On 25 Январь 2003 04:22, Алексей Волков wrote:
> %buildroot %_tmppath/%name-%version-build
Не надо самому определять buildroot

>
> %install
> rm -rf $RPM_BUILD_ROOT
эту строчку не нужно писать (rm)

> %makeinstall PREFIX="$RPM_BUILD_ROOT"%{_prefix}
В prefix уже содержится RPM_BUILD_ROOT, добавлять его не надо.

> INSTALLDIRS=site
>
> %files
> %defattr (-,root,root)
> %doc README
> /usr/lib/perl5/site_perl/5.6.1/Some/Module.pm
>
> Все стадии (до install) проходят успешно, make install
Что после этого содержится в каталоге $RPM_BUILD_ROOT 
(где-то там в /home/user/.rpm/tmp)

> выполняется без проблем,
> Обрабатываются файлы: perl-Some-Module-0.1-1
> ошибка: Файл не найден:
> /usr/lib/perl5/site_perl/5.6.1/Some/Module.pm
>
>
> Если изменить секцию %file таким образом:
> %file
В смысле, files?

> %builddir/usr/lib/perl5/site_perl/5.6.1/Some/Module.pm
Так не надо.
> рпм создаётся с файлами /home/user/.rpm/TMP/....

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


  reply	other threads:[~2003-01-25  9:51 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 [this message]
2003-01-26 11:53   ` alv
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=200301251251.36772.LAV@VL3143.spb.edu \
    --to=lav@vl3143.spb.edu \
    --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