ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] python-devel vs. python-dev
Date: Fri, 8 Sep 2006 01:44:10 +0400
Message-ID: <20060907214410.GA17649@lks.home> (raw)
In-Reply-To: <44FC12EB.2050300@altlinux.ru>

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

Hi Andrei!

Monday 04, at 02:50:03 PM you wrote:

> Alexey Rusakov wrote:
> > Доброго времени суток.
> > 
> > Если этот вопрос уже обсуждался, достаточно просто послать меня
> > читать архивы.
> 
> $ rpm -qd rpm-build-python
> 
> > Суть в следующем: в Python policy сказано, что задавать зависимость
> > на пакет python-dev категорически нехорошо. Для зависимостей есть 
> > python-devel. Хорошо, пользуюсь python-devel. В моём пакете
> > указывается, что Python нужен версии не ниже 2.3. Пишу: BuildPreReq:
> > python-devel >= 2.3 И мне в сборочную среду пытается установиться
> > python-base = 2.3! При этом если я пишу (запрещённое) BuildPreReq:
> > python-dev >= 2.3 , для сборки замечательно используется Python 2.4,
> > и всё в шоколаде.
> > 
> > Что я делаю неправильно?!
> 
> Requires: python = %__python_version
> BuildPreReq: python-devel = %__python_version
> 
> P.S. Не пытайтесь спорить со мной "зачем так?", я не разделяю
> необходимости нескольких питонов в репозитории ;-)
а в gear это не работает:
...
python-module-gammu.spec
Reading `python-module-gammu.spec'
python-gammu-0.14.tar
python-module-gammu.spec
`/usr/src/in/source/python-module-gammu.spec' ->
`/usr/src/in/spec/python-module-gammu.spec'
rebuild: pkg.tar: installed source file.
rebuild: pkg.tar: fetched build dependencies.
rebuild: pkg.tar: calculated build dependencies: 
rebuild: pkg.tar: fetched build dependencies.
rebuild: pkg.tar: calculated build dependencies: python-devel=unknown
rpm-build-python>=0.8 python-devel=unknown glib2 libgammu-devel pkgconfig
- естественно, python-devel=unknown не находится и сборка обламывается.

PS Может, нам забить на питон? Где наши питоноводы, у которых все отлично
работает? А вот у других оно уже почти год не собирается в x86_64 и
работает хрен знает как! Достало!

-- 
WBR et al.

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

  parent reply	other threads:[~2006-09-07 21:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-03 23:13 Alexey Rusakov
2006-09-04 11:50 ` Andrei Bulava
2006-09-06  7:12   ` Alexey Rusakov
2006-09-07 21:44   ` Konstantin A. Lepikhov [this message]
2006-09-07 21:47     ` Dmitry V. Levin
2006-09-07 22:21       ` Konstantin A. Lepikhov
2006-09-07 22:28         ` Dmitry V. Levin
2006-09-08  8:50           ` Alexey Borovskoy
2006-09-10 19:18           ` Fr. Br. George
2006-09-08  5:17         ` Alexey I. Froloff
2006-09-08 11:46           ` Konstantin A. Lepikhov
2006-09-08  4:04     ` Ivan Fedorov
2006-09-08  5:18       ` Alexey I. Froloff
2006-09-08 11:48       ` Konstantin A. Lepikhov
2006-09-08 13:03         ` Igor Zubkov
2006-09-08 12:02       ` Igor Vlasenko
2006-09-10 19:23       ` Fr. Br. George

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=20060907214410.GA17649@lks.home \
    --to=lakostis@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