forked from lenoch/cpopen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-cpopen.spec
68 lines (49 loc) · 2.01 KB
/
python-cpopen.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%{!?python_ver: %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}
%global __provides_exclude_from ^%{python_sitearch}/.*\\.so$
%global libname cpopen
Name: python-%{libname}
Version: 1.2.3
Release: 4%{?dist}
Summary: Creates a sub-process in simpler safer manner
License: GPLv2+
Group: System Environment/Libraries
URL: http://pypi.python.org/pypi/cpopen
Source0: http://bronhaim.fedorapeople.org/cpopen-%{version}.tar.gz
BuildRequires: python2-devel
Provides: vdsm-python-cpopen = %{version}-%{release}
Obsoletes: vdsm-python-cpopen <= 4.13.0-49
%description
Python package for creating sub-process in simpler and safer manner by using C
code.
%prep
%setup -q -n %{libname}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --root $RPM_BUILD_ROOT
%files
%doc AUTHORS COPYING readme.md
%{python_sitearch}/%{libname}/__init__.py*
%{python_sitearch}/%{libname}-%{version}-py*.egg-info
%attr(755, root, root) %{python_sitearch}/%{libname}/%{libname}.so*
%changelog
* Mon Oct 28 2013 Yaniv Bronhaim <[email protected]> - 1.2.3-4
- Wrong code were packed on previous release
* Wed Oct 23 2013 Yaniv Bronhaim <[email protected]> - 1.2.3-3
- Override old packages with same file names
* Mon Aug 26 2013 Yaniv Bronhaim <[email protected]> - 1.2.3-2
- Fixing import error in __init__.py
* Sun Aug 25 2013 Yaniv Bronhaim <[email protected]> - 1.2.3-1
- Moving files under cpopen folder
* Wed Jun 12 2013 Yaniv Bronhaim <[email protected]> - 1.2.2-1
- Merging vdsm-python-cpopen fixes
- Renaming to cpopen.so
* Tue Mar 19 2013 Yaniv Bronhaim <[email protected]> 1.2.1-1
- Changing ownership and mod of cpopen-createprocess.so file
* Wed Mar 13 2013 Yaniv Bronhaim <[email protected]> 1.2-1
- Renaming createprocess to cpopen-createprocess
* Tue Feb 05 2013 Yaniv Bronhaim <[email protected]> 1.1-1
- Fix dependencies
- Adding AUTHORS file
* Sun Jan 20 2013 Yaniv Bronhaim <[email protected]> 1.0-1
- Initial take