[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: Re: [opensuse-packaging] Python based program / Files section
From: James Oakley <jfunk () funktronics ! ca>
Date: 2006-10-25 19:43:02
Message-ID: 200610251643.02213.jfunk () funktronics ! ca
[Download RAW message or body]
On Friday 20 October 2006 3:52 am, Dominique Leuenberger wrote:
> Hi everybody,
>
> as quiet a n00b in packaging, I;m in progress of packaging gnome-sudoku
> (will be found in games:puzzle.
> The package works good so far, EXCEPT for opensuse-factory.
>
> The reason is tracked down, I'm just missing a good solution, that I
> might like (introducing a variable using an %if construct is not what
> I'd like)
>
> So the problem:
> The program get's installed to
> /usr/lib/python2.4/site-packages/gnome_sudoku
>
> and thus, in my files section, I have
> %{_prefix}/lib/python2.4/site-packages/gnome_sudoku
>
> But as Factory switched to Python 2.5, of course the install path is
> different (the install script realizez it, and copies it to
> [...]python2.5[...]
>
> How can I adjust the %Files - Section to reflect this 'Multi-Version'
> aware?
Add --prefix=%{_prefix} to your "setup.py install" line.
--
James Oakley
jfunk@funktronics.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic