python-avocado.spec 36.8 KB
Newer Older
1
%global srcname avocado
2 3 4

# Conditional for release vs. snapshot builds. Set to 1 for release build.
%if ! 0%{?rel_build:1}
5
    %global rel_build 1
6 7 8 9
%endif

# Settings used for build from snapshots.
%if 0%{?rel_build}
10
    %global gittar          %{srcname}-%{version}.tar.gz
11
%else
12
    %if ! 0%{?commit:1}
C
Cleber Rosa 已提交
13
        %global commit     ce5b5ade31079742591b8bcb08c04f9aa64a80ac
14 15
    %endif
    %if ! 0%{?commit_date:1}
C
Cleber Rosa 已提交
16
        %global commit_date 20181217
17
    %endif
18 19 20
    %global shortcommit     %(c=%{commit};echo ${c:0:8})
    %global gitrel          .%{commit_date}git%{shortcommit}
    %global gittar          %{srcname}-%{shortcommit}.tar.gz
21 22
%endif

23 24 25
# Selftests are provided but may need to be skipped because many of
# the functional tests are time and resource sensitive and can
# cause race conditions and random build failures. They are
26 27 28
# enabled by default.
%global with_tests 1

C
Cleber Rosa 已提交
29 30 31 32 33 34
%if 0%{?rhel}
%global with_python3 0
%else
%global with_python3 1
%endif

35 36 37 38 39 40 41
# Python 3 version of Fabric package is new starting with Fedora 29
%if %{with_python3} && 0%{?fedora} >= 29
%global with_python3_fabric 1
%else
%global with_python3_fabric 0
%endif

42 43 44 45 46 47 48 49 50
# Python2 binary packages are being removed
# See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
# python2-resultsdb_api package has been removed in F30
%if (0%{?fedora} && 0%{?fedora} <= 29) || (0%{?rhel} && 0%{?rhel} <= 7)
%global with_python2_resultsdb 1
%else
%global with_python2_resultsdb 0
%endif

51 52 53 54 55
# The Python dependencies are already tracked by the python2
# or python3 "Requires".  This filters out the python binaries
# from the RPM automatic requires/provides scanner.
%global __requires_exclude ^/usr/bin/python[23]$

56
Summary: Framework with tools and libraries for Automated Testing
57
Name: python-%{srcname}
C
Cleber Rosa 已提交
58
Version: 67.0
59
Release: 1%{?gitrel}%{?dist}
60 61
License: GPLv2
Group: Development/Tools
62
URL: http://avocado-framework.github.io/
63 64 65 66 67
%if 0%{?rel_build}
Source0: https://github.com/avocado-framework/%{srcname}/archive/%{version}.tar.gz#/%{gittar}
%else
Source0: https://github.com/avocado-framework/%{srcname}/archive/%{commit}.tar.gz#/%{gittar}
%endif
68
BuildArch: noarch
69
BuildRequires: procps-ng
C
Cleber Rosa 已提交
70
BuildRequires: kmod
71 72 73 74 75
%if 0%{?fedora} >= 29
BuildRequires: python2-fabric3
%else
BuildRequires: fabric
%endif
76 77 78
%if %{with_python3_fabric}
BuildRequires: python3-fabric3
%endif
C
Cleber Rosa 已提交
79 80 81
%if 0%{?fedora} >= 30
BuildRequires: glibc-all-langpacks
%endif
82

83
%if 0%{?rhel} == 7
84
BuildRequires: python-jinja2
85 86 87
BuildRequires: python-lxml
BuildRequires: python-setuptools
BuildRequires: python-stevedore
88
BuildRequires: python-enum34
89
BuildRequires: python2-aexpect
90
BuildRequires: python2-devel
91 92 93 94 95 96
BuildRequires: python2-docutils
BuildRequires: python2-mock
BuildRequires: python2-psutil
BuildRequires: python2-requests
BuildRequires: python2-six
BuildRequires: python2-sphinx
97
BuildRequires: yum
98
%else
99
BuildRequires: python2-jinja2
100 101 102
BuildRequires: python2-aexpect
BuildRequires: python2-devel
BuildRequires: python2-docutils
103
BuildRequires: python2-enum34
104 105 106 107 108 109 110 111
BuildRequires: python2-lxml
BuildRequires: python2-mock
BuildRequires: python2-psutil
BuildRequires: python2-requests
BuildRequires: python2-setuptools
BuildRequires: python2-six
BuildRequires: python2-sphinx
BuildRequires: python2-stevedore
112 113 114 115
%endif
%if 0%{?fedora} && 0%{?fedora} <= 29
# Python2 binary packages are being removed
# See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
C
Cleber Rosa 已提交
116
BuildRequires: python2-pycdlib
117 118
%endif
%if %{with_python2_resultsdb}
119
BuildRequires: python2-resultsdb_api
120
%endif
121

C
Cleber Rosa 已提交
122
%if %{with_python3}
123
BuildRequires: python3-jinja2
C
Cleber Rosa 已提交
124 125 126 127 128 129
BuildRequires: python3-aexpect
BuildRequires: python3-devel
BuildRequires: python3-docutils
BuildRequires: python3-lxml
BuildRequires: python3-psutil
BuildRequires: python3-requests
130
BuildRequires: python3-resultsdb_api
C
Cleber Rosa 已提交
131 132 133 134
BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildRequires: python3-sphinx
BuildRequires: python3-stevedore
C
Cleber Rosa 已提交
135
BuildRequires: python3-pycdlib
C
Cleber Rosa 已提交
136 137
%endif

138
%if %{with_tests}
139 140
BuildRequires: genisoimage
BuildRequires: libcdio
141 142
BuildRequires: libvirt-python
BuildRequires: perl-Test-Harness
143
BuildRequires: psmisc
144
%if 0%{?rhel}
145
BuildRequires: PyYAML
146
BuildRequires: python-netifaces
147 148
%else
BuildRequires: python2-yaml
149
BuildRequires: python2-netifaces
150
%endif
C
Cleber Rosa 已提交
151
%if %{with_python3}
152
BuildRequires: python3-libvirt
C
Cleber Rosa 已提交
153
BuildRequires: python3-yaml
154
BuildRequires: python3-netifaces
C
Cleber Rosa 已提交
155
%endif
156 157
%endif

158 159 160 161 162 163 164
%description
Avocado is a set of tools and libraries (what people call
these days a framework) to perform automated testing.

%package -n python2-%{srcname}
Summary: %{summary}
Requires: %{name}-common == %{version}
165 166 167 168
Requires: gdb
Requires: gdb-gdbserver
Requires: procps-ng
Requires: pyliblzma
169
%if 0%{?rhel} == 7
170
Requires: python
171
Requires: python-enum34
172
Requires: python-setuptools
173
Requires: python-six
174
Requires: python-stevedore
175 176 177
Requires: python2-requests
%else
Requires: python2
178
Requires: python2-enum34
179 180
Requires: python2-requests
Requires: python2-setuptools
181
Requires: python2-six
182
Requires: python2-stevedore
183 184 185 186
%endif
%if 0%{?fedora} && 0%{?fedora} <= 29
# Python2 binary packages are being removed
# See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
C
Cleber Rosa 已提交
187
Requires: python2-pycdlib
188
%endif
189 190 191 192 193 194
%{?python_provide:%python_provide python2-%{srcname}}

