Ignore:
Timestamp:
Mar 15, 2014, 10:29:41 PM (11 years ago)
Author:
Yuri Dario
Message:

spec: python, r385 and others, added support for virtualenv, added debug package.

File:
1 edited

Legend:

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

    r349 r387  
    4646Name: %{python}
    4747Version: 2.6.5
    48 Release: 7%{?dist}
     48Release: 9%{?dist}
    4949License: Python
    5050Group: Development/Languages
     
    200200code that uses more than just unittest and/or test_support.py.
    201201
     202%package debug
     203Summary: HLL debug data for exception handling support.
     204
     205%description debug
     206HLL debug data for exception handling support.
     207
    202208%prep
    203209%setup -q -n Python-%{version}
     
    234240export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe"
    235241export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    236 export LIBS="-lssl -lcrypto -lurpo -lmmap -lpthread"
     242export LIBS="-lssl -lcrypto -lurpo -lmmap -lpthread -lintl"
    237243%configure \
    238244        --enable-shared --disable-static \
     245        --with-system-ffi --with-libs='-lmmap' \
    239246        "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
    240247
     
    354361%{_bindir}/python%{pybasever}.exe
    355362%{_mandir}/*/*
     363%exclude %{_bindir}/*.dbg
    356364
    357365%dir %{pylibdir}
     
    374382%{dynload_dir}/_element.pyd
    375383%{dynload_dir}/_fileio.pyd
    376 %{dynload_dir}/_functoo.pyd
     384#%{dynload_dir}/_functoo.pyd
    377385%{dynload_dir}/_hashlib.pyd
    378386%{dynload_dir}/_heapq.pyd
    379387%{dynload_dir}/_hotshot.pyd
    380388%{dynload_dir}/_json.pyd
    381 %{dynload_dir}/_locale.pyd
     389#%{dynload_dir}/_locale.pyd
    382390%{dynload_dir}/_lsprof.pyd
    383391#%{dynload_dir}/_md5.pyd
     
    414422#%{dynload_dir}/mmap.pyd
    415423#%{dynload_dir}/nis.pyd
    416 %{dynload_dir}/operator.pyd
     424#%{dynload_dir}/operator.pyd
    417425#%{dynload_dir}/ossaudiodev.pyd
    418426%{dynload_dir}/parser.pyd
     
    482490%doc systemtap-example.stp pyfuntop.stp
    483491%endif
     492%exclude %{_libdir}/*.dbg
    484493
    485494%files devel
     
    547556# payload file would be unpackaged)
    548557
     558%files debug
     559%defattr(-,root,root)
     560%{_bindir}/*.dbg
     561%{_libdir}/*.dbg
     562
    549563%changelog
     564* Sat Mar 15 2014 yd
     565- r385 and others, added support for virtualenv.
     566- added debug package with symbolic info for exceptq.
     567
    550568* Wed Jun 05 2013 yd
    551569- r348, add samefile, sameopenfile, samestat to os.path module.
Note: See TracChangeset for help on using the changeset viewer.