提交 8b7bd703 编写于 作者: L Lucas Meneghel Rodrigues 提交者: Lucas Meneghel Rodrigues

Merge pull request #122 from clebergnu/packaging_fixes

Packaging fixes
Summary: Avocado Test Framework
Name: avocado
Version: 0.8.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.readthedocs.org/
......@@ -30,9 +30,21 @@ these days a framework) to perform automated testing.
%config(noreplace)/etc/avocado/settings.ini
%{_bindir}/avocado
%{python_sitelib}/avocado*
%{_datadir}/avocado
%package tests
Summary: Avocado Test Framework Sample Tests
Requires: avocado
%description tests
The set of example tests that are part of the Avocado framework.
%files tests
%{_datadir}/avocado/tests
%changelog
* Wed Jul 30 2014 Cleber Rosa <cleber@redhat.com> - 0.8.0-2
- Split tests into avocado-tests package
* Fri Jul 18 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.8.0-1
- Bumped version to Avocado 0.8.0
......
......@@ -31,8 +31,35 @@ setup(name='avocado',
'avocado.utils',
'avocado.plugins'],
data_files=[('/etc/avocado', ['etc/settings.ini']),
('/usr/share/avocado/tests/doublefail', ['tests/doublefail/doublefail.py']),
('/usr/share/avocado/tests/doublefree', ['tests/doublefree/doublefree.py']),
('/usr/share/avocado/tests/doublefree/data', ['tests/doublefree/data/doublefree.c']),
('/usr/share/avocado/tests/errortest', ['tests/errortest/errortest.py']),
('/usr/share/avocado/tests/failtest', ['tests/failtest/failtest.py']),
('/usr/share/avocado/tests/fiotest', ['tests/fiotest/fiotest.py']),
('/usr/share/avocado/tests/fiotest/data', glob.glob('tests/fiotest/data/*')),
('/usr/share/avocado/tests/gendata', ['tests/gendata/gendata.py']),
('/usr/share/avocado/tests/linuxbuild', ['tests/linuxbuild/linuxbuild.py']),
('/usr/share/avocado/tests/linuxbuild/data', glob.glob('tests/linuxbuild/data/*')),
('/usr/share/avocado/tests/multiplextest', glob.glob('tests/multiplextest/*')),
('/usr/share/avocado/tests/skiptest', ['tests/skiptest/skiptest.py']),
('/usr/share/avocado/tests/sleeptenmin', ['tests/sleeptenmin/sleeptenmin.py']),
('/usr/share/avocado/tests/sleeptest', glob.glob('tests/sleeptest/*')),
('/usr/share/avocado/tests/failtest', glob.glob('tests/failtest/*')),
('/usr/share/avocado/tests/synctest', glob.glob('tests/synctest/synctest.py')),
('/usr/share/avocado/tests/synctest/deps', glob.glob('tests/synctest/deps/synctest.tar.bz2'))],
('/usr/share/avocado/tests/synctest/data', ['tests/synctest/data/synctest.tar.bz2']),
('/usr/share/avocado/tests/timeouttest', ['tests/timeouttest/timeouttest.py']),
('/usr/share/avocado/tests/trinity', ['tests/trinity/trinity.py']),
('/usr/share/avocado/tests/trinity/data', ['tests/trinity/data/trinity-1.4.tar.bz2']),
('/usr/share/avocado/tests/warntest', ['tests/warntest/warntest.py']),
('/usr/share/avocado/tests/whiteboard', glob.glob('tests/whiteboard/*'))],
scripts=['scripts/avocado'])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册