[opensuse-packaging] Pure python package with arch dependent install locations
I'm packaging mintmenu, which is pur python, and so should be a noarch package. However, it needs to place a mintmenu.server file in "%{_libdir}/bonobo/servers/". Since this expands differently on 32bit vs. 64bit (and it needs to 64 bit systems don't pick it up if its in "/usr/lib/bonobo/servers/", is it ok to leave the package as arch dependent and ignore the rpmlint warnings? Will -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-11-11 14:47:30 -0600, William Witt wrote:
I'm packaging mintmenu, which is pur python, and so should be a noarch package. However, it needs to place a mintmenu.server file in "%{_libdir}/bonobo/servers/". Since this expands differently on 32bit vs. 64bit (and it needs to 64 bit systems don't pick it up if its in "/usr/lib/bonobo/servers/", is it ok to leave the package as arch dependent and ignore the rpmlint warnings?
no. as the file is in an arch specific directory. so if you want bonobo to find it, then you have to make leave it as arch specific package otherwise it can happen that an x86_64 user gets an rpm build on i586, and then your stuff wouldnt work because bonobo doesnt find its stuff. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 2010-11-11 at 21:52 +0100, Marcus Rueckert wrote:
On 2010-11-11 14:47:30 -0600, William Witt wrote:
I'm packaging mintmenu, which is pur python, and so should be a noarch package. However, it needs to place a mintmenu.server file in "%{_libdir}/bonobo/servers/". Since this expands differently on 32bit vs. 64bit (and it needs to 64 bit systems don't pick it up if its in "/usr/lib/bonobo/servers/", is it ok to leave the package as arch dependent and ignore the rpmlint warnings?
no.
as the file is in an arch specific directory. so if you want bonobo to find it, then you have to make leave it as arch specific package
otherwise it can happen that an x86_64 user gets an rpm build on i586, and then your stuff wouldnt work because bonobo doesnt find its stuff.
darix
That's what I thought, but wanted to make sure I wasn't missing something obvious. Thanks, Will -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Marcus Rueckert
-
William Witt