Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
c33fb88e
A
avocado
项目概览
openeuler
/
avocado
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
avocado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
c33fb88e
编写于
3月 14, 2018
作者:
C
Cleber Rosa
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'clebergnu/rpm_python3_prep'
Signed-off-by:
N
Cleber Rosa
<
crosa@redhat.com
>
上级
0ba01687
57b827d2
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
42 addition
and
36 deletion
+42
-36
python-avocado.spec
python-avocado.spec
+42
-36
未找到文件。
python-avocado.spec
浏览文件 @
c33fb88e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
Summary: Framework with tools and libraries for Automated Testing
Summary: Framework with tools and libraries for Automated Testing
Name: python-%{srcname}
Name: python-%{srcname}
Version: 59.0
Version: 59.0
Release:
0
%{?gitrel}%{?dist}
Release:
1
%{?gitrel}%{?dist}
License: GPLv2
License: GPLv2
Group: Development/Tools
Group: Development/Tools
URL: http://avocado-framework.github.io/
URL: http://avocado-framework.github.io/
...
@@ -41,26 +41,43 @@ Source0: https://github.com/avocado-framework/%{srcname}/archive/%{commit}.tar.g
...
@@ -41,26 +41,43 @@ Source0: https://github.com/avocado-framework/%{srcname}/archive/%{commit}.tar.g
BuildArch: noarch
BuildArch: noarch
BuildRequires: fabric
BuildRequires: fabric
BuildRequires: procps-ng
BuildRequires: procps-ng
BuildRequires: kmod
%if 0%{?rhel} == 7
BuildRequires: pystache
BuildRequires: pystache
BuildRequires: python-docutils
BuildRequires: python-lxml
BuildRequires: python-lxml
BuildRequires: python-mock
BuildRequires: python-psutil
BuildRequires: python-requests
BuildRequires: python-resultsdb_api
BuildRequires: python-setuptools
BuildRequires: python-setuptools
BuildRequires: python-sphinx
BuildRequires: python-six
BuildRequires: python-stevedore
BuildRequires: python-stevedore
BuildRequires: python2-aexpect
BuildRequires: python2-devel
BuildRequires: python2-devel
BuildRequires: python2-docutils
BuildRequires: python2-mock
BuildRequires: python2-psutil
BuildRequires: python2-requests
BuildRequires: python2-resultsdb_api
BuildRequires: python2-six
BuildRequires: python2-sphinx
BuildRequires: yum
BuildRequires: yum
BuildRequires: python-aexpect
%else
BuildRequires: pystache
BuildRequires: python2-aexpect
BuildRequires: python2-devel
BuildRequires: python2-docutils
BuildRequires: python2-lxml
BuildRequires: python2-mock
BuildRequires: python2-psutil
BuildRequires: python2-requests
BuildRequires: python2-resultsdb_api
BuildRequires: python2-setuptools
BuildRequires: python2-six
BuildRequires: python2-sphinx
BuildRequires: python2-stevedore
%endif
%if %{with_tests}
%if %{with_tests}
BuildRequires: libvirt-python
BuildRequires: libvirt-python
BuildRequires: perl-Test-Harness
BuildRequires: perl-Test-Harness
%if 0%{?rhel}
%if 0%{?rhel}
BuildRequires:
python-yaml
BuildRequires:
PyYAML
%else
%else
BuildRequires: python2-yaml
BuildRequires: python2-yaml
%endif
%endif
...
@@ -70,34 +87,16 @@ Requires: gdb
...
@@ -70,34 +87,16 @@ Requires: gdb
Requires: gdb-gdbserver
Requires: gdb-gdbserver
Requires: procps-ng
Requires: procps-ng
Requires: pyliblzma
Requires: pyliblzma
%if 0%{?rhel} == 7
Requires: python
Requires: python
Requires: python-requests
Requires: python-setuptools
Requires: python-setuptools
Requires: python-stevedore
Requires: python-stevedore
Requires: python2-requests
# For compatibility reasons, let's mark this package as one that
%else
# provides the same functionality as the old package name and also
Requires: python2
# one that obsoletes the old package name, so that the new name is
Requires: python2-requests
# favored. These could (and should) be removed in the future.
Requires: python2-setuptools
# These changes are backed by the following guidelines:
Requires: python2-stevedore
# https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages
Obsoletes: %{srcname} < 47.0-1
Provides: %{srcname} = %{version}-%{release}
# For some strange reason, fabric on Fedora 24 does not require the
# python-crypto package, but the fabric code always imports it. Newer
# fabric versions, such from Fedora 25 do conditional imports (try:
# from Crypto import Random; except: Random = None) and thus do not
# need this requirement.
%if 0%{?fedora} == 24
BuildRequires: python-crypto
%endif
%if 0%{?fedora} >= 25
BuildRequires: kmod
%endif
%if 0%{?rhel} >= 7
BuildRequires: kmod
%endif
%endif
%description
%description
...
@@ -381,7 +380,7 @@ server.
...
@@ -381,7 +380,7 @@ server.
Summary: Avocado plugin to generate variants out of yaml files
Summary: Avocado plugin to generate variants out of yaml files
Requires: %{name} == %{version}
Requires: %{name} == %{version}
%if 0%{?rhel}
%if 0%{?rhel}
Requires:
python-yaml
Requires:
PyYAML
%else
%else
Requires: python2-yaml
Requires: python2-yaml
%endif
%endif
...
@@ -486,6 +485,13 @@ Again Shell code (and possibly other similar shells).
...
@@ -486,6 +485,13 @@ Again Shell code (and possibly other similar shells).
%{_libexecdir}/avocado*
%{_libexecdir}/avocado*
%changelog
%changelog
* Thu Mar 8 2018 Cleber Rosa <cleber@redhat.com> - 59.0-1
- Remove backward compatibility with name avocado
- Remove hack to workaround fabric bugs on Fedora 24
- Use real package name for python YAML package on EL
- Use exact package names on requires
- Remove unecessary conditional for kmod
* Wed Feb 28 2018 Cleber Rosa <cleber@redhat.com> - 59.0-0
* Wed Feb 28 2018 Cleber Rosa <cleber@redhat.com> - 59.0-0
- New upstream release
- New upstream release
- Added glib plugin subpackage
- Added glib plugin subpackage
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录