Bug 679618 - [PATCH] Use %__python macro for python calls and locations in spec file
Summary: [PATCH] Use %__python macro for python calls and locations in spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: m2crypto
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-23 00:46 UTC by Garrett Holmstrom
Modified: 2011-02-23 19:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-23 19:23:47 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.