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