Bug 147622

Summary: Pyzor fails to build on x86_64
Product: [Fedora] Fedora Reporter: Toshio Kuratomi <toshio>
Component: pyzorAssignee: Warren Togami <wtogami>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-10 03:10:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix building on x86_64 none

Description Toshio Kuratomi 2005-02-09 21:22:07 UTC
Description of problem:
pyzor fails to build on x86_64.  This is due to the use of %{_libdir} in the
files section which searches for the installed files under /usr/lib64 on x86_64.
 because the files are arch independent python files, they are installed under
/usr/lib on multilib.  Using the latest macros from fedora-rpmdevtools
spectemplate.python fixes this.

Version-Release number of selected component (if applicable):
pyzor-0.4.0-6

How reproducible:
Always

Steps to Reproduce:
1. On an x86_64 computer, rombuild -ba pyzor.spec
2.
3.
  
Actual results:
See buildlog:
http://fedoraproject.org/extras/3/build-logs/x86_64/pyzor.log

Expected results:
Produce an rpm package file.

Additional info:

Comment 1 Toshio Kuratomi 2005-02-09 21:27:06 UTC
Created attachment 110896 [details]
Patch to fix building on x86_64

This patch updates the python macros to what's in fedora-rpmdevtools-0.3.0-1. 
They resolve the build problem by using the python_sitearch macro instead of
_libdir.  This patch is slightly different than the version tested by Aurelian
Bompard [1]_ as I also ghosted the pyzor .pyo files.

[1]_:
https://www.redhat.com/archives/fedora-extras-list/2005-February/msg00188.html

Comment 2 Warren Togami 2005-02-10 03:10:42 UTC
Thanks Toshio.  Lately I've seriously been considering sponsoring you.
 Keep it up.