%description -n python2-%{srcname}
Avocado is a set of tools and libraries (what people call
these days a framework) to perform automated testing.

C
Cleber Rosa 已提交
195
%if %{with_python3}
C
Cleber Rosa 已提交
196 197
%package -n python3-%{srcname}
Summary: %{summary}
198 199 200 201 202
Requires: %{name}-common == %{version}
Requires: gdb
Requires: gdb-gdbserver
Requires: procps-ng
Requires: pyliblzma
C
Cleber Rosa 已提交
203 204 205 206 207
Requires: python3
Requires: python3-requests
Requires: python3-setuptools
Requires: python3-six
Requires: python3-stevedore
C
Cleber Rosa 已提交
208
Requires: python3-pycdlib
209
%{?python_provide:%python_provide python3-%{srcname}}
C
Cleber Rosa 已提交
210 211 212 213

%description -n python3-%{srcname}
Avocado is a set of tools and libraries (what people call
these days a framework) to perform automated testing.
C
Cleber Rosa 已提交
214
%endif
C
Cleber Rosa 已提交
215

216
%prep
217 218 219
%if 0%{?rel_build}
%setup -q -n %{srcname}-%{version}
%else
220
%setup -q -n %{srcname}-%{commit}
221
%endif
222 223 224 225
# package plugins-runner-vm requires libvirt-python, but the RPM
# version of libvirt-python does not publish the egg info and this
# causes that dep to be attempted to be installed by pip
sed -e "s/'libvirt-python'//" -i optional_plugins/runner_vm/setup.py
226 227

%build
228 229
%if 0%{?rhel} == 7
sed -e "s/'six>=1.10.0'/'six>=1.9.0'/" -i setup.py
230 231 232 233
sed -e "s/'PyYAML>=4.2b2'/'PyYAML>=3.10'/" -i optional_plugins/varianter_yaml_to_mux/setup.py
%endif
%if 0%{?fedora} && 0%{?fedora} < 29
sed -e "s/'PyYAML>=4.2b2'/'PyYAML>=3.12'/" -i optional_plugins/varianter_yaml_to_mux/setup.py
234
%endif
235
%py2_build
C
Cleber Rosa 已提交
236 237 238
%if %{with_python3}
%py3_build
%endif
239
pushd optional_plugins/html
240
%py2_build
C
Cleber Rosa 已提交
241 242 243
%if %{with_python3}
%py3_build
%endif
244 245
popd
pushd optional_plugins/runner_remote
246
%py2_build
247 248 249
%if %{with_python3_fabric}
%py3_build
%endif
250 251
popd
pushd optional_plugins/runner_vm
252
%py2_build
253 254 255
%if %{with_python3_fabric}
%py3_build
%endif
256 257
popd
pushd optional_plugins/runner_docker
258
%py2_build
259 260 261
%if %{with_python3_fabric}
%py3_build
%endif
262
popd
263
pushd optional_plugins/resultsdb
264
%if %{with_python2_resultsdb}
265
%py2_build
266
%endif
267 268 269
%if %{with_python3}
%py3_build
%endif
270
popd
271
pushd optional_plugins/varianter_yaml_to_mux
272
%py2_build
C
Cleber Rosa 已提交
273 274 275
%if %{with_python3}
%py3_build
%endif
276
popd
277
pushd optional_plugins/loader_yaml
278
%py2_build
C
Cleber Rosa 已提交
279 280 281
%if %{with_python3}
%py3_build
%endif
282
popd
C
Cleber Rosa 已提交
283
pushd optional_plugins/golang
284
%py2_build
C
Cleber Rosa 已提交
285 286 287
%if %{with_python3}
%py3_build
%endif
C
Cleber Rosa 已提交
288
popd
289
pushd optional_plugins/varianter_pict
290
%py2_build
C
Cleber Rosa 已提交
291 292 293
%if %{with_python3}
%py3_build
%endif
294
popd
C
Cleber Rosa 已提交
295 296 297 298 299 300
pushd optional_plugins/varianter_cit
%py2_build
%if %{with_python3}
%py3_build
%endif
popd
301
pushd optional_plugins/result_upload
302
%py2_build
C
Cleber Rosa 已提交
303 304 305
%if %{with_python3}
%py3_build
%endif
306
popd
C
Cleber Rosa 已提交
307
pushd optional_plugins/glib
308
%py2_build
C
Cleber Rosa 已提交
309 310 311
%if %{with_python3}
%py3_build
%endif
C
Cleber Rosa 已提交
312
popd
313
%{__make} man
314 315

