Ignore:
Timestamp:
Apr 9, 2014, 5:17:45 PM (11 years ago)
Author:
Yuri Dario
Message:

spec: updates to python macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/yum.spec

    r405 r411  
    11%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
    2 
    3 %global pybasever 2.7
    42 
    53Summary: RPM installer/updater
     
    108Group: System Environment/Base
    119Source0: http://yum.baseurl.org/download/3.2/%{name}-%{version}.tar.gz
    12 Source1: yum-os2.zip
    13 #Source1: yum.conf.fedora
    14 #Source2: yum-updatesd.conf.fedora
     10Source1: python-wrapper.zip
    1511
    1612Patch0: yum-os2.diff
     
    4541
    4642Requires: python
    47 Requires: python(abi) = %{pybasever}
     43Requires: python(abi) = %{python_version}
    4844
    4945%description
     
    109105
    110106#build exe wrapper
    111 #cp yum.exe $RPM_BUILD_ROOT/%{_bindir}
    112 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{pybasever}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/yum.exe exec-py.c
     107gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c
    113108
    114109
Note: See TracChangeset for help on using the changeset viewer.