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

Examples: add missing files

A number of example files are not currently being packaged.  Let's
install and package them.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 8d4f32ed
......@@ -361,13 +361,18 @@ Some of them are used as functional tests of the framework, others serve as
examples of how to write tests on your own.
%files examples
%{_datadir}/avocado/gdb-prerun-scripts
%{_datadir}/avocado/plugins
%{_datadir}/avocado/tests
%{_datadir}/avocado/wrappers
%{_datadir}/avocado/yaml_to_mux
%{_datadir}/avocado/yaml_to_mux_loader
%changelog
* Tue Aug 22 2017 Cleber Rosa <cleber@redhat.com> - 53.0-1
- Use variable name for configuration dir
- Clean up old changelog entries
- Include other example files
* Tue Aug 15 2017 Cleber Rosa <cleber@redhat.com> - 53.0-0
- New upstream release
......
......@@ -82,6 +82,33 @@ def get_data_files():
glob.glob('examples/wrappers/*.sh'))]
data_files.append((get_avocado_libexec_dir(), glob.glob('libexec/*')))
data_files += [(get_dir(['usr', 'share', 'avocado', 'gdb-prerun-scripts'],
['gdb-prerun-scripts']),
glob.glob('examples/gdb-prerun-scripts/*'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'plugins',
'job-pre-post'],
['plugins/job-pre-post']),
glob.glob('examples/plugins/job-pre-post/README.rst'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'plugins',
'job-pre-post', 'mail'],
['plugins/job-pre-post/mail']),
glob.glob('examples/plugins/job-pre-post/mail/*'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'plugins',
'job-pre-post', 'sleep'],
['plugins/job-pre-post/sleep']),
glob.glob('examples/plugins/job-pre-post/sleep/*'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'yaml_to_mux'],
['yaml_to_mux']),
glob.glob('examples/yaml_to_mux/*.yaml'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'yaml_to_mux', 'hw'],
['yaml_to_mux/hw']),
glob.glob('examples/yaml_to_mux/hw/*.yaml'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'yaml_to_mux', 'os'],
['yaml_to_mux/os']),
glob.glob('examples/yaml_to_mux/os/*.yaml'))]
data_files += [(get_dir(['usr', 'share', 'avocado', 'yaml_to_mux_loader'],
['yaml_to_mux_loader']),
glob.glob('examples/yaml_to_mux_loader/*.yaml'))]
return data_files
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册