ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Branch 4.0 и пакеты , зависящие от python-devel
Date: Mon, 24 Mar 2008 00:17:45 +0300
Message-ID: <20080323211745.GW31135@solemn.turbinal> (raw)
In-Reply-To: <200803240109.22553.asy@altlinux.ru>

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

On Mon, Mar 24, 2008 at 01:09:22AM +0400, Sergey Y. Afonin wrote:
> On Sunday 23 March 2008, Alexey Tourbin wrote:
> 
> > Мысли по поводу причины есть!!
> > 
> > $ rpm --eval '%setup_python_module pyclamav' |grep :
> > Requires: python = 2.5 
> > BuildPreReq: python-devel = 2.5 
>  
> Логично... Что-то вроде этого я предполагал, только со сборкой питоньих
> пакетов дела не имел. Но есть и следующий вопрос: а в Branch-то он почему
> 2.5 оказался ? И что, собственно, чинить ?

Потому что когда вы сделали 'rpm-build -bs *.spec', то у src.rpm пакета
выставился 'BuildPreReq: python-devel = 2.5'.  Значит, такой src.rpm
пакет не удастся собрать с другой версией питона (2.4 в бранче).

Я бы сделал следующее:
1) убрал '%setup_python_module pyclamav';
2) запустил buildreq;
3) убрал все оставшиеся зависимости, прописанные вручную.

Тогда зависимости src.rpm пакета не будут зависеть от среды,
в которой сформирован src.rpm пакет.

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

  reply	other threads:[~2008-03-23 21:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-23 16:45 Sergey Y. Afonin
2008-03-23 17:45 ` Alexey Tourbin
2008-03-23 21:09   ` Sergey Y. Afonin
2008-03-23 21:17     ` Alexey Tourbin [this message]
2008-03-23 21:24       ` Sergey Y. Afonin

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=20080323211745.GW31135@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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