Changeset 411 for spec/trunk/SPECS/mercurial.spec
- Timestamp:
- Apr 9, 2014, 5:17:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/mercurial.spec
r408 r411 1 1 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 2 3 %global pybasever 2.74 2 5 3 Summary: A fast, lightweight distributed source control management system … … 11 9 URL: http://www.selenic.com/mercurial/ 12 10 Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz 13 Source1: mercurial-os2.zip11 Source1: python-wrapper.zip 14 12 15 13 Patch0: mercurial-os2.diff … … 22 20 23 21 Requires: python 24 Requires: python(abi) = %{py basever}22 Requires: python(abi) = %{python_version} 25 23 26 24 %description … … 139 137 140 138 #build exe wrapper 141 #cp yum.exe $RPM_BUILD_ROOT/%{_bindir} 142 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{pybasever}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/hg.exe exec-py.c 139 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/hg.exe exec-py.c 143 140 144 141
Note:
See TracChangeset
for help on using the changeset viewer.