ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: devel@linux.iplabs.ru
Subject: Re: [devel] rpm packages building
Date: Mon, 13 Aug 2001 13:54:59 +0300
Message-ID: <20010813135459.A27883@pc152.belcaf.minsk.by> (raw)
In-Reply-To: <200108131037.OAA23630@node1.tvcell.ru>; from andrei@tvcell.ru on Mon, Aug 13, 2001 at 02:37:49PM +0400

On Mon, Aug 13, 2001 at 02:37:49PM +0400, Andrey Astafiev wrote:
> > > После беглого просмотра
> > > %post -n %name -p /sbin/ldconfig наверное должен быть к lib%name
> > > 
> > > На всякий случай лучше писать *.so.* вместо *.so*
> > > 
> > > для %package -n %name-examples (достаточно %package examples)
> > > 
> > > Requires лучше lib%name = %version-%release (то есть с релизом как Вы 
> > > сделали и для остальных пакетов)
> > 
> > А также:
> > вместо строки
> > CXXFLAGS="$RPM_OPT_FLAGS -fexceptions"
> > лучше написать
> > %remove_optflags %optflags_nocpp
> > (по умолчанию и так есть -fexceptions, цель: убрать
> > -fno-exceptions -fno-rtti, если их кто-то выставил).
> 
> спасибо, всем за науку. есть еще пара вопросов:
> 1. когда собирается пакет, зависимости проставляются автоматически.
> при этом хотелось бы избежать прописывания только одной-двух?
> пример, я собрал пакет id3lib и пакет с использующей его
> программой easytag. для работы easytag нужна версия id3lib >= 3.7.12,
> и это я указываю ручками. однако, из-за того что у меня в системе
> установлена версия 3.7.13, автоматически прописывается зависимость
> от id3lib-3.7.so.13, что не совсем правильно.
> как это правильно обработать?
Исправить пакет так, чтобы версия SO-библиотеки не была привязана к версии
пакета. Такая привязка есть неправильное поведение и должно исправляться в
любом случае, поскольку версия .so меняется при изменении API, которое
врядли произошло при смене минорной версии.

 
-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
Q:	What's buried in Grant's tomb?
A:	A corpse.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


  reply	other threads:[~2001-08-13 10:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10  9:26 Andrey Astafiev
2001-08-10  9:37 ` Stanislav Ievlev
2001-08-10  9:54   ` Andrey Astafiev
2001-08-10 10:02     ` Alexander Bokovoy
2001-08-10 10:42   ` Andrey Astafiev
2001-08-10 10:47     ` Andrey Astafiev
2001-08-13  8:32         ` Dmitry V. Levin
2001-08-13 10:37           ` Andrey Astafiev
2001-08-13 10:54             ` Alexander Bokovoy [this message]
2001-08-13 11:14             ` Dmitry V. Levin
2001-08-15  9:55               ` Andrey Astafiev
2001-08-15 10:09                 ` Andrey Astafiev
2001-08-18  9:21               ` Anton Farygin
2001-08-10 18:57       ` [devel] " Mikhail Zabaluev

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=20010813135459.A27883@pc152.belcaf.minsk.by \
    --to=a.bokovoy@sam-solutions.net \
    --cc=devel@linux.iplabs.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