ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Yuri N. Sedunov" <aris@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] %python_sitelibdir_noarch
Date: Tue, 16 Feb 2010 05:58:16 +0300
Message-ID: <1266289096.24487.74.camel@arisbook> (raw)
In-Reply-To: <20100216025115.GE1844@wo.int.altlinux.org>

В Втр, 16/02/2010 в 05:51 +0300, Dmitry V. Levin пишет:
> On Tue, Feb 16, 2010 at 05:46:31AM +0300, Yuri N. Sedunov wrote:
> > В Втр, 16/02/2010 в 05:33 +0300, Dmitry V. Levin пишет:
> > > On Tue, Feb 16, 2010 at 04:38:53AM +0300, Yuri N. Sedunov wrote:
> > > > В Втр, 16/02/2010 в 04:02 +0300, Dmitry V. Levin пишет:
> > > > <skip>
> > > > > -%python_sitelibdir/mailutils/c_api.so
> > > > > -%python_sitelibdir/mailutils/*.py*
> > > > > +%dir %_target_libdir_noarch/python%__python_version/site-packages/mailutils/
> > > > > +%_target_libdir_noarch/python%__python_version/site-packages/mailutils/*.py*
> > > > 
> > > > А можно переопределить макрос %python_sitelibdir_noarch как 
> > > > %_target_libdir_noarch/python%__python_version/site-packages
> > > > чтоб не городить этот огород?
> > > 
> > > Отчего же не определить новый макрос %python_sitelibdir_noarch?
> > > Можно, наверное.
> > 
> > Он определен, но через _libexecdir, что вроде бы одно и тоже, 
> > что и _target_libdir_noarch
> > $ rpm --showrc|grep sitelibdir_noarch
> > -14: python_sitelibdir_noarch	%_libexecdir/python%
> > __python_version/site-packages
> 
> А, это совсем свежий макрос.  Ну да, %_libexecdir тут совсем не к месту,
> должен быть %_target_libdir_noarch.
> 
> Rationale: В некоторых пакетах %_libexecdir переопределён в /usr/libexec,
> однако значение %python_sitelibdir_noarch не должно из-за этого меняться.

Да, я на это уже напоролся.

-- 
Yuri N. Sedunov



  reply	other threads:[~2010-02-16  2:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 20:41 [devel] mailutils Евгений Ростовцев
2010-02-07 21:21 ` Dmitry V. Levin
2010-02-07 21:40   ` Евгений Ростовцев
2010-02-07 21:50     ` Dmitry V. Levin
2010-02-07 22:39       ` Евгений Ростовцев
2010-02-08  6:52         ` Sergey Y. Afonin
2010-02-08 11:13         ` Dmitry V. Levin
2010-02-08  7:09       ` Sergey Y. Afonin
2010-02-16  1:02   ` Dmitry V. Levin
2010-02-16  1:38     ` Yuri N. Sedunov
2010-02-16  2:33       ` [devel] %python_sitelibdir_noarch Dmitry V. Levin
2010-02-16  2:46         ` Yuri N. Sedunov
2010-02-16  2:51           ` Dmitry V. Levin
2010-02-16  2:58             ` Yuri N. Sedunov [this message]
2010-02-16  3:29               ` Dmitry V. Levin
2010-02-16  2:31     ` [devel] mailutils Dmitry V. Levin
2010-02-16  2:47     ` Dmitry V. Levin
2010-02-16  5:11       ` Dmitry V. Levin
2010-02-16 10:45     ` Sergey Y. Afonin
2010-02-16 22:42       ` Dmitry V. Levin

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=1266289096.24487.74.camel@arisbook \
    --to=aris@altlinux.org \
    --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