|
|
@ -24,15 +24,15 @@
|
|
|
|
# them to the perl vendor dir, but they wouldn't bite.
|
|
|
|
# them to the perl vendor dir, but they wouldn't bite.
|
|
|
|
# https://github.com/os-autoinst/os-autoinst/issues/387
|
|
|
|
# https://github.com/os-autoinst/os-autoinst/issues/387
|
|
|
|
%global __provides_exclude_from %{_prefix}/lib/os-autoinst
|
|
|
|
%global __provides_exclude_from %{_prefix}/lib/os-autoinst
|
|
|
|
%global __requires_exclude perl\\((autotest|backend|basetest|bmwqemu|commands|consoles|cv|distribution|lockapi|mmapi|myjsonrpc|needle|ocr|osutils|signalblocker|testapi|OpenQA::Exceptions|OpenQA::Benchmark::Stopwatch|OpenQA::Qemu|OpenQA::Isotovideo)
|
|
|
|
%global __requires_exclude perl\\((autotest|backend|basetest|bmwqemu|commands|consoles|cv|distribution|lockapi|mmapi|myjsonrpc|needle|ocr|osutils|signalblocker|testapi|OpenQA::Exceptions|OpenQA::Benchmark::Stopwatch|OpenQA::Qemu|OpenQA::Isotovideo|OpenQA::NamedIOSelect)
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%global github_owner os-autoinst
|
|
|
|
%global github_owner os-autoinst
|
|
|
|
%global github_name os-autoinst
|
|
|
|
%global github_name os-autoinst
|
|
|
|
%global github_version 4.6
|
|
|
|
%global github_version 4.6
|
|
|
|
%global github_commit 627473ea5222dd4ad4cb0bfe82f0d5b5bcbe23c8
|
|
|
|
%global github_commit fdd1a2d8bdc9fdf9b23ae8f01b42b5092e6343dd
|
|
|
|
# if set, will be a post-release snapshot build, otherwise a 'normal' build
|
|
|
|
# if set, will be a post-release snapshot build, otherwise a 'normal' build
|
|
|
|
%global github_date 20211126
|
|
|
|
%global github_date 20220119
|
|
|
|
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
|
|
|
|
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
|
|
Name: os-autoinst
|
|
|
|
Name: os-autoinst
|
|
|
@ -42,6 +42,9 @@ Summary: OS-level test automation
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://os-autoinst.github.io/openQA/
|
|
|
|
URL: https://os-autoinst.github.io/openQA/
|
|
|
|
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz
|
|
|
|
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz
|
|
|
|
|
|
|
|
# Disable some test assertions that don't work without xterm-console
|
|
|
|
|
|
|
|
# Remove this when we have xterm-console packaged
|
|
|
|
|
|
|
|
Patch0: 0001-NOT-UPSTREAMABLE-disable-xterm-console-dependent-ass.patch
|
|
|
|
|
|
|
|
|
|
|
|
# on SUSE this is conditional, for us it doesn't have to be but we
|
|
|
|
# on SUSE this is conditional, for us it doesn't have to be but we
|
|
|
|
# still use a macro just to keep build_requires similar for ease of
|
|
|
|
# still use a macro just to keep build_requires similar for ease of
|
|
|
@ -67,7 +70,9 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith
|
|
|
|
# all requirements needed by the tests, do not require on this in the package
|
|
|
|
# all requirements needed by the tests, do not require on this in the package
|
|
|
|
# itself or any sub-packages
|
|
|
|
# itself or any sub-packages
|
|
|
|
# diff from SUSE: replaced qemu with qemu-kvm, qemu-tools with
|
|
|
|
# diff from SUSE: replaced qemu with qemu-kvm, qemu-tools with
|
|
|
|
# qemu-img, and qemu-x86 with qemu-system-i386
|
|
|
|
# qemu-img, qemu-x86 with qemu-system-i386. Dependencies from
|
|
|
|
|
|
|
|
# 4b4d3fd omitted for now until xterm-console is packaged for
|
|
|
|
|
|
|
|
# Fedora
|
|
|
|
# The following line is generated from dependencies.yaml (upstream)
|
|
|
|
# The following line is generated from dependencies.yaml (upstream)
|
|
|
|
%define test_base_requires %main_requires cpio perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) perl(Test::Fatal) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::MockRandom) perl(Test::Mojo) perl(Test::Most) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) >= 0.029 procps python3-setuptools qemu-kvm /usr/bin/qemu-img /usr/bin/qemu-system-i386
|
|
|
|
%define test_base_requires %main_requires cpio perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) perl(Test::Fatal) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::MockRandom) perl(Test::Mojo) perl(Test::Most) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) >= 0.029 procps python3-setuptools qemu-kvm /usr/bin/qemu-img /usr/bin/qemu-system-i386
|
|
|
|
# The following line is generated from dependencies.yaml (upstream)
|
|
|
|
# The following line is generated from dependencies.yaml (upstream)
|
|
|
@ -147,6 +152,12 @@ rm -f t/02-test_ocr.t
|
|
|
|
# https://progress.opensuse.org/issues/60755
|
|
|
|
# https://progress.opensuse.org/issues/60755
|
|
|
|
rm -f t/07-commands.t
|
|
|
|
rm -f t/07-commands.t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove test relying on a git working copy
|
|
|
|
|
|
|
|
rm xt/30-make.t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# This test can't work without xterm-console, which isn't in Fedora yet
|
|
|
|
|
|
|
|
rm -f t/27-consoles-local_xvnc.t
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake -DOS_AUTOINST_DOC_DIR:STRING=%{_docdir}/%{name} -DSYSTEMD_SERVICE_DIR:STRING="%{_unitdir}" -GNinja
|
|
|
|
%cmake -DOS_AUTOINST_DOC_DIR:STRING=%{_docdir}/%{name} -DSYSTEMD_SERVICE_DIR:STRING="%{_unitdir}" -GNinja
|
|
|
|
%ninja_build -C %{__cmake_builddir}
|
|
|
|
%ninja_build -C %{__cmake_builddir}
|
|
|
@ -173,6 +184,9 @@ export CI=1
|
|
|
|
# account for sporadic slowness in build environments
|
|
|
|
# account for sporadic slowness in build environments
|
|
|
|
# https://progress.opensuse.org/issues/89059
|
|
|
|
# https://progress.opensuse.org/issues/89059
|
|
|
|
export OPENQA_TEST_TIMEOUT_SCALE_CI=20
|
|
|
|
export OPENQA_TEST_TIMEOUT_SCALE_CI=20
|
|
|
|
|
|
|
|
# Enable verbose test output as we can not store test artifacts within package
|
|
|
|
|
|
|
|
# build environments in case of needing to investigate failures
|
|
|
|
|
|
|
|
export PROVE_ARGS="--timer -v"
|
|
|
|
# 00-compile-check-all.t fails if this is present and Perl::Critic is
|
|
|
|
# 00-compile-check-all.t fails if this is present and Perl::Critic is
|
|
|
|
# not installed
|
|
|
|
# not installed
|
|
|
|
rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm
|
|
|
|
rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm
|
|
|
@ -227,8 +241,9 @@ rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-44.20211126git627473e
|
|
|
|
* Mon Jan 24 2022 Adam Williamson <awilliam@redhat.com> - 4.6-44.20220119gitfdd1a2d
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Update to latest git, resync spec
|
|
|
|
|
|
|
|
- Disable some tests that don't work without xterm-console
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 25 2021 Adam Williamson <awilliam@redhat.com> - 4.6-43.20211126git627473e
|
|
|
|
* Thu Nov 25 2021 Adam Williamson <awilliam@redhat.com> - 4.6-43.20211126git627473e
|
|
|
|
- Update to latest git, resync spec
|
|
|
|
- Update to latest git, resync spec
|
|
|
|