[Bug 208034] Review Request: HippoDraw - Interactive and Python scriptable data analysis application
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 25 15:14:50 UTC 2007
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: HippoDraw - Interactive and Python scriptable data analysis application
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208034
------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp 2007-07-25 11:09 EST -------
(In reply to comment #62)
> HippoDraw does not require tkinter.
- Oops.. I meant "does HippoDraw-python require tkinter?"
hippoplotter.py imports Tkinter.
> release number added to the -devel-doc subpackage.
- I meant that currently -devel-doc subpackage has
"Requires: %{name}-devel", which should be
"Requires: %{name}-devel = %{version}-%{release}"
> As for commetns in #60 and #61
>
> The problem appears to stem from the fact that the autoconf/automake generated
> Makefile does not install python modules in lib64/python. I don't know how to
> work around it.
- As I said in comment 61, while .py{,o,c} files (i.e. arch-independent
files) should be installed under site_lib, .so files (arch-dependent)
should be installed under site_arch. on x86_64 and ppc64, they differ.
You can workarround:
--------------------------------------------------------------
%{!?python_sitelib: %define ......}
%{!?python_sitearch: %define .....}
....
....
%install
.....
%ifarch x86_64 ppc64
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/%{name}/
mv $RPM_BUILD_ROOT%{python_sitelib}/%{name}/hippomodule.so* \
$RPM_BUILD_ROOT%{python_sitearch}/%{name}/
%endif
....
%files python
%defattr(-,root,root,-)
%{python_sitelib}/hippo.pth
%{python_sitelib}/%{name}/
%ifarch x86_64 ppc64
%{python_sitearch}/%{name}/
%endif
%{_datadir}/%{name}/examples/
%changelog
...........
---------------------------------------------------------
------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp 2007-07-25 11:14 EST -------
(In case my comment is not delivered by mail, I will
post again)
(In reply to comment #62)
> HippoDraw does not require tkinter.
- Oops.. I meant "does HippoDraw-python require tkinter?"
hippoplotter.py imports Tkinter.
> release number added to the -devel-doc subpackage.
- I meant that currently -devel-doc subpackage has
"Requires: %{name}-devel", which should be
"Requires: %{name}-devel = %{version}-%{release}"
> As for commetns in #60 and #61
>
> The problem appears to stem from the fact that the autoconf/automake generated
> Makefile does not install python modules in lib64/python. I don't know how to
> work around it.
- As I said in comment 61, while .py{,o,c} files (i.e. arch-independent
files) should be installed under site_lib, .so files (arch-dependent)
should be installed under site_arch. on x86_64 and ppc64, they differ.
You can workarround:
--------------------------------------------------------------
%{!?python_sitelib: %define ......}
%{!?python_sitearch: %define .....}
....
....
%install
.....
%ifarch x86_64 ppc64
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/%{name}/
mv $RPM_BUILD_ROOT%{python_sitelib}/%{name}/hippomodule.so* \
$RPM_BUILD_ROOT%{python_sitearch}/%{name}/
%endif
....
%files python
%defattr(-,root,root,-)
%{python_sitelib}/hippo.pth
%{python_sitelib}/%{name}/
%ifarch x86_64 ppc64
%{python_sitearch}/%{name}/
%endif
%{_datadir}/%{name}/examples/
%changelog
...........
---------------------------------------------------------
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the package-review
mailing list