ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Andrey Orlov <cray@neural.ru>
Subject: Re: [devel] Вопрос по поиску requires/provides с модулями python
Date: Thu, 6 Sep 2007 14:40:06 +0400
Message-ID: <20070906104006.GW6051@solemn.turbinal> (raw)
In-Reply-To: <20070906134645.a612199e.evyscr@altlinux.ru>

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

On Thu, Sep 06, 2007 at 01:46:45PM +0400, Egor Vyscrebentsov wrote:
> Имеется пакет gnome-games, в который с версии 2.18 входит игра
> gnome-sudoku, написанная на python. Раскладывается на запускаемый
> файл (python скрипт) в %_bindir и модуль gnome_sudoku
> в %_python_sitelibdir.
> 
> В каталоге модуля gnome_sudoku имеется подкаталог gtk_goodies,
> всё содержимое которого импортируется лишь из скриптов gnome_sudoku.
> 
> Собственно проблема.
> 
> При сборке rpm в requires прописывается python2.4(gtk_goodies),
> в то время как в provides - python2.4(gnome_sudoku.gtk_goodies).
> Соответственно, получаем unmet, пакет не является устанавливаемым.
> (Хотя при копировании файлов пакета в положенное место программа
> является рабочей.)
> 
> По подсказкам с IRC-канала пробуем заменить упоминания о gtk_goodies
> на gnome_sudoku.gtk_goodies в строках import скриптов в gnome_sudoku.
> Unmet исчезает, всё ставится замечательно, но программа
> перестаёт быть рабочей...
> 
> Всё это происходит на Сизифе от 27.07.2007. (Увы, пока что
> возможности обновиться не имеется.)
> 
> Вопросы:
> 1) Является ли это проблемой моих рук, данной программы или же
>    чего-то ещё?
> 2) Как следует бороться с подобными проблемами? (Про
>    %add_python_req_skip знаю, но использовать не хочется.)
> 
> Какая дополнительная информация может быть интересна?

rpmbuild -bs --nosource 0 *.spec

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

  reply	other threads:[~2007-09-06 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06  9:46 Egor Vyscrebentsov
2007-09-06 10:40 ` Alexey Tourbin [this message]
2007-09-07  8:31   ` Egor Vyscrebentsov
2007-09-21  8:00 ` Alexey Tourbin

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=20070906104006.GW6051@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=cray@neural.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