Mailinglist Archive: opensuse-buildservice (181 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Fedora x86_64 issues
- From: Marcus Rueckert <mrueckert@xxxxxxx>
- Date: Tue, 3 Jul 2007 17:03:36 +0200
- Message-id: <20070703150336.GA5578@xxxxxxx>
On 2007-07-03 13:59:37 +0100, Andrew Wafaa wrote:
> Date: Tue, 3 Jul 2007 13:59:37 +0100 (BST)
> From: Andrew Wafaa <andrew@xxxxxxxxxx>
> Subject: [opensuse-buildservice] Fedora x86_64 issues
> To: openSUSE-BuildService List <opensuse-buildservice@xxxxxxxxxxxx>
>
> Afternoon all,
>
> I'm having issues building against all Fedora x86_64 targets. All Fedora x86, SUSE x86_64/x86 targets build fine.
>
> Basically my problem is to do with python and as it is split between /usr/lib and /usr/lib64, below are the two sections that it complains of ' Installed (but unpackaged) file(s) found:' I'm most likely doing something stupid, but for the life of me I can't work it out. I would really appreciate any help.
>
> %files -n %{name}-web
> %defattr(-,root,root,0755)
> %if 0%{?fedora_version}
> %ifarch %ix86
> %defattr(-,root,root,0755)
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> %{_libdir}/python*/site-packages/bongo/hawkeye/
> %{_libdir}/python*/site-packages/bongo/dragonfly/
> %else
shouldnt this be %endif instead of %else
> %ifarch %x86_64
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> /usr/lib/python*/site-packages/bongo/dragonfly/
> /usr/lib/python*/site-packages/bongo/hawkeye/
fedora really uses /usr/lib/python even on x86_64?
> %endif
> %endif
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> %{py_sitedir}/bongo/hawkeye/
> %{py_sitedir}/bongo/dragonfly/
are you sure you need that in the fedora case?
> %endif
> %files -n python-%{name}
> %defattr(-,root,root,0755)
> %if 0%{?fedora_version}
> %ifarch %ix86
> %{_libdir}/python*/site-packages/bongo/*
> %else
> %ifarch %x86_64
> /usr/lib/python*/site-packages/bongo/*
> %{_libdir}/python*/site-packages/bongo/bootstrap.a
i would recommend --disable-static on the configure cmdline or remove
the static lib. i doubt you need it.
> %{_libdir}/python*/site-packages/bongo/bootstrap.la
you dont need that .la file either.
> %{_libdir}/python*/site-packages/bongo/bootstrap.so
> %{_libdir}/python*/site-packages/bongo/libs.a
> %{_libdir}/python*/site-packages/bongo/libs.la
> %{_libdir}/python*/site-packages/bongo/libs.so
> %endif
> %endif
> %{py_sitedir}/bongo
> %endif
in general i would recommend only put the _different_ parts into
conditionals. e.g. %{prefix}/share/* could be outside of the
conditionals, as it is shared among all conditionals.
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> Date: Tue, 3 Jul 2007 13:59:37 +0100 (BST)
> From: Andrew Wafaa <andrew@xxxxxxxxxx>
> Subject: [opensuse-buildservice] Fedora x86_64 issues
> To: openSUSE-BuildService List <opensuse-buildservice@xxxxxxxxxxxx>
>
> Afternoon all,
>
> I'm having issues building against all Fedora x86_64 targets. All Fedora x86, SUSE x86_64/x86 targets build fine.
>
> Basically my problem is to do with python and as it is split between /usr/lib and /usr/lib64, below are the two sections that it complains of ' Installed (but unpackaged) file(s) found:' I'm most likely doing something stupid, but for the life of me I can't work it out. I would really appreciate any help.
>
> %files -n %{name}-web
> %defattr(-,root,root,0755)
> %if 0%{?fedora_version}
> %ifarch %ix86
> %defattr(-,root,root,0755)
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> %{_libdir}/python*/site-packages/bongo/hawkeye/
> %{_libdir}/python*/site-packages/bongo/dragonfly/
> %else
shouldnt this be %endif instead of %else
> %ifarch %x86_64
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> /usr/lib/python*/site-packages/bongo/dragonfly/
> /usr/lib/python*/site-packages/bongo/hawkeye/
fedora really uses /usr/lib/python even on x86_64?
> %endif
> %endif
> %{prefix}/share/bongo/htdocs/
> %{prefix}/share/bongo/templates/
> %{py_sitedir}/bongo/hawkeye/
> %{py_sitedir}/bongo/dragonfly/
are you sure you need that in the fedora case?
> %endif
> %files -n python-%{name}
> %defattr(-,root,root,0755)
> %if 0%{?fedora_version}
> %ifarch %ix86
> %{_libdir}/python*/site-packages/bongo/*
> %else
> %ifarch %x86_64
> /usr/lib/python*/site-packages/bongo/*
> %{_libdir}/python*/site-packages/bongo/bootstrap.a
i would recommend --disable-static on the configure cmdline or remove
the static lib. i doubt you need it.
> %{_libdir}/python*/site-packages/bongo/bootstrap.la
you dont need that .la file either.
> %{_libdir}/python*/site-packages/bongo/bootstrap.so
> %{_libdir}/python*/site-packages/bongo/libs.a
> %{_libdir}/python*/site-packages/bongo/libs.la
> %{_libdir}/python*/site-packages/bongo/libs.so
> %endif
> %endif
> %{py_sitedir}/bongo
> %endif
in general i would recommend only put the _different_ parts into
conditionals. e.g. %{prefix}/share/* could be outside of the
conditionals, as it is shared among all conditionals.
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |