python-subprocess32-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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: 1%{?_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. URL: http://pypi.python.org/pypi/subprocess32/
  9. Source0: http://python-subprocess32.googlecode.com/files/subprocess32-%{version}.tar.gz
  10. BuildRequires: python-devel
  11. Distribution: Vine Linux
  12. Vendor: Project Vine
  13. Packager: daisuke
  14. %description
  15. Backport of the subprocess module from Python 3.2 for use on 2.x.
  16. %prep
  17. %setup -q -n subprocess32-%{version}
  18. %build
  19. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
  20. %install
  21. %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
  22. %check
  23. PYTHONPATH=$(pwd) %{__python} test_subprocess32.py
  24. %files
  25. %doc LICENSE README.txt
  26. %{python_sitearch}/_posixsubprocess.so
  27. %{python_sitearch}/subprocess32*.egg-info
  28. %{python_sitearch}/subprocess32.py*
  29. %changelog
  30. * Mon Aug 04 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.2.6-1
  31. - initial build for Vine Linux
  32. * Fri Jul 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.6-1
  33. - Update to 3.2.6
  34. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-0.2.rc1
  35. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  36. * Wed Aug 7 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.5-0.1.rc1
  37. - Update to new upstream release candidate
  38. - Fix build failure on rawhide
  39. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
  40. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  41. * Wed Feb 13 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
  42. - initial package