ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] получение двух rpm из одного (бинарники)
@ 2007-09-27 16:52 Alexey Morsov
  2007-09-27 17:33 ` [devel] получение двух rpm ? Aleksey Avdeev
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Morsov @ 2007-09-27 16:52 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Приветствую,

Что-то я никак понять не могу как сделать.

Есть пакет libfoo.srpm. Надо сделать чтобы при сборке получилось два
пакета - libfoo и libfoo-opt. 
Т.е. по идее, я в %build делаю

%configure --without-opt
%make_build

(вот тут видимо make clean?)

потом 

%configure --with-opt
%make_build

И вот тут то что я не понимаю. Т.е. при компиляциив в первый проход 
получим libfoo.so.1 и @libfoo.so
Ну допустим я перед второй компиляцией делаю mv libfoo.so.1
libfoo.so.1.gtk и потом в %files его полажу в соответствующий package.

А что делать с @libfoo.so ? Это ведь линк на саму либу.

Плюс есть еще n-ое количество файлом (в том числе .so) которые вроде бы не
меняются от опции opt - куда их класть? Или их отпиливать в некий
libfoo-common ?


-- 
С уважением,
Алексей Морсов
Системный администратор ЗАО "ИК "РИКОМ-ТРАСТ"
JID:  Samurai@www.fondmarket.ru

NP: music over


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

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

end of thread, other threads:[~2007-09-28 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-27 16:52 [devel] получение двух rpm из одного (бинарники) Alexey Morsov
2007-09-27 17:33 ` [devel] получение двух rpm ? Aleksey Avdeev
2007-09-28 11:04   ` Alexey Morsov

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