ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rpm find-requires
@ 2007-03-29 21:30 Igor Vlasenko
  2007-03-29 21:35 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Vlasenko @ 2007-03-29 21:30 UTC (permalink / raw)
  To: ALT Devel discussion list

Уважаемые коллеги, 
боролся с неудоволетворенными Requires: пакета (java-1.6.0-sun) 
сам на себя вида 
...
/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/headless/../libjava.so(SUNWprivat
e_1.1) 
...

%add_findprov_lib_path заткнул зависимости, но
добавил горы мусора вида
...
/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnative_chmod.so(GCC.INTERNAL)  
/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnative_chmod_g.so(../../../../build/linux-i586/lib/i386/libnative_chmod_g.so)  
...
 --- не понравилось.

%add_findreq_skiplist
потерял полезные зависимости
...
libX11.so.6  
libXext.so.6  
libXi.so.6  
...
 --- плохо.

получил то что хотел с помощю следующей кувалды:
---------------------
# HACK around find-requires
%define __find_requires    /path/to/my-find-requires
cat > /path/to/my-find-requires <<EOF
#!/bin/sh
(/usr/lib/rpm/find-requires | grep -v %{_jvmdir}/%{jredir}) || :
EOF
# end HACK around find-requires
------------------------
Вопрос:
Как это можно сделать без кувалды?


-- 

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




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

end of thread, other threads:[~2007-03-29 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-29 21:30 [devel] rpm find-requires Igor Vlasenko
2007-03-29 21:35 ` Dmitry V. Levin
2007-03-29 22:47   ` Alexey Tourbin
2007-03-29 22:48     ` Dmitry V. Levin

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