ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] rpm requires
Date: Wed, 16 May 2007 17:10:10 +0300
Message-ID: <464B10C2.3070301@iop.kiev.ua> (raw)
In-Reply-To: <200705161315.41463.serpiph@nikiet.ru>

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

Epiphanov Sergei пишет:
> В сообщении от Wednesday 16 May 2007 12:44:40 Andrii Dobrovol`s`kii 
> написал(а):
>> Вот это самое /path/to/lib/dir и не понятно. Ведь сборка идет в
>> собственном корне и как указать, что модуль сейчас лежит в пределах
>> этого корня, а потом будет общем дереве?
> 
> Указывай каталог, куда попадут модули при установке бинарного пакета. То есть 
> если при установке пакета модуль my.py окажется в каталоге /usr/lib/myprog, 
> то пиши
> 
> %add_python_lib path /usr/lib/myprog
>
Target system: SS, use /etc/apt/apt.conf.SS
warning: Macro %add_python_lib not found
error: line 32: Unknown tag: %add_python_lib path
/usr/lib/gwyddion/python/Gwyddion
error: Macro %add_python_lib not found
error: line 32: %add_python_lib path /usr/lib/gwyddion/python/Gwyddion

Building target platforms: i586
Building for target i586

-------------------------------------------------------
Check log for...
!!!!!!!! ERROR !!!!!
Error: Failed with gwyddion.spec


> а не
> 
> %add_python_lib_path %buildroot/usr/lib/myprog
> 
А при таком написании, просто ничего не провайдится.
В какой секции оно пишется и какой таки правильный формат строки?
rpm -qa |grep build
librpmbuild-4.0.4-alt76
etersoft-build-utils-1.1.7-alt1
rpm-build-compat-0.92-alt1
rpm-build-perl-0.6.2-alt1
rpm-build-tcl-0.2-alt1
rpm-build-python-0.30-alt3
rpm-build-4.0.4-alt76

-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************


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

  reply	other threads:[~2007-05-16 14:10 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 13:12 Andrii Dobrovol`s`kii
2007-05-14 13:25 ` Epiphanov Sergei
2007-05-14 13:28 ` Epiphanov Sergei
2007-05-14 13:28   ` Andrii Dobrovol`s`kii
2007-05-14 13:46     ` Epiphanov Sergei
2007-05-14 14:18       ` Andrii Dobrovol`s`kii
2007-05-14 14:48   ` Damir Shayhutdinov
2007-05-14 15:03     ` Andrii Dobrovol`s`kii
2007-05-14 15:17       ` Damir Shayhutdinov
2007-05-14 15:18       ` Andrey Rahmatullin
2007-05-15  8:34     ` Epiphanov Sergei
2007-05-15 11:43       ` Andrii Dobrovol`s`kii
2007-05-15 11:55         ` Epiphanov Sergei
2007-05-15 12:28           ` Евгений Терешков
2007-05-15 13:34             ` Epiphanov Sergei
2007-05-15 16:30               ` Andrii Dobrovol`s`kii
2007-05-16  7:38                 ` Epiphanov Sergei
2007-05-16  8:44                   ` Andrii Dobrovol`s`kii
2007-05-16  9:15                     ` Epiphanov Sergei
2007-05-16 14:10                       ` Andrii Dobrovol`s`kii [this message]
2007-05-17  6:47                         ` Epiphanov Sergei
2007-05-17  6:50                         ` Epiphanov Sergei
2007-05-17  9:19                           ` [sisyphus] rpm requires (internal python modules) Andrii Dobrovol`s`kii
2007-05-17 13:57                             ` Epiphanov Sergei
2007-05-14 15:18   ` [sisyphus] rpm requires Andrey Rahmatullin
2007-05-17 17:14     ` Andrii Dobrovol`s`kii
2007-05-17 17:49       ` Damir Shayhutdinov
2007-05-18  9:10         ` Andrii Dobrovol`s`kii
2007-05-18 11:35         ` Andrii Dobrovol`s`kii
2007-05-18 11:45           ` Damir Shayhutdinov
2007-05-18 12:12             ` Andrii Dobrovol`s`kii
2007-05-18 12:29               ` Damir Shayhutdinov
2007-05-18 12:31                 ` Andrii Dobrovol`s`kii
2007-05-18 13:35                   ` Andrii Dobrovol`s`kii
2007-05-18 13:46                     ` Damir Shayhutdinov
2007-05-18 13:52                       ` Andrii Dobrovol`s`kii
2007-05-18 14:03                         ` Damir Shayhutdinov
2007-05-18 14:37                           ` Andrii Dobrovol`s`kii
2007-05-18 15:01                             ` Damir Shayhutdinov
2007-05-18  9:51       ` Andrii Dobrovol`s`kii
2007-05-18 11:01         ` Damir Shayhutdinov
2007-05-18 11:30           ` Andrii Dobrovol`s`kii
2007-05-18 11:39             ` Damir Shayhutdinov

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=464B10C2.3070301@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git