-
Notifications
You must be signed in to change notification settings - Fork 1
/
openstack-core-test.spec
48 lines (36 loc) · 1.08 KB
/
openstack-core-test.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
#
# spec file for package openstack-core-test
#
# Copyright 2011 Grid Dynamics Consulting Services, Inc. All rights reserved.
#
Name: openstack-core-test
Version: 0.0.1
Release: 1%{?dist}
Summary: BDD test suite for OpenStack
Group: Development/Languages/Python
License: GNU GPL v3+
URL: https://github.com/griddynamics/openstack-core-test
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
BuildRequires: python-setuptools coreutils
Requires: python-lettuce-bunch
%description
Test harness for OpenStack written for Bunch tool
%prep
%setup -q -n %{name}-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --single-version-externally-managed -O1 --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root,-)
/usr/local/share/%{name}
%changelog
* Thu Feb 2 2012 Sergey Kosyrev <[email protected]>
- initial packaging