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

Python 2.6: remove support for EL6 RPM packages

Now that Python 2.6 is not supported anymore, we can not officially
support EL6 as a platform for RPM packages.  Let's drop all special
requirements for that platform.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 041e145d
...@@ -7,24 +7,14 @@ ...@@ -7,24 +7,14 @@
Summary: Framework with tools and libraries for Automated Testing Summary: Framework with tools and libraries for Automated Testing
Name: avocado Name: avocado
Version: 45.0 Version: 45.0
Release: 0%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Group: Development/Tools Group: Development/Tools
URL: http://avocado-framework.github.io/ URL: http://avocado-framework.github.io/
Source0: https://github.com/avocado-framework/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Source0: https://github.com/avocado-framework/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python, python-requests, fabric, pyliblzma, libvirt-python, gdb, gdb-gdbserver, python-stevedore, aexpect Requires: python, python-requests, fabric, pyliblzma, libvirt-python, gdb, gdb-gdbserver, python-stevedore, python-yaml, procps-ng, aexpect
BuildRequires: python2-devel, python-setuptools, python-docutils, python-mock, python-psutil, python-sphinx, python-requests, aexpect, pystache, yum, python-stevedore, python-lxml, perl-Test-Harness, fabric, python-flexmock BuildRequires: python2-devel, python-setuptools, python-docutils, python-mock, python-psutil, python-sphinx, python-requests, aexpect, pystache, yum, python-stevedore, python-lxml, perl-Test-Harness, fabric, python-flexmock, python-yaml, procps-ng
%if 0%{?el6}
Requires: PyYAML
Requires: python-argparse, python-importlib, python-logutils, python-unittest2, procps
BuildRequires: PyYAML
BuildRequires: python-argparse, python-importlib, python-logutils, python-unittest2, procps
%else
Requires: python-yaml, procps-ng
BuildRequires: python-yaml, procps-ng
%endif
%if 0%{?fedora} >= 25 %if 0%{?fedora} >= 25
BuildRequires: kmod BuildRequires: kmod
...@@ -115,6 +105,9 @@ examples of how to write tests on your own. ...@@ -115,6 +105,9 @@ examples of how to write tests on your own.
%{_datadir}/avocado/wrappers %{_datadir}/avocado/wrappers
%changelog %changelog
* Fri Feb 3 2017 Cleber Rosa <cleber@redhat.com> - 45.0-1
- Removed support for EL6 requirements
* Tue Jan 17 2017 Cleber Rosa <cleber@redhat.com> - 45.0-0 * Tue Jan 17 2017 Cleber Rosa <cleber@redhat.com> - 45.0-0
- New upstream release - New upstream release
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册