ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rpm, manual find-provides
@ 2009-01-22  0:31 Led
  2009-01-22 10:36 ` Alexey I. Froloff
  2009-01-22 11:06 ` Igor Vlasenko
  0 siblings, 2 replies; 8+ messages in thread
From: Led @ 2009-01-22  0:31 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Есть ли штатная (или нештатная, но легальная)  возможность в спеке, в %install 
сформировать список дополнительных Provides для пакета?

-- 
Led

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-22  0:31 [devel] rpm, manual find-provides Led
@ 2009-01-22 10:36 ` Alexey I. Froloff
  2009-01-22 10:49   ` Led
  2009-01-22 11:06 ` Igor Vlasenko
  1 sibling, 1 reply; 8+ messages in thread
From: Alexey I. Froloff @ 2009-01-22 10:36 UTC (permalink / raw)
  To: ALT Devel discussion list

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

* Led <ledest@> [090122 03:35]:
> Есть ли штатная (или нештатная, но легальная)  возможность в
> спеке, в %install сформировать список дополнительных Provides
> для пакета?
Посмотри в %buildroot на файлы вида .%name* .

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-22 10:36 ` Alexey I. Froloff
@ 2009-01-22 10:49   ` Led
  0 siblings, 0 replies; 8+ messages in thread
From: Led @ 2009-01-22 10:49 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Thursday, 22 January 2009 12:36:34 Alexey I. Froloff wrote:
> * Led <ledest@> [090122 03:35]:
> > Есть ли штатная (или нештатная, но легальная)  возможность в
> > спеке, в %install сформировать список дополнительных Provides
> > для пакета?
>
> Посмотри в %buildroot на файлы вида .%name* .

Смотрел. Там всего-лишь списки файлов каждого из субпакетов.

-- 
Led

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-22  0:31 [devel] rpm, manual find-provides Led
  2009-01-22 10:36 ` Alexey I. Froloff
@ 2009-01-22 11:06 ` Igor Vlasenko
  2009-01-23 19:38   ` Led
  1 sibling, 1 reply; 8+ messages in thread
From: Igor Vlasenko @ 2009-01-22 11:06 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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 :(

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-22 11:06 ` Igor Vlasenko
@ 2009-01-23 19:38   ` Led
  2009-01-23 19:44     ` Igor Vlasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Led @ 2009-01-23 19:38 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-23 19:38   ` Led
@ 2009-01-23 19:44     ` Igor Vlasenko
  2009-01-23 19:52       ` Led
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Vlasenko @ 2009-01-23 19:44 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Fri, Jan 23, 2009 at 09:38:43PM +0200, Led wrote:
> Про сборки java и "околоджавовские" пакеты лучше ни слова, пожалуйста, 
> (угораздило сегодня заглянуть по необходимости - больше ну буду (ни смотреть 
> в спеки, ни пользоваться)):)

Так java-*-sun не я ж их собрал, а Goodwins from Sun...
я только распаковываю.
и "околоджавовские" пакеты не я собираю, а верные роботы :)


-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-23 19:44     ` Igor Vlasenko
@ 2009-01-23 19:52       ` Led
  2009-01-23 19:57         ` Igor Vlasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Led @ 2009-01-23 19:52 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Friday, 23 January 2009 21:44:00 Igor Vlasenko wrote:
> On Fri, Jan 23, 2009 at 09:38:43PM +0200, Led wrote:
> > Про сборки java и "околоджавовские" пакеты лучше ни слова, пожалуйста,
> > (угораздило сегодня заглянуть по необходимости - больше ну буду (ни
> > смотреть в спеки, ни пользоваться)):)
>
> Так java-*-sun не я ж их собрал, а Goodwins from Sun...
> я только распаковываю.
> и "околоджавовские" пакеты не я собираю, а верные роботы :)

Оно и заметно, что роботы. и что они верные, но тупые:)

-- 
Led

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [devel] rpm, manual find-provides
  2009-01-23 19:52       ` Led
@ 2009-01-23 19:57         ` Igor Vlasenko
  0 siblings, 0 replies; 8+ messages in thread
From: Igor Vlasenko @ 2009-01-23 19:57 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Fri, Jan 23, 2009 at 09:52:33PM +0200, Led wrote:
> On Friday, 23 January 2009 21:44:00 Igor Vlasenko wrote:
> > и "околоджавовские" пакеты не я собираю, а верные роботы :)
> 
> Оно и заметно, что роботы. и что они верные, но тупые:)

:)


-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-23 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22  0:31 [devel] rpm, manual find-provides 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
2009-01-23 19:44     ` Igor Vlasenko
2009-01-23 19:52       ` Led
2009-01-23 19:57         ` Igor Vlasenko

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