[Bug 558012] New: %{py_libdir} defined incorrectly for 64-bit
http://bugzilla.novell.com/show_bug.cgi?id=558012 http://bugzilla.novell.com/show_bug.cgi?id=558012#c0 Summary: %{py_libdir} defined incorrectly for 64-bit Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: iceman@fastmail.com.au QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102808 Mandriva/1.9.0.15-0.1mdv2009.1 (2009.1) Firefox/3.0.15 On my opensuse11.2 system: In /usr/lib/rpm/macros.python py_libdir is defined as: py_libdir %{py_prefix}/lib/python%{py_ver} This is incorrect as it will not work on 64-bit systems where python installs into /usr/lib64/python2.6/ (rpm -qlp http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/python-b...) py_libdir is however correctly defined as below in /usr/lib/rpm/macros %py_libdir %{py_prefix}/%{_lib}/python%{py_ver} Both files are from the RPM package rpm-4.7.1-6.7.3 Suggested fix: remove the incorrect definition of py_libdir from /usr/lib/rpm/macros.python Reproducible: Always Steps to Reproduce: 1. Build an RPM that installs python modules 2. Note that it tries to put them in /usr/lib/python2.6/site-packages 3. Actual Results: Puts python modules in /usr/lib/python2.6/site-packages Expected Results: Puts python modules in /usr/lib64/python2.6/site-packages This bug was encountered and solved in the Mandriva distribution about 4 years ago: https://qa.mandriva.com/show_bug.cgi?id=18772 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=558012
http://bugzilla.novell.com/show_bug.cgi?id=558012#c
Philipp Thomas
http://bugzilla.novell.com/show_bug.cgi?id=558012
http://bugzilla.novell.com/show_bug.cgi?id=558012#c1
Jan Matejek
http://bugzilla.novell.com/show_bug.cgi?id=558012
http://bugzilla.novell.com/show_bug.cgi?id=558012#c2
--- Comment #2 from Tim Edwards
participants (1)
-
bugzilla_noreply@novell.com