Changeset 405
- Timestamp:
- Apr 7, 2014, 12:51:04 PM (11 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libxml2-python.spec
r279 r405 6 6 Name: %{name} 7 7 Version: %{version} 8 Release: 4%{?dist}8 Release: 5%{?dist} 9 9 Source: libxml2-%{version}.tar.gz 10 10 #Source1: %{name}-%{unmangled_version}.tar.gz … … 23 23 Requires: libxml2 = %{version} 24 24 Requires: python 25 Requires: python(abi) = 2. 625 Requires: python(abi) = 2.7 26 26 27 27 %description … … 54 54 55 55 %changelog 56 * Mon Apr 07 2014 yd 57 - build for python 2.7. 58 56 59 * Mon Jan 16 2012 yd 57 60 - rebuild with libc 0.6.4 runtime. -
spec/trunk/SPECS/libxml2.spec
r280 r405 2 2 Name: libxml2 3 3 Version: 2.7.7 4 Release: 4%{?dist}4 Release: 5%{?dist} 5 5 License: MIT 6 6 Group: Development/Libraries … … 12 12 13 13 Patch1: libxml2-os2.diff 14 15 Requires: python(abi) = 2.7 14 16 15 17 %description … … 159 161 160 162 %changelog 163 * Mon Apr 07 2014 yd 164 - build for python 2.7. 165 161 166 * Mon Jan 16 2012 yd 162 167 - rebuild with libc 0.6.4 runtime. -
spec/trunk/SPECS/libxslt.spec
r231 r405 2 2 Name: libxslt 3 3 Version: 1.1.26 4 Release: 1%{?dist}%{?extra_release}4 Release: 2%{?dist}%{?extra_release} 5 5 License: MIT 6 6 Group: Development/Libraries … … 139 139 140 140 %changelog 141 * Mon Apr 07 2014 yd 142 - build for python 2.7. -
spec/trunk/SPECS/python.spec
r387 r405 1 1 %{!?__python_ver:%global __python_ver EMPTY} 2 #global __python_ver 2 62 #global __python_ver 2.7 3 3 %global unicode ucs4 4 4 … … 15 15 %endif 16 16 17 %global pybasever 2. 618 %global pybasever_cond 2 617 %global pybasever 2.7 18 %global pybasever_cond 27 19 19 %global pylibdir %{_libdir}/python%{pybasever} 20 20 %global tools_dir %{pylibdir}/Tools … … 45 45 Summary: An interpreted, interactive, object-oriented programming language 46 46 Name: %{python} 47 Version: 2. 6.548 Release: 9%{?dist}47 Version: 2.7.6 48 Release: 10%{?dist} 49 49 License: Python 50 50 Group: Development/Languages 51 51 Provides: python-abi = %{pybasever} 52 52 Provides: python(abi) = %{pybasever} 53 Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.t gz53 Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz 54 54 55 55 Patch0: Python-%{version}-os2.diff … … 118 118 package. 119 119 120 %package common 121 Summary: An interpreted, interactive, object-oriented programming language 122 Group: Development/Languages 123 124 %description common 125 Only binary files without versioned name. Allows multiple installations. 126 120 127 %package libs 121 128 Summary: The libraries for python runtime … … 239 246 %build 240 247 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe" 248 export SHELL=$CONFIG_SHELL 249 export EMXSHELL=$CONFIG_SHELL 250 export MAKESHELL=$CONFIG_SHELL 251 241 252 export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 242 253 export LIBS="-lssl -lcrypto -lurpo -lmmap -lpthread -lintl" … … 354 365 %doc LICENSE README 355 366 %{_bindir}/pydoc* 356 %{_bindir}/%{python} 357 %{_bindir}/%{python}.exe 367 %{_bindir}/python 368 %{_bindir}/python.exe 369 %{_bindir}/python2.exe 358 370 %if %{main_python} 359 371 #%{_bindir}/python2 … … 368 380 %{dynload_dir}/_bisect.pyd 369 381 %{dynload_dir}/_bsddb.pyd 370 %{dynload_dir}/_bytesio.pyd382 #%{dynload_dir}/_bytesio.pyd 371 383 %{dynload_dir}/_codecs_.pyd 372 384 #%{dynload_dir}/_codecs_hk.pyd … … 377 389 %{dynload_dir}/_collect.pyd 378 390 %{dynload_dir}/_csv.pyd 379 #%{dynload_dir}/_ctypes.pyd391 %{dynload_dir}/_ctypes.pyd 380 392 %{dynload_dir}/_curses.pyd 381 393 %{dynload_dir}/_curses_.pyd 382 394 %{dynload_dir}/_element.pyd 383 %{dynload_dir}/_fileio.pyd395 #%{dynload_dir}/_fileio.pyd 384 396 #%{dynload_dir}/_functoo.pyd 385 397 %{dynload_dir}/_hashlib.pyd 386 398 %{dynload_dir}/_heapq.pyd 387 399 %{dynload_dir}/_hotshot.pyd 400 %{dynload_dir}/_io.pyd 388 401 %{dynload_dir}/_json.pyd 389 402 #%{dynload_dir}/_locale.pyd … … 400 413 %{dynload_dir}/_ssl.pyd 401 414 %{dynload_dir}/_struct.pyd 402 %{dynload_dir}/_weakref.pyd415 #%{dynload_dir}/_weakref.pyd 403 416 %{dynload_dir}/array.pyd 404 417 %{dynload_dir}/audioop.pyd … … 460 473 %{pylibdir}/hotshot 461 474 %{pylibdir}/idlelib 475 %{pylibdir}/importlib 462 476 %dir %{pylibdir}/json 463 477 %{pylibdir}/json/*.py* … … 466 480 %{pylibdir}/multiprocessing 467 481 %{pylibdir}/plat-os2knix 482 %{pylibdir}/pydoc_data 468 483 %dir %{pylibdir}/sqlite3 469 484 %{pylibdir}/sqlite3/*.py* … … 502 517 %{_bindir}/python-config 503 518 %endif 504 %{_bindir}/python %{pybasever}-config519 %{_bindir}/python*-config 505 520 #%{_libdir}/libpython%{pybasever}.pyd 506 521 %{_libdir}/python%{pybasever}_dll.a 522 %{_libdir}/pkgconfig 507 523 508 524 %files tools … … 537 553 %{pylibdir}/sqlite3/test 538 554 %{pylibdir}/test/* 555 %{pylibdir}/unittest/* 539 556 # These two are shipped in the main subpackage: 540 557 %exclude %{pylibdir}/test/test_support.py* … … 562 579 563 580 %changelog 581 * Mon Apr 07 2014 yd 582 - build for python 2.7. 583 564 584 * Sat Mar 15 2014 yd 565 585 - r385 and others, added support for virtualenv. -
spec/trunk/SPECS/s3cmd.spec
r372 r405 2 2 %define version 1.1.0.beta3 3 3 %define unmangled_version 1.1.0.beta3 4 %define release 34 %define release 4 5 5 6 6 Summary: Command line tool for managing Amazon S3 and CloudFront services … … 46 46 %files -f INSTALLED_FILES 47 47 %defattr(-,root,root) 48 49 %changelog 50 * Mon Apr 07 2014 yd 51 - build for python 2.7. -
spec/trunk/SPECS/urlgrabber.spec
r117 r405 6 6 Name: %{name} 7 7 Version: %{version} 8 Release: 2%{?dist}8 Release: 3%{?dist} 9 9 Source0: %{name}-%{unmangled_version}.tar.gz 10 10 License: LGPL … … 59 59 %files -f INSTALLED_FILES 60 60 %defattr(-,root,root) 61 62 %changelog 63 * Mon Apr 07 2014 yd 64 - build for python 2.7. -
spec/trunk/SPECS/yum-metadata-parser.spec
r168 r405 3 3 Name: yum-metadata-parser 4 4 Version: 1.1.4 5 Release: 3%{?dist}5 Release: 4%{?dist} 6 6 Source0: %{name}-%{version}.tar.gz 7 7 License: GPL … … 17 17 18 18 Requires: sqlite, glib2, libxml2 19 Requires: python(abi) = 2.7 19 20 20 21 %description … … 40 41 41 42 %changelog 43 * Mon Apr 07 2014 yd 44 - build for python 2.7. -
spec/trunk/SPECS/yum-utils.spec
r350 r405 4 4 Name: yum-utils 5 5 Version: 1.1.31 6 Release: 1%{?dist}6 Release: 2%{?dist} 7 7 License: GPLv2+ 8 8 Group: Development/Tools … … 14 14 BuildArch: noarch 15 15 Requires: yum >= 3.2.27 16 Requires: python(abi) = 2.7 17 16 18 #Requires: python-kitchen 17 19 BuildRequires: python-devel >= 2.4 … … 674 676 675 677 %changelog 678 * Mon Apr 07 2014 yd 679 - build for python 2.7. 680 676 681 * Wed Jun 05 2013 yd 677 682 - r639, initial public build. -
spec/trunk/SPECS/yum.spec
r168 r405 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.7 2 4 3 5 Summary: RPM installer/updater 4 6 Name: yum 5 7 Version: 3.2.27 6 Release: 5%{?dist}8 Release: 6%{?dist} 7 9 License: GPLv2+ 8 10 Group: System Environment/Base … … 22 24 23 25 Conflicts: pirut < 1.1.4 26 24 27 Requires: python >= 2.4, rpm-python, rpm >= 0:4.4.2 25 28 #Requires: python-iniparse … … 42 45 43 46 Requires: python 44 Requires: python(abi) = 2.647 Requires: python(abi) = %{pybasever} 45 48 46 49 %description … … 64 67 can notify you when they are available via email, syslog or dbus. 65 68 69 %package debug 70 Summary: HLL debug data for exception handling support. 71 72 %description debug 73 HLL debug data for exception handling support. 74 66 75 %prep 67 76 %setup -q -a 1 … … 69 78 70 79 %build 71 export MAKESHELL="/ bin/sh"72 export PERL_SH_DIR="/ bin"80 export MAKESHELL="/@unixroot/usr/bin/sh" 81 export PERL_SH_DIR="/@unixroot/usr/bin" 73 82 make 74 83 75 84 %install 76 85 rm -rf $RPM_BUILD_ROOT 77 export MAKESHELL="/ bin/sh"78 export PERL_SH_DIR="/ bin"86 export MAKESHELL="/@unixroot/usr/bin/sh" 87 export PERL_SH_DIR="/@unixroot/usr/bin" 79 88 make DESTDIR=$RPM_BUILD_ROOT install 80 89 #install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/yum.conf … … 99 108 touch $RPM_BUILD_ROOT/%{_var}/lib/yum/uuid 100 109 101 cp yum.exe $RPM_BUILD_ROOT/%{_bindir} 110 #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 113 102 114 103 115 #%find_lang %name … … 137 149 #%dir /usr/lib/yum-plugins 138 150 %{_usr}/share/locale/* 151 %exclude %{_bindir}/*.dbg 152 153 %files debug 154 %defattr(-,root,root) 155 %{_bindir}/*.dbg 139 156 140 157 %changelog 158 * Mon Apr 07 2014 yd 159 - build for python 2.7. 160 161 * Fri Mar 21 2014 yd 162 - build wrapper agains pythonX.Y.exe 163 - r396, makefiles updates for unixroot and python virtualenv changes. 164 - added debug package with symbolic info for exceptq.
Note:
See TracChangeset
for help on using the changeset viewer.