Bug 679618

Summary: [PATCH] Use %__python macro for python calls and locations in spec file
Product: [Fedora] Fedora Reporter: Garrett Holmstrom <gholms>
Component: m2cryptoAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gholms, mitr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-23 19:23:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Garrett Holmstrom 2011-02-23 00:46:42 UTC
Description of problem:
m2crypto's spec file directly calls python in some places and hardcodes /usr/bin/python in a few others.  Replacing all of these with the %__python macro makes changing which version of Python one builds against much easier.  Though this doesn't break Fedora's m2crypto package it would make it a bit easier for me to pull fixes from it into EPEL 5's new python26-m2crypto package.

You can pull the commit that does this (2664173a) from Fedora's python26-m2crypto repository (git://pkgs.fedoraproject.org/python26-m2crypto), or I can attach a patch if you want.


Version-Release number of selected component (if applicable):
m2crypto-0.21.1-2.fc15

Comment 1 Miloslav Trmač 2011-02-23 19:23:47 UTC
Thanks, cherry-picked into the master branch.  If you want a rebuild in rawhide as well, please reopen this.