ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rpm, manual find-provides
Date: Fri, 23 Jan 2009 21:38:43 +0200
Message-ID: <200901232138.43955.ledest@gmail.com> (raw)
In-Reply-To: <20090122110641.GA7656@dad.imath.kiev.ua>

On Thursday, 22 January 2009 13:06:42 Igor Vlasenko wrote:
> On Thu, Jan 22, 2009 at 02:31:27AM +0200, Led wrote:
> > Есть ли штатная (или нештатная, но легальная)  возможность в спеке, в
> > %install сформировать список дополнительных Provides для пакета?
>
> Например, переопределив find_requires на свой.
>
> Пример из %install (java-1.6.0-sun)
>
> # HACK around find-requires
> %define __find_requires    $RPM_BUILD_ROOT/.find-requires
> cat > $RPM_BUILD_ROOT/.find-requires <<EOF
> #!/bin/sh
> (/usr/lib/rpm/find-requires | grep -v %{_jvmdir}/%{sdkdir}) || :
> EOF
> chmod 755 $RPM_BUILD_ROOT/.find-requires
> # end HACK around find-requires
>
> В этой проприетарной сборке java-1.6.0-sun
> были ужасные rpath :(

Про сборки java и "околоджавовские" пакеты лучше ни слова, пожалуйста, 
(угораздило сегодня заглянуть по необходимости - больше ну буду (ни смотреть 
в спеки, ни пользоваться)):)

-- 
Led

  reply	other threads:[~2009-01-23 19:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22  0:31 Led
2009-01-22 10:36 ` Alexey I. Froloff
2009-01-22 10:49   ` Led
2009-01-22 11:06 ` Igor Vlasenko
2009-01-23 19:38   ` Led [this message]
2009-01-23 19:44     ` Igor Vlasenko
2009-01-23 19:52       ` Led
2009-01-23 19:57         ` 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=200901232138.43955.ledest@gmail.com \
    --to=ledest@gmail.com \
    --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