Changeset 411 for spec/trunk/SPECS/yum.spec
- Timestamp:
- Apr 9, 2014, 5:17:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/yum.spec
r405 r411 1 1 %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 2 3 %global pybasever 2.74 2 5 3 Summary: RPM installer/updater … … 10 8 Group: System Environment/Base 11 9 Source0: 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 10 Source1: python-wrapper.zip 15 11 16 12 Patch0: yum-os2.diff … … 45 41 46 42 Requires: python 47 Requires: python(abi) = %{py basever}43 Requires: python(abi) = %{python_version} 48 44 49 45 %description … … 109 105 110 106 #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 107 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c 113 108 114 109
Note:
See TracChangeset
for help on using the changeset viewer.