-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-tuskarclient.spec
74 lines (54 loc) · 2.07 KB
/
python-tuskarclient.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
68
69
70
71
72
73
74
Name: python-tuskarclient
Version: XXX
Release: XXX{?dist}
Summary: Python client for the Tuskar API
License: ASL 2.0
URL: https://pypi.python.org/pypi/python-tuskarclient
Source0: https://pypi.python.org/packages/source/p/python-tuskarclient/python-tuskarclient-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-pbr
Requires: python-babel
Requires: python-iso8601
Requires: python-prettytable
Requires: python-keystoneclient
Requires: python-requests
Requires: python-simplejson
Requires: python-six
Requires: python-stevedore
%description
python-tuskarclient is a Python client and a command-line interface
for Tuskar <https://github.com/openstack/tuskar>.
%prep
%setup -q -n %{name}-%{upstream_version}
sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
# Remove the requirements file so that pbr hooks don't add it
# to distutils requires_dist config
rm -rf {test-,}requirements.txt
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
%files
%{_bindir}/*
%{python2_sitelib}/tuskarclient*
%{python2_sitelib}/python_tuskarclient*
%doc LICENSE README.rst
%changelog
* Thu Oct 16 2014 Jordan OMara <[email protected]> - 0.1.5-1
- new src, 0.1.5 ([email protected])
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 0.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 16 2014 Jordan OMara <[email protected]> - 0.1.4-1
- new src, 0.1.4 ([email protected])
* Fri Apr 4 2014 Jordan OMara <[email protected]> - 0.1.3-1
- upgrading source
* Fri Mar 14 2014 Jordan OMara <[email protected]> - 0.1.1-2
- fixed .egg-info
* Fri Feb 28 2014 Jordan OMara <[email protected]> - 0.1.1-1
- added .egg-info
* Mon Feb 24 2014 Angus Thomas <[email protected]> - 0.1.0-2
- Replace explicit paths with macros
- Added LICENSE README.rst to docs
* Fri Feb 21 2014 Angus Thomas <[email protected]> - 0.1.0-1
- Initial package.