%install
316 317 318 319
%py2_install
%{__mv} %{buildroot}%{python2_sitelib}/avocado/etc %{buildroot}
mv %{buildroot}%{_bindir}/avocado %{buildroot}%{_bindir}/avocado-%{python2_version}
ln -s avocado-%{python2_version} %{buildroot}%{_bindir}/avocado-2
M
Merlin Mathesius 已提交
320 321
mv %{buildroot}%{_bindir}/avocado-rest-client %{buildroot}%{_bindir}/avocado-rest-client-%{python2_version}
ln -s avocado-rest-client-%{python2_version} %{buildroot}%{_bindir}/avocado-rest-client-2
C
Cleber Rosa 已提交
322 323 324 325
%if %{with_python3}
%py3_install
mv %{buildroot}%{_bindir}/avocado %{buildroot}%{_bindir}/avocado-%{python3_version}
ln -s avocado-%{python3_version} %{buildroot}%{_bindir}/avocado-3
M
Merlin Mathesius 已提交
326 327
mv %{buildroot}%{_bindir}/avocado-rest-client %{buildroot}%{_bindir}/avocado-rest-client-%{python3_version}
ln -s avocado-rest-client-%{python3_version} %{buildroot}%{_bindir}/avocado-rest-client-3
C
Cleber Rosa 已提交
328 329 330 331 332 333
# configuration is held at /etc/avocado only and part of the
# python-avocado-common package
%{__rm} -rf %{buildroot}%{python3_sitelib}/avocado/etc
# ditto for libexec files
%{__rm} -rf %{buildroot}%{python3_sitelib}/avocado/libexec
%endif
334
ln -s avocado-%{python2_version} %{buildroot}%{_bindir}/avocado
M
Merlin Mathesius 已提交
335
ln -s avocado-rest-client-%{python2_version} %{buildroot}%{_bindir}/avocado-rest-client
336
pushd optional_plugins/html
337
%py2_install
C
Cleber Rosa 已提交
338 339 340
%if %{with_python3}
%py3_install
%endif
341 342
popd
pushd optional_plugins/runner_remote
343
%py2_install
344 345 346
%if %{with_python3_fabric}
%py3_install
%endif
347 348
popd
pushd optional_plugins/runner_vm
349
%py2_install
350 351 352
%if %{with_python3_fabric}
%py3_install
%endif
353 354
popd
pushd optional_plugins/runner_docker
355
%py2_install
356 357 358
%if %{with_python3_fabric}
%py3_install
%endif
359
popd
360
pushd optional_plugins/resultsdb
361
%if %{with_python2_resultsdb}
362
%py2_install
363
%endif
364 365 366
%if %{with_python3}
%py3_install
%endif
367
popd
368
pushd optional_plugins/varianter_yaml_to_mux
369
%py2_install
C
Cleber Rosa 已提交
370 371 372
%if %{with_python3}
%py3_install
%endif
373
popd
374
pushd optional_plugins/loader_yaml
375
%py2_install
C
Cleber Rosa 已提交
376 377 378
%if %{with_python3}
%py3_install
%endif
379
popd
C
Cleber Rosa 已提交
380
pushd optional_plugins/golang
381
%py2_install
C
Cleber Rosa 已提交
382 383 384
%if %{with_python3}
%py3_install
%endif
C
Cleber Rosa 已提交
385
popd
386
pushd optional_plugins/varianter_pict
387
%py2_install
C
Cleber Rosa 已提交
388 389 390
%if %{with_python3}
%py3_install
%endif
391
popd
C
Cleber Rosa 已提交
392 393 394 395 396 397
pushd optional_plugins/varianter_cit
%py2_install
%if %{with_python3}
%py3_install
%endif
popd
398
pushd optional_plugins/result_upload
399
%py2_install
C
Cleber Rosa 已提交
400 401 402
%if %{with_python3}
%py3_install
%endif
403
popd
C
Cleber Rosa 已提交
404
pushd optional_plugins/glib
405
%py2_install
C
Cleber Rosa 已提交
406 407 408
%if %{with_python3}
%py3_install
%endif
C
Cleber Rosa 已提交
409
popd
C
Cleber Rosa 已提交
410 411
%{__mkdir} -p %{buildroot}%{_mandir}/man1
%{__install} -m 0644 man/avocado.1 %{buildroot}%{_mandir}/man1/avocado.1
412
%{__install} -m 0644 man/avocado-rest-client.1 %{buildroot}%{_mandir}/man1/avocado-rest-client.1
413
%{__install} -d -m 0755 %{buildroot}%{_sharedstatedir}/avocado/data
414 415 416 417 418 419 420 421
%{__install} -d -m 0755 %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/gdb-prerun-scripts %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/plugins %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/tests %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/wrappers %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/yaml_to_mux %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/yaml_to_mux_loader %{buildroot}%{_docdir}/avocado
%{__cp} -r examples/varianter_pict %{buildroot}%{_docdir}/avocado
C
Cleber Rosa 已提交
422
%{__cp} -r examples/varianter_cit %{buildroot}%{_docdir}/avocado
423
find %{buildroot}%{_docdir}/avocado -type f -name '*.py' -exec %{__chmod} -c -x {} ';'
424
%{__mkdir} -p %{buildroot}%{_libexecdir}/avocado
425
%{__mv} %{buildroot}%{python2_sitelib}/avocado/libexec/* %{buildroot}%{_libexecdir}/avocado
426

427
%check
428
%if %{with_tests}
429
%{__python2} setup.py develop --user
430
pushd optional_plugins/html
431
%{__python2} setup.py develop --user
432 433
popd
pushd optional_plugins/runner_remote
434
%{__python2} setup.py develop --user
435 436
popd
pushd optional_plugins/runner_vm
437
%{__python2} setup.py develop --user
438 439
popd
pushd optional_plugins/runner_docker
440
%{__python2} setup.py develop --user
441
popd
442
pushd optional_plugins/resultsdb
443
%if %{with_python2_resultsdb}
444
%{__python2} setup.py develop --user
445
%endif
446
popd
447
pushd optional_plugins/varianter_yaml_to_mux
448
%{__python2} setup.py develop --user
449
popd
450
pushd optional_plugins/loader_yaml
451
%{__python2} setup.py develop --user
452
popd
C
Cleber Rosa 已提交
453
pushd optional_plugins/golang
454
%{__python2} setup.py develop --user
C
Cleber Rosa 已提交
455
popd
456
pushd optional_plugins/varianter_pict
457
%{__python2} setup.py develop --user
458
popd
C
Cleber Rosa 已提交
459 460 461
pushd optional_plugins/varianter_cit
%{__python2} setup.py develop --user
popd
462
pushd optional_plugins/result_upload
463
%{__python2} setup.py develop --user
464
popd
C
Cleber Rosa 已提交
465
pushd optional_plugins/glib
466
%{__python2} setup.py develop --user
C
Cleber Rosa 已提交
467
popd
468 469 470 471 472
# LANG: to make the results predictable, we pin the language
# that is used during test execution.
# AVOCADO_CHECK_LEVEL: package build environments have the least
# amount of resources we have observed so far.  Let's avoid tests that
# require too much resources or are time sensitive
473 474 475 476 477
# UNITTEST_AVOCADO_CMD: the "avocado" command to be run during
# unittests needs to be a Python specific one on Fedora >= 28.  Let's
# use the one that was setup in the source tree by the "setup.py
# develop --user" step and is guaranteed to be version specific.
LANG=en_US.UTF-8 AVOCADO_CHECK_LEVEL=0 UNITTEST_AVOCADO_CMD=$HOME/.local/bin/avocado %{__python2} selftests/run
C
Cleber Rosa 已提交
478 479 480 481 482
%if %{with_python3}
%{__python3} setup.py develop --user
pushd optional_plugins/html
%{__python3} setup.py develop --user
popd
483 484 485 486 487 488 489 490 491 492 493 494 495 496
%if %{with_python3_fabric}
pushd optional_plugins/runner_remote
%{__python3} setup.py develop --user
popd
pushd optional_plugins/runner_vm
%{__python3} setup.py develop --user
popd
pushd optional_plugins/runner_docker
%{__python3} setup.py develop --user
popd
%endif
pushd optional_plugins/resultsdb
%{__python3} setup.py develop --user
popd
C
Cleber Rosa 已提交
497 498 499 500 501 502 503 504 505 506 507 508
pushd optional_plugins/varianter_yaml_to_mux
%{__python3} setup.py develop --user
popd
pushd optional_plugins/loader_yaml
%{__python3} setup.py develop --user
popd
pushd optional_plugins/golang
%{__python3} setup.py develop --user
popd
pushd optional_plugins/varianter_pict
%{__python3} setup.py develop --user
popd
C
Cleber Rosa 已提交
509 510 511
pushd optional_plugins/varianter_cit
%{__python3} setup.py develop --user
popd
C
Cleber Rosa 已提交
512 513 514 515 516 517
pushd optional_plugins/result_upload
%{__python3} setup.py develop --user
popd
pushd optional_plugins/glib
%{__python3} setup.py develop --user
popd
518
LANG=en_US.UTF-8 AVOCADO_CHECK_LEVEL=0 UNITTEST_AVOCADO_CMD=$HOME/.local/bin/avocado %{__python3} selftests/run
C
Cleber Rosa 已提交
519
%endif
520
%endif
521

522
%files -n python2-%{srcname}
523 524
%defattr(-,root,root,-)
%doc README.rst LICENSE
525
%{python2_sitelib}/avocado*
526
%{_bindir}/avocado
527 528
%{_bindir}/avocado-2
%{_bindir}/avocado-%{python2_version}
529
%{_bindir}/avocado-rest-client
M
Merlin Mathesius 已提交
530 531
%{_bindir}/avocado-rest-client-2
%{_bindir}/avocado-rest-client-%{python2_version}
532 533 534 535 536 537 538 539 540
%exclude %{python2_sitelib}/avocado_result_html*
%exclude %{python2_sitelib}/avocado_runner_remote*
%exclude %{python2_sitelib}/avocado_runner_vm*
%exclude %{python2_sitelib}/avocado_runner_docker*
%exclude %{python2_sitelib}/avocado_resultsdb*
%exclude %{python2_sitelib}/avocado_loader_yaml*
%exclude %{python2_sitelib}/avocado_golang*
%exclude %{python2_sitelib}/avocado_varianter_yaml_to_mux*
%exclude %{python2_sitelib}/avocado_varianter_pict*
C
Cleber Rosa 已提交
541
%exclude %{python2_sitelib}/avocado_varianter_cit*
542 543 544 545 546 547 548 549 550
%exclude %{python2_sitelib}/avocado_result_upload*
%exclude %{python2_sitelib}/avocado_glib*
%exclude %{python2_sitelib}/avocado_framework_plugin_result_html*
%exclude %{python2_sitelib}/avocado_framework_plugin_runner_remote*
%exclude %{python2_sitelib}/avocado_framework_plugin_runner_vm*
%exclude %{python2_sitelib}/avocado_framework_plugin_runner_docker*
%exclude %{python2_sitelib}/avocado_framework_plugin_resultsdb*
%exclude %{python2_sitelib}/avocado_framework_plugin_varianter_yaml_to_mux*
%exclude %{python2_sitelib}/avocado_framework_plugin_varianter_pict*
C
Cleber Rosa 已提交
551
%exclude %{python2_sitelib}/avocado_framework_plugin_varianter_cit*
552 553 554 555 556
%exclude %{python2_sitelib}/avocado_framework_plugin_loader_yaml*
%exclude %{python2_sitelib}/avocado_framework_plugin_golang*
%exclude %{python2_sitelib}/avocado_framework_plugin_result_upload*
%exclude %{python2_sitelib}/avocado_framework_plugin_glib*
%exclude %{python2_sitelib}/avocado/libexec*
557
%exclude %{python2_sitelib}/tests*
558

C
Cleber Rosa 已提交
559
%if %{with_python3}
C
Cleber Rosa 已提交
560 561 562 563 564
%files -n python3-%{srcname}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{_bindir}/avocado-3
%{_bindir}/avocado-%{python3_version}
M
Merlin Mathesius 已提交
565 566
%{_bindir}/avocado-rest-client-3
%{_bindir}/avocado-rest-client-%{python3_version}
C
Cleber Rosa 已提交
567 568
%{python3_sitelib}/avocado*
%exclude %{python3_sitelib}/avocado_result_html*
569 570 571 572
%exclude %{python3_sitelib}/avocado_runner_remote*
%exclude %{python3_sitelib}/avocado_runner_vm*
%exclude %{python3_sitelib}/avocado_runner_docker*
%exclude %{python3_sitelib}/avocado_resultsdb*
C
Cleber Rosa 已提交
573 574 575 576
%exclude %{python3_sitelib}/avocado_loader_yaml*
%exclude %{python3_sitelib}/avocado_golang*
%exclude %{python3_sitelib}/avocado_varianter_yaml_to_mux*
%exclude %{python3_sitelib}/avocado_varianter_pict*
C
Cleber Rosa 已提交
577
%exclude %{python3_sitelib}/avocado_varianter_cit*
C
Cleber Rosa 已提交
578 579 580
%exclude %{python3_sitelib}/avocado_result_upload*
%exclude %{python3_sitelib}/avocado_glib*
%exclude %{python3_sitelib}/avocado_framework_plugin_result_html*
581 582 583 584
%exclude %{python3_sitelib}/avocado_framework_plugin_runner_remote*
%exclude %{python3_sitelib}/avocado_framework_plugin_runner_vm*
%exclude %{python3_sitelib}/avocado_framework_plugin_runner_docker*
%exclude %{python3_sitelib}/avocado_framework_plugin_resultsdb*
C
Cleber Rosa 已提交
585 586
%exclude %{python3_sitelib}/avocado_framework_plugin_varianter_yaml_to_mux*
%exclude %{python3_sitelib}/avocado_framework_plugin_varianter_pict*
C
Cleber Rosa 已提交
587
%exclude %{python3_sitelib}/avocado_framework_plugin_varianter_cit*
C
Cleber Rosa 已提交
588 589 590 591
%exclude %{python3_sitelib}/avocado_framework_plugin_loader_yaml*
%exclude %{python3_sitelib}/avocado_framework_plugin_golang*
%exclude %{python3_sitelib}/avocado_framework_plugin_result_upload*
%exclude %{python3_sitelib}/avocado_framework_plugin_glib*
592
%exclude %{python3_sitelib}/tests*
C
Cleber Rosa 已提交
593
%endif
C
Cleber Rosa 已提交
594

C
Cleber Rosa 已提交
595 596 597 598 599 600 601
%package common
Summary: Avocado common files

%description common
Common files (such as configuration) for the Avocado Testing Framework.

%files common
M
Merlin Mathesius 已提交
602 603
%{_mandir}/man1/avocado.1.gz
%{_mandir}/man1/avocado-rest-client.1.gz
C
Cleber Rosa 已提交
604 605 606
%dir %{_sysconfdir}/avocado
%dir %{_sysconfdir}/avocado/conf.d
%dir %{_sysconfdir}/avocado/sysinfo
M
Merlin Mathesius 已提交
607 608
%dir %{_sysconfdir}/avocado/scripts
%dir %{_sysconfdir}/avocado/scripts/job
C
Cleber Rosa 已提交
609 610 611 612 613 614 615 616 617 618 619 620 621
%dir %{_sysconfdir}/avocado/scripts/job/pre.d
%dir %{_sysconfdir}/avocado/scripts/job/post.d
%dir %{_sharedstatedir}/avocado
%config(noreplace)%{_sysconfdir}/avocado/avocado.conf
%config(noreplace)%{_sysconfdir}/avocado/conf.d/README
%config(noreplace)%{_sysconfdir}/avocado/conf.d/gdb.conf
%config(noreplace)%{_sysconfdir}/avocado/conf.d/jobscripts.conf
%config(noreplace)%{_sysconfdir}/avocado/sysinfo/commands
%config(noreplace)%{_sysconfdir}/avocado/sysinfo/files
%config(noreplace)%{_sysconfdir}/avocado/sysinfo/profilers
%config(noreplace)%{_sysconfdir}/avocado/scripts/job/pre.d/README
%config(noreplace)%{_sysconfdir}/avocado/scripts/job/post.d/README

622
%package -n python2-%{srcname}-plugins-output-html
623
Summary: Avocado HTML report plugin
624 625 626 627 628 629
Requires: python2-%{srcname} == %{version},
%if 0%{?rhel} == 7
Requires: python-jinja2
%else
Requires: python2-jinja2
%endif
630

631
%description -n python2-%{srcname}-plugins-output-html
632 633 634 635
Adds to avocado the ability to generate an HTML report at every job results
directory. It also gives the user the ability to write a report on an
arbitrary filesystem location.

636 637 638
%files -n python2-%{srcname}-plugins-output-html
%{python2_sitelib}/avocado_result_html*
%{python2_sitelib}/avocado_framework_plugin_result_html*
639

C
Cleber Rosa 已提交
640
%if %{with_python3}
C
Cleber Rosa 已提交
641 642
%package -n python3-%{srcname}-plugins-output-html
Summary: Avocado HTML report plugin
643
Requires: python3-%{srcname} == %{version}, python3-jinja2
C
Cleber Rosa 已提交
644 645 646 647 648 649 650 651 652

%description -n python3-%{srcname}-plugins-output-html
Adds to avocado the ability to generate an HTML report at every job results
directory. It also gives the user the ability to write a report on an
arbitrary filesystem location.

%files -n python3-%{srcname}-plugins-output-html
%{python3_sitelib}/avocado_result_html*
%{python3_sitelib}/avocado_framework_plugin_result_html*
C
Cleber Rosa 已提交
653
%endif
C
Cleber Rosa 已提交
654

655
%package -n python2-%{srcname}-plugins-runner-remote
656
Summary: Avocado Runner for Remote Execution
657
Requires: python2-%{srcname} == %{version}
658 659 660
%if 0%{?fedora} >= 29
Requires: python2-fabric3
%else
661
Requires: fabric
662
%endif
663

664
%description -n python2-%{srcname}-plugins-runner-remote
665 666 667
Allows Avocado to run jobs on a remote machine, by means of an SSH
connection.  Avocado must be previously installed on the remote machine.

668 669 670
%files -n python2-%{srcname}-plugins-runner-remote
%{python2_sitelib}/avocado_runner_remote*
%{python2_sitelib}/avocado_framework_plugin_runner_remote*
671

672 673 674 675 676 677 678 679 680 681 682 683 684 685 686
%if %{with_python3_fabric}
%package -n python3-%{srcname}-plugins-runner-remote
Summary: Avocado Runner for Remote Execution
Requires: python3-%{srcname} == %{version}
Requires: python3-fabric3

%description -n python3-%{srcname}-plugins-runner-remote
Allows Avocado to run jobs on a remote machine, by means of an SSH
connection.  Avocado must be previously installed on the remote machine.

%files -n python3-%{srcname}-plugins-runner-remote
%{python3_sitelib}/avocado_runner_remote*
%{python3_sitelib}/avocado_framework_plugin_runner_remote*
%endif

687
%package -n python2-%{srcname}-plugins-runner-vm
688
Summary: Avocado Runner for libvirt VM Execution
689 690
Requires: python2-%{srcname} == %{version}
Requires: python2-%{srcname}-plugins-runner-remote == %{version}
691 692
Requires: libvirt-python

693
%description -n python2-%{srcname}-plugins-runner-vm
694 695 696 697
Allows Avocado to run jobs on a libvirt based VM, by means of
interaction with a libvirt daemon and an SSH connection to the VM
itself.  Avocado must be previously installed on the VM.

698 699 700
%files -n python2-%{srcname}-plugins-runner-vm
%{python2_sitelib}/avocado_runner_vm*
%{python2_sitelib}/avocado_framework_plugin_runner_vm*
701

702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718
%if %{with_python3_fabric}
%package -n python3-%{srcname}-plugins-runner-vm
Summary: Avocado Runner for libvirt VM Execution
Requires: python3-%{srcname} == %{version}
Requires: python3-%{srcname}-plugins-runner-remote == %{version}
Requires: python3-libvirt

%description -n python3-%{srcname}-plugins-runner-vm
Allows Avocado to run jobs on a libvirt based VM, by means of
interaction with a libvirt daemon and an SSH connection to the VM
itself.  Avocado must be previously installed on the VM.

%files -n python3-%{srcname}-plugins-runner-vm
%{python3_sitelib}/avocado_runner_vm*
%{python3_sitelib}/avocado_framework_plugin_runner_vm*
%endif

719
%package -n python2-%{srcname}-plugins-runner-docker
720
Summary: Avocado Runner for Execution on Docker Containers
721 722 723
Requires: python2-%{srcname} == %{version}
Requires: python2-%{srcname}-plugins-runner-remote == %{version}
Requires: python2-aexpect
724

725
%description -n python2-%{srcname}-plugins-runner-docker
726 727 728 729
Allows Avocado to run jobs on a Docker container by interacting with a
Docker daemon and attaching to the container itself.  Avocado must
be previously installed on the container.

730 731 732
%files -n python2-%{srcname}-plugins-runner-docker
%{python2_sitelib}/avocado_runner_docker*
%{python2_sitelib}/avocado_framework_plugin_runner_docker*
733

734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750
%if %{with_python3_fabric}
%package -n python3-%{srcname}-plugins-runner-docker
Summary: Avocado Runner for Execution on Docker Containers
Requires: python3-%{srcname} == %{version}
Requires: python3-%{srcname}-plugins-runner-remote == %{version}
Requires: python3-aexpect

%description -n python3-%{srcname}-plugins-runner-docker
Allows Avocado to run jobs on a Docker container by interacting with a
Docker daemon and attaching to the container itself.  Avocado must
be previously installed on the container.

%files -n python3-%{srcname}-plugins-runner-docker
%{python3_sitelib}/avocado_runner_docker*
%{python3_sitelib}/avocado_framework_plugin_runner_docker*
%endif

751
%if %{with_python2_resultsdb}
752
%package -n python2-%{srcname}-plugins-resultsdb
753
Summary: Avocado plugin to propagate job results to ResultsDB
754 755
Requires: python2-%{srcname} == %{version}
Requires: python2-resultsdb_api
756

757
%description -n python2-%{srcname}-plugins-resultsdb
758 759 760
Allows Avocado to send job results directly to a ResultsDB
server.

761 762 763
%files -n python2-%{srcname}-plugins-resultsdb
%{python2_sitelib}/avocado_resultsdb*
%{python2_sitelib}/avocado_framework_plugin_resultsdb*
764
%config(noreplace)%{_sysconfdir}/avocado/conf.d/resultsdb.conf
765
%endif
766

767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782
%if %{with_python3}
%package -n python3-%{srcname}-plugins-resultsdb
Summary: Avocado plugin to propagate job results to ResultsDB
Requires: python3-%{srcname} == %{version}
Requires: python3-resultsdb_api

%description -n python3-%{srcname}-plugins-resultsdb
Allows Avocado to send job results directly to a ResultsDB
server.

%files -n python3-%{srcname}-plugins-resultsdb
%{python3_sitelib}/avocado_resultsdb*
%{python3_sitelib}/avocado_framework_plugin_resultsdb*
%config(noreplace)%{_sysconfdir}/avocado/conf.d/resultsdb.conf
%endif

783
%package -n python2-%{srcname}-plugins-varianter-yaml-to-mux
784
Summary: Avocado plugin to generate variants out of yaml files
785
Requires: python2-%{srcname} == %{version}
786
%if 0%{?rhel}
787
Requires: PyYAML
788 789 790
%else
Requires: python2-yaml
%endif
791

792
%description -n python2-%{srcname}-plugins-varianter-yaml-to-mux
793 794 795
Can be used to produce multiple test variants with test parameters
defined in a yaml file(s).

796 797 798
%files -n python2-%{srcname}-plugins-varianter-yaml-to-mux
%{python2_sitelib}/avocado_varianter_yaml_to_mux*
%{python2_sitelib}/avocado_framework_plugin_varianter_yaml_to_mux*
799

C
Cleber Rosa 已提交
800
%if %{with_python3}
C
Cleber Rosa 已提交
801 802 803
%package -n python3-%{srcname}-plugins-varianter-yaml-to-mux
Summary: Avocado plugin to generate variants out of yaml files
Requires: python3-%{srcname} == %{version}
C
Cleber Rosa 已提交
804
Requires: python3-yaml
C
Cleber Rosa 已提交
805 806 807 808 809 810 811 812

%description -n python3-%{srcname}-plugins-varianter-yaml-to-mux
Can be used to produce multiple test variants with test parameters
defined in a yaml file(s).

%files -n python3-%{srcname}-plugins-varianter-yaml-to-mux
%{python3_sitelib}/avocado_varianter_yaml_to_mux*
%{python3_sitelib}/avocado_framework_plugin_varianter_yaml_to_mux*
C
Cleber Rosa 已提交
813
%endif
C
Cleber Rosa 已提交
814

815
%package -n python2-%{srcname}-plugins-loader-yaml
816
Summary: Avocado Plugin that loads tests from YAML files
817
Requires: python2-%{srcname}-plugins-varianter-yaml-to-mux == %{version}
818

819
%description -n python2-%{srcname}-plugins-loader-yaml
820 821 822
Can be used to produce a test suite from definitions in a YAML file,
similar to the one used in the yaml_to_mux varianter plugin.

823 824 825
%files -n python2-%{srcname}-plugins-loader-yaml
%{python2_sitelib}/avocado_loader_yaml*
%{python2_sitelib}/avocado_framework_plugin_loader_yaml*
826

C
Cleber Rosa 已提交
827
%if %{with_python3}
C
Cleber Rosa 已提交
828 829 830 831 832 833 834 835 836 837 838
%package -n python3-%{srcname}-plugins-loader-yaml
Summary: Avocado Plugin that loads tests from YAML files
Requires: python3-%{srcname}-plugins-varianter-yaml-to-mux == %{version}

%description -n python3-%{srcname}-plugins-loader-yaml
Can be used to produce a test suite from definitions in a YAML file,
similar to the one used in the yaml_to_mux varianter plugin.

%files -n python3-%{srcname}-plugins-loader-yaml
%{python3_sitelib}/avocado_loader_yaml*
%{python3_sitelib}/avocado_framework_plugin_loader_yaml*
C
Cleber Rosa 已提交
839
%endif
C
Cleber Rosa 已提交
840

841
%package -n python2-%{srcname}-plugins-golang
C
Cleber Rosa 已提交
842
Summary: Avocado Plugin for Execution of golang tests
843
Requires: python2-%{srcname} == %{version}
C
Cleber Rosa 已提交
844 845
Requires: golang

846
%description -n python2-%{srcname}-plugins-golang
C
Cleber Rosa 已提交
847 848 849
Allows Avocado to list golang tests, and if golang is installed,
also run them.

850 851 852
%files -n python2-%{srcname}-plugins-golang
%{python2_sitelib}/avocado_golang*
%{python2_sitelib}/avocado_framework_plugin_golang*
C
Cleber Rosa 已提交
853

C
Cleber Rosa 已提交
854
%if %{with_python3}
C
Cleber Rosa 已提交
855 856 857 858 859 860 861 862 863 864 865 866
%package -n python3-%{srcname}-plugins-golang
Summary: Avocado Plugin for Execution of golang tests
Requires: python3-%{srcname} == %{version}
Requires: golang

%description -n python3-%{srcname}-plugins-golang
Allows Avocado to list golang tests, and if golang is installed,
also run them.

%files -n python3-%{srcname}-plugins-golang
%{python3_sitelib}/avocado_golang*
%{python3_sitelib}/avocado_framework_plugin_golang*
C
Cleber Rosa 已提交
867
%endif
C
Cleber Rosa 已提交
868

869
%package -n python2-%{srcname}-plugins-varianter-pict
870
Summary: Varianter with combinatorial capabilities by PICT
871
Requires: python2-%{srcname} == %{version}
872

873
%description -n python2-%{srcname}-plugins-varianter-pict
874 875 876
This plugin uses a third-party tool to provide variants created by
Pair-Wise algorithms, also known as Combinatorial Independent Testing.

877 878 879
%files -n python2-%{srcname}-plugins-varianter-pict
%{python2_sitelib}/avocado_varianter_pict*
%{python2_sitelib}/avocado_framework_plugin_varianter_pict*
880

C
Cleber Rosa 已提交
881
%if %{with_python3}
C
Cleber Rosa 已提交
882 883 884 885 886 887 888 889 890 891 892
%package -n python3-%{srcname}-plugins-varianter-pict
Summary: Varianter with combinatorial capabilities by PICT
Requires: python3-%{srcname} == %{version}

%description -n python3-%{srcname}-plugins-varianter-pict
This plugin uses a third-party tool to provide variants created by
Pair-Wise algorithms, also known as Combinatorial Independent Testing.

%files -n python3-%{srcname}-plugins-varianter-pict
%{python3_sitelib}/avocado_varianter_pict*
%{python3_sitelib}/avocado_framework_plugin_varianter_pict*
C
Cleber Rosa 已提交
893
%endif
C
Cleber Rosa 已提交
894

C
Cleber Rosa 已提交
895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922
%package -n python2-%{srcname}-plugins-varianter-cit
Summary: Varianter with Combinatorial Independent Testing capabilities
Requires: python2-%{srcname} == %{version}

%description -n python2-%{srcname}-plugins-varianter-cit
A varianter plugin that generates variants using Combinatorial
Independent Testing (AKA Pair-Wise) algorithm developed in
collaboration with CVUT Prague.

%files -n python2-%{srcname}-plugins-varianter-cit
%{python2_sitelib}/avocado_varianter_cit*
%{python2_sitelib}/avocado_framework_plugin_varianter_cit*

%if %{with_python3}
%package -n python3-%{srcname}-plugins-varianter-cit
Summary: Varianter with Combinatorial Independent Testing capabilities
Requires: python3-%{srcname} == %{version}

%description -n python3-%{srcname}-plugins-varianter-cit
A varianter plugin that generates variants using Combinatorial
Independent Testing (AKA Pair-Wise) algorithm developed in
collaboration with CVUT Prague.

%files -n python3-%{srcname}-plugins-varianter-cit
%{python3_sitelib}/avocado_varianter_cit*
%{python3_sitelib}/avocado_framework_plugin_varianter_cit*
%endif

923
%package -n python2-%{srcname}-plugins-result-upload
924
Summary: Avocado Plugin to propagate Job results to a remote host
925
Requires: python2-%{srcname} == %{version}
926

927
%description -n python2-%{srcname}-plugins-result-upload
928 929 930
This optional plugin is intended to upload the Avocado Job results to
a dedicated sever.

931 932 933
%files -n python2-%{srcname}-plugins-result-upload
%{python2_sitelib}/avocado_result_upload*
%{python2_sitelib}/avocado_framework_plugin_result_upload*
934
%config(noreplace)%{_sysconfdir}/avocado/conf.d/result_upload.conf
935

C
Cleber Rosa 已提交
936
%if %{with_python3}
C
Cleber Rosa 已提交
937 938 939 940 941 942 943 944 945 946 947 948
%package -n python3-%{srcname}-plugins-result-upload
Summary: Avocado Plugin to propagate Job results to a remote host
Requires: python3-%{srcname} == %{version}

%description -n python3-%{srcname}-plugins-result-upload
This optional plugin is intended to upload the Avocado Job results to
a dedicated sever.

%files -n python3-%{srcname}-plugins-result-upload
%{python3_sitelib}/avocado_result_upload*
%{python3_sitelib}/avocado_framework_plugin_result_upload*
%config(noreplace)%{_sysconfdir}/avocado/conf.d/result_upload.conf
C
Cleber Rosa 已提交
949
%endif
C
Cleber Rosa 已提交
950

951
%package -n python2-%{srcname}-plugins-glib
C
Cleber Rosa 已提交
952
Summary: Avocado Plugin for Execution of GLib Test Framework tests
953
Requires: python2-%{srcname} == %{version}
C
Cleber Rosa 已提交
954

955
%description -n python2-%{srcname}-plugins-glib
C
Cleber Rosa 已提交
956 957 958
This optional plugin is intended to list and run tests written in the
GLib Test Framework.

959 960 961
%files -n python2-%{srcname}-plugins-glib
%{python2_sitelib}/avocado_glib*
%{python2_sitelib}/avocado_framework_plugin_glib*
C
Cleber Rosa 已提交
962

C
Cleber Rosa 已提交
963
%if %{with_python3}
C
Cleber Rosa 已提交
964 965
%package -n python3-%{srcname}-plugins-glib
Summary: Avocado Plugin for Execution of GLib Test Framework tests
966
Requires: python3-%{srcname} == %{version}
C
Cleber Rosa 已提交
967 968 969 970 971 972 973 974

%description -n python3-%{srcname}-plugins-glib
This optional plugin is intended to list and run tests written in the
GLib Test Framework.

%files -n python3-%{srcname}-plugins-glib
%{python3_sitelib}/avocado_glib*
%{python3_sitelib}/avocado_framework_plugin_glib*
C
Cleber Rosa 已提交
975
%endif
C
Cleber Rosa 已提交
976

977
%package examples
978
Summary: Avocado Test Framework Example Tests
979
Requires: %{name} == %{version}
980

981 982 983 984
%description examples
The set of example tests present in the upstream tree of the Avocado framework.
Some of them are used as functional tests of the framework, others serve as
examples of how to write tests on your own.
985

986
%files examples
987 988 989 990 991 992 993 994
%dir %{_docdir}/avocado
%{_docdir}/avocado/gdb-prerun-scripts
%{_docdir}/avocado/plugins
%{_docdir}/avocado/tests
%{_docdir}/avocado/wrappers
%{_docdir}/avocado/yaml_to_mux
%{_docdir}/avocado/yaml_to_mux_loader
%{_docdir}/avocado/varianter_pict
C
Cleber Rosa 已提交
995
%{_docdir}/avocado/varianter_cit
996

997 998 999 1000 1001 1002 1003 1004 1005
%package bash
Summary: Avocado Test Framework Bash Utilities
Requires: %{name} == %{version}

%description bash
A small set of utilities to interact with Avocado from the Bourne
Again Shell code (and possibly other similar shells).

%files bash
1006
%{_libexecdir}/avocado*
1007

1008
%changelog
1009 1010 1011 1012
* Mon Feb  4 2019 Cleber Rosa <cleber@redhat.com> - 67.0-1
- python2-resultsdb_api package has been removed in F30 so
  python2-avocado-plugins-resultsdb was also disabled.

C
Cleber Rosa 已提交
1013 1014 1015
* Mon Dec 17 2018 Cleber Rosa <cleber@redhat.com> - 67.0-0
- New release

1016 1017 1018
* Mon Dec 17 2018 Cleber Rosa <cleber@redhat.com> - 66.0-3
- Use proper name of Python netifaces module package on EL7

1019 1020 1021
* Mon Dec 10 2018 Cleber Rosa <cleber@redhat.com> - 66.0-2
- Replaced pystache requirement for jinja2

1022 1023 1024
* Wed Dec  5 2018 Cleber Rosa <cleber@redhat.com> - 66.0-1
- Added libcdio, genisoimage and psmisc as build deps

C
Cleber Rosa 已提交
1025 1026 1027
* Tue Nov 20 2018 Cleber Rosa <cleber@redhat.com> - 66.0-0
- New release

C
Cleber Rosa 已提交
1028 1029 1030
* Tue Oct  2 2018 Cleber Rosa <cleber@redhat.com> - 65.0-0
- New release

C
Cleber Rosa 已提交
1031 1032 1033 1034
* Mon Aug 27 2018 Cleber Rosa <cleber@redhat.com> - 64.0-0
- Added pycdlib as requirements
- New release

C
Cleber Rosa 已提交
1035 1036 1037
* Wed Jul 25 2018 Cleber Rosa <cleber@redhat.com> - 63.0-2
- Added CIT varianter plugin sub-packages

1038 1039 1040 1041
* Mon Jul 23 2018 Merlin Mathesius <mmathesi@redhat.com> - 63.0-1
- Enable python3 versions of runner and resultsdb plugins when
  package dependencies are available.

C
Cleber Rosa 已提交
1042 1043 1044
* Tue Jul 17 2018 Cleber Rosa <cleber@redhat.com> - 63.0-0
- New release

1045 1046 1047
* Wed Jun 20 2018 Cleber Rosa <cleber@redhat.com> - 62.0-1
- Added new python[2]-enum34 requirement

C
Cleber Rosa 已提交
1048 1049 1050
* Tue Jun 12 2018 Cleber Rosa <cleber@redhat.com> - 62.0-0
- New release

1051 1052 1053
* Tue May  1 2018 Cleber Rosa <cleber@redhat.com> - 61.0-1
- Use Python version specific "avocado" scripts on tests

C
Cleber Rosa 已提交
1054 1055 1056 1057 1058
* Tue Apr 24 2018 Cleber Rosa <cleber@redhat.com> - 61.0-0
- New release
- Added python3-yaml require to varianter-yaml-to-mux package
- Force a locale with utf-8 encoding to run tests

1059 1060
* Wed Apr  4 2018 Cleber Rosa <cleber@redhat.com> - 60.0-2
- Moved all requirements to python2-avocado and python3-avocado
1061
- Added python_provides macro on Python 3 package
1062
- Filter out python binaries from requirements
1063
- Added explicit six requirement on Python 2 packages
1064

1065 1066 1067
* Wed Mar 28 2018 Cleber Rosa <cleber@redhat.com> - 60.0-1
- Moved "common" dep into python2-avocado and python3-avocado

C
Cleber Rosa 已提交
1068 1069 1070
* Wed Mar 28 2018 Cleber Rosa <cleber@redhat.com> - 60.0-0
- New release

1071 1072
* Mon Mar 19 2018 Cleber Rosa <cleber@redhat.com> - 59.0-2
- Removed backward compatibility with name avocado on plugins
1073
- Removed extra dependencies on Fedora 24 for runner-remote
1074
- Added python-avocado requirement for golang plugin
C
Cleber Rosa 已提交
1075
- Added new common sub-package
1076
- Make bash package independent of Python version
1077
- Set supported Python major version explicitly to 2
C
Cleber Rosa 已提交
1078
- Added Python 3 packages
1079

1080 1081
* Thu Mar  8 2018 Cleber Rosa <cleber@redhat.com> - 59.0-1
- Remove backward compatibility with name avocado
1082
- Remove hack to workaround fabric bugs on Fedora 24
1083
- Use real package name for python YAML package on EL
1084
- Use exact package names on requires
C
Cleber Rosa 已提交
1085
- Remove unecessary conditional for kmod
1086

C
Cleber Rosa 已提交
1087 1088 1089 1090
* Wed Feb 28 2018 Cleber Rosa <cleber@redhat.com> - 59.0-0
- New upstream release
- Added glib plugin subpackage

1091 1092 1093
* Tue Jan 23 2018 Cleber Rosa <cleber@redhat.com> - 58.0-1
- Require a lower six version on EL7

C
Cleber Rosa 已提交
1094 1095 1096
* Tue Jan 23 2018 Cleber Rosa <cleber@redhat.com> - 58.0-0
- New upstream release

1097 1098
* Sat Jan  6 2018 Cleber Rosa <cleber@redhat.com> - 57.0-3
- Move the avocado package config files to the system location
1099
- Add missing configuration files for sub packages
1100
- Adapt to change in example file installation
1101
- Remove man pages source files from package
1102
- Add bash subpackage
1103

1104 1105 1106
* Tue Dec 19 2017 Cleber Rosa <cleber@redhat.com> - 57.0-2
- Removed patch added on release 1, considering it's upstream

1107 1108 1109
* Tue Dec 19 2017 Cleber Rosa <cleber@redhat.com> - 57.0-1
- Add patch to skip tests on EPEL 7 due to mock version

C
Cleber Rosa 已提交
1110 1111 1112
* Tue Dec 19 2017 Cleber Rosa <cleber@redhat.com> - 57.0-0
- New upstream release

1113 1114 1115
* Fri Dec 15 2017 Cleber Rosa <cleber@redhat.com> - 56.0-1
- Added result_upload plugin

C
Cleber Rosa 已提交
1116 1117 1118
* Tue Nov 21 2017 Cleber Rosa <cleber@redhat.com> - 56.0-0
- New upstream release

1119 1120 1121
* Thu Nov 16 2017 Cleber Rosa <cleber@redhat.com> - 55.0-1
- Introduced sub-package plugins-varianter-pict

C
Cleber Rosa 已提交
1122 1123 1124
* Tue Oct 17 2017 Cleber Rosa <cleber@redhat.com> - 55.0-0
- New upstream release

1125 1126
* Mon Oct 16 2017 Cleber Rosa <cleber@redhat.com> - 54.1-3
- Excluded avocado_loader_yaml files from main package
C
Cleber Rosa 已提交
1127
- Package recently introduced golang plugin
1128 1129 1130 1131

* Wed Oct  4 2017 Cleber Rosa <cleber@redhat.com> - 54.1-2
- Remove python-flexmock requirement

C
Cleber Rosa 已提交
1132 1133 1134
* Wed Oct  4 2017 Cleber Rosa <cleber@redhat.com> - 54.1-1
- Add explicit BuildRequires for python-six

C
Cleber Rosa 已提交
1135 1136 1137
* Wed Sep 20 2017 Cleber Rosa <cleber@redhat.com> - 54.1-0
- New minor upstream release

C
Cleber Rosa 已提交
1138 1139 1140
* Wed Sep 20 2017 Cleber Rosa <cleber@redhat.com> - 54.0-0
- New upstream release

1141 1142
* Tue Aug 22 2017 Cleber Rosa <cleber@redhat.com> - 53.0-1
- Use variable name for configuration dir
1143
- Clean up old changelog entries
C
Cleber Rosa 已提交
1144
- Include other example files
1145

C
Cleber Rosa 已提交
1146 1147 1148
* Tue Aug 15 2017 Cleber Rosa <cleber@redhat.com> - 53.0-0
- New upstream release

1149 1150 1151
* Mon Aug 14 2017 Cleber Rosa <cleber@redhat.com> - 52.0-2
- Add python[2]-yaml requirements

1152 1153 1154
* Tue Jun 27 2017 Cleber Rosa <cleber@redhat.com> - 52.0-1
- Fix python-aexpect depedency on EL7

C
Cleber Rosa 已提交
1155 1156
* Mon Jun 26 2017 Cleber Rosa <cleber@redhat.com> - 52.0-0
- New upstream release