ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] static library
Date: Tue, 18 Nov 2003 14:19:01 +0300
Message-ID: <20031118111901.GA19631@nomad.office.altlinux.org> (raw)
In-Reply-To: <20031118093604.GB3110@sam-solutions.net>

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

On Tue, Nov 18, 2003 at 11:36:04AM +0200, Alexander Bokovoy wrote:
> On Tue, Nov 18, 2003 at 11:07:35AM +0300, Igor Homyakov wrote:
> > * Alexander Bokovoy <a.bokovoy%sam-solutions!net> [031117 20:22]:
> > > On Mon, Nov 17, 2003 at 09:10:57PM +0300, Dmitry V. Levin wrote:
> > > > >  >> у меня есть  подозрение что таких devel-static, которые никому
> > > > >  >> никогда не понадобятся у нас в сизифе достаточно. ( я ошибаюсь ?)
> > > > > 
> > > > >  > У меня тоже есть такое ощущение.
> > > > > 
> > > > > Иногда оно таки надобится, пример -- zcip.
> > > > 
> > > > может быть, zlib?
> > > Нет. По-моему, pcap.

Вполне может быть.

> > > > > Когда в M2.2 (ivk) понадобилось его собрать (там -static нужны по существу),
> > > > > найти было непросто.
> > > > Ключевое слово - иногда.
> > > > Большая часть не понадобится никогда.
> > > Вопрос в том, как нормально отрабатывать такие ситуации апостериори. В
> > > случае zcip проблема была именно с выпущенной уже платформой (М2.2).
> > 
> > м-да ... тут попахивает чуть ли не полной пересборкой ... :(
> > 
> > думаю, что в явных случаях не стоит собирать static, я оставляю эту часть
> > spec закоментированной.
> Лучше обернуть в %if_enabled static ... %endif

Причём достаточно обернуть только соответствующие секции %files.
В качестве примера см. libstroke.spec из libstroke-0.5.1-alt4.src.rpm


--
ldv

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

  reply	other threads:[~2003-11-18 11:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-17 17:00 Igor Homyakov
2003-11-17 17:23 ` Dmitry V. Levin
2003-11-17 17:41   ` Sergey Bolshakov
2003-11-17 18:10     ` Dmitry V. Levin
2003-11-17 18:15       ` Sergey Bolshakov
2003-11-17 18:23         ` Sergey Vlasov
2003-11-18  0:30           ` Vitaly Lipatov
2003-11-17 18:21       ` Alexander Bokovoy
2003-11-18  8:07         ` Igor Homyakov
2003-11-18  9:10           ` Alexey I. Froloff
2003-11-18  9:36           ` Alexander Bokovoy
2003-11-18 11:19             ` Dmitry V. Levin [this message]
2003-11-18 19:20             ` [devel] " Michael Shigorin

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=20031118111901.GA19631@nomad.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    /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