summaryrefslogtreecommitdiffstats
path: root/SPECS/python-novaclient-os-networks.spec
blob: 3372399027879a6d6b1fa3de00fd0e4b2fe53da3 (plain)
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
%global srcname novaclient-os-networks
%global upstreamname os_networksv2_python_novaclient_ext

Name:		python-%{srcname}
Version:	0.25
Release:	2%{?dist}
Summary:	Adds network extension support to python-novaclient

Group:		Development/Libraries
License:	ASL 2.0
URL:		http://pypi.python.org/pypi/%{upstreamname}
Source0:	http://pypi.python.org/packages/source/o/%{upstreamname}/%{upstreamname}-%{version}.tar.gz

BuildArch:	noarch
BuildRequires:	python2-devel

%description
%{summary}
%package -n python2-%{srcname}
Summary:	%{summary}
BuildRequires:	python-novaclient
Requires:	python-novaclient
%{?python_provide:%python_provide python2-%{srcname}}

%description -n python2-%{srcname}
%{summary}

%prep
%autosetup -n %{upstreamname}-%{version}


%build
%py2_build

%install
%py2_install

%check
%{__python2} setup.py test

%files -n python2-%{srcname}
%doc README.rst
%{python2_sitelib}/*

%changelog
* Thu Mar 03 2016 Ricardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt> - 0.25-2
- Replaced the use of sum with summary

* Sat Feb 20 2016 Ricardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt> - 0.25-1
- Initial package