python-subprocess32-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
  2. Name: python-subprocess32
  3. Version: 3.2.6
  4. Release: 2%{?_dist_release}
  5. Summary: Backport of subprocess module from Python 3.2 to Python 2.*
  6. Summary(ja): Python 3.2 の subprocess モジュールの python 2.x へのバックポート
  7. License: Python
  8. Group: System Environment/Libraries
  9. URL: http://pypi.python.org/pypi/subprocess32/
  10. Source0: http://python-subprocess32.googlecode.com/files/subprocess32-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: python-devel
  13. Distribution: Vine Linux
  14. Vendor: Project Vine
  15. Packager: daisuke
  16. %description
  17. Backport of the subprocess module from Python 3.2 for use on 2.x.
  18. %prep
  19. %setup -q -n subprocess32-%{version}
  20. %build
  21. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
  25. %check
  26. PYTHONPATH=$(pwd) %{__python} test_subprocess32.py
  27. %clean
  28. rm -rf $RPM_BUILD_ROOT
  29. %files
  30. %doc LICENSE README.txt
  31. %{python_sitearch}/_posixsubprocess.so
  32. %{python_sitearch}/subprocess32*.egg-info
  33. %{python_sitearch}/subprocess32.py*
  34. %changelog
  35. * Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.6-2
  36. - added Group tag
  37. * Mon Aug 04 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.2.6-1
  38. - initial build for Vine Linux
  39. * Fri Jul 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.6-1
  40. - Update to 3.2.6
  41. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-0.2.rc1
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  43. * Wed Aug 7 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.5-0.1.rc1
  44. - Update to new upstream release candidate
  45. - Fix build failure on rawhide
  46. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  48. * Wed Feb 13 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
  49. - initial package