提交 d6b05626 编写于 作者: C Cleber Rosa

python-avocado.spec: adopt single line per requirement style

I have to say that having one requirement per line is really verbose,
but I have to admit that it makes diffs a lot easier to grasp.

Again, this syncs with the downstream SPEC file.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 968ab5c6
......@@ -13,8 +13,32 @@ Group: Development/Tools
URL: http://avocado-framework.github.io/
Source0: https://github.com/avocado-framework/%{srcname}/archive/%{commit}/%{srcname}-%{version}-%{shortcommit}.tar.gz
BuildArch: noarch
Requires: python, python-requests, python-setuptools, pyliblzma, gdb, gdb-gdbserver, python-stevedore, python-yaml, procps-ng
BuildRequires: python2-devel, python-setuptools, python-docutils, python-mock, python-psutil, python-sphinx, python-requests, pystache, yum, python-stevedore, python-lxml, perl-Test-Harness, fabric, python-flexmock, libvirt-python, python-yaml, procps-ng
BuildRequires: fabric
BuildRequires: libvirt-python
BuildRequires: perl-Test-Harness
BuildRequires: procps-ng
BuildRequires: pystache
BuildRequires: python-docutils
BuildRequires: python-flexmock
BuildRequires: python-lxml
BuildRequires: python-mock
BuildRequires: python-psutil
BuildRequires: python-requests
BuildRequires: python-setuptools
BuildRequires: python-sphinx
BuildRequires: python-stevedore
BuildRequires: python-yaml
BuildRequires: python2-devel
BuildRequires: yum
Requires: gdb
Requires: gdb-gdbserver
Requires: procps-ng
Requires: pyliblzma
Requires: python
Requires: python-requests
Requires: python-setuptools
Requires: python-stevedore
Requires: python-yaml
%if 0%{?fedora}
BuildRequires: python-aexpect
%else
......@@ -156,7 +180,8 @@ arbitrary filesystem location.
%package plugins-runner-remote
Summary: Avocado Runner for Remote Execution
Requires: %{name} == %{version}, fabric
Requires: %{name} == %{version}
Requires: fabric
%if 0%{?fedora} == 24
Requires: python-crypto
BuildRequires: python-crypto
......@@ -173,7 +198,8 @@ connection. Avocado must be previously installed on the remote machine.
%package plugins-runner-vm
Summary: Avocado Runner for libvirt VM Execution
Requires: %{name} == %{version}, %{name}-plugins-runner-remote == %{version}
Requires: %{name} == %{version}
Requires: %{name}-plugins-runner-remote == %{version}
Requires: libvirt-python
Obsoletes: %{srcname}-plugins-runner-vm < 47.0-1
Provides: %{srcname}-plugins-runner-vm = %{version}-%{release}
......@@ -188,7 +214,8 @@ itself. Avocado must be previously installed on the VM.
%package plugins-runner-docker
Summary: Avocado Runner for Execution on Docker Containers
Requires: %{name} == %{version}, %{name}-plugins-runner-remote == %{version}
Requires: %{name} == %{version}
Requires: %{name}-plugins-runner-remote == %{version}
%if 0%{?fedora}
Requires: python-aexpect
%else
......@@ -222,6 +249,7 @@ examples of how to write tests on your own.
%changelog
* Fri Mar 31 2017 Cleber Rosa <cleber@redhat.com> - 47.0-2
- Switch directory change statements to match downstream
- Change requirements style to one per line
* Wed Mar 8 2017 Cleber Rosa <cleber@redhat.com> - 47.0-1
- Rename package to python-avocado and subpackges accordingly
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册