15
0
Files
python-openqa_review/python-openqa_review.spec

54 lines
1.7 KiB
RPMSpec

# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: python-openqa_review
Version: 0.7.1
Release: 0
Summary: A review helper script for openQA
License: MIT
Group: Development/Languages/Python
Source0: https://github.com/okurz/openqa_review/archive/%{version}.tar.gz
Source1: %{name}-%{version}.tar.xz
Url: https://github.com/okurz/openqa_review
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-setuptools
Requires: python-setuptools
Requires: python-beautifulsoup4
Requires: python-future
Requires: python-sortedcontainers
Requires: python-humanfriendly
Requires: python-requests
Requires: python-PyYAML
BuildArch: noarch
%description
A review helper script for openQA. For more details look into the README file.
%prep
%setup -q
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README.md
%{python_sitelib}
%attr(755, -, -) %{_bindir}/openqa-review
%attr(755, -, -) %{_bindir}/openqa-review-sles-ha
%attr(755, -, -) %{_bindir}/tumblesle-release
%changelog