ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: octave-package-builder
Date: Wed, 13 Apr 2016 01:35:36 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1604130127060.1850@imap.altlinux.org> (raw)
In-Reply-To: <20160412214944.GA32626@dad.imath.kiev.ua>

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

On Wed, 13 Apr 2016, Igor Vlasenko wrote:

> Чтобы логи были чище, добавил в octave 
> %_rpmmacrosdir/octave.env. там
> export RPM_LD_PRELOAD_octave=$_octave_libs
> export RPM_FILES_TO_LD_PRELOAD_octave='%_libdir/%name/packages/*'
> чтобы verify-elf правильно обрабатывал octave packages.

Из предыдущих сообщений мне показалось, что пакеты кладут всё своё внутрь 
%_libdir/octave/packages/ . Тогда получается, что при сборке 
octave.src.rpm RPM_FILES_TO_LD_PRELOAD_octave будет иметь подходящее 
значение, а вот при сборке какого-нибудь foo-octave-bar.src.rpm оно будет 
иметь значение %_libdir/foo-octave-bar/packages/* -- это правильно?

Если только не имеется в виду, макрос %name каким-то механизмом будет 
раскрыт при упаковке самого octave.env в состав подпакета из 
octave.src.rpm.

Т.е. процитированный кусок производит впечатление такое, что %name будет 
раскрываться (как обычно) в имя собираемого пакета во время сборки пакетов 
в Sisyphus, каждый раз в своё.

-- 
Best regards,
Ivan

  reply	other threads:[~2016-04-12 22:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 13:21 Igor Vlasenko
2016-04-12 13:35 ` Антон Мидюков
2016-04-12 14:02   ` Igor Vlasenko
2016-04-12 16:40     ` Igor Vlasenko
2016-04-12 21:49   ` Igor Vlasenko
2016-04-12 22:35     ` Ivan Zakharyaschev [this message]
2016-04-12 22:42       ` Ivan Zakharyaschev
2016-04-13  6:36       ` Igor Vlasenko
2016-04-16 21:16   ` Igor Vlasenko

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=alpine.LFD.2.20.1604130127060.1850@imap.altlinux.org \
    --to=imz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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