|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: os-autoinst
|
|
|
|
Name: os-autoinst
|
|
|
|
Version: 4.6.1591696864.96b3acb2
|
|
|
|
Version: 4.6.1591792386.f38e8b17
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: OS-level test automation
|
|
|
|
Summary: OS-level test automation
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
License: GPL-2.0-or-later
|
|
|
@@ -32,10 +32,9 @@ Source0: %{name}-%{version}.tar.xz
|
|
|
|
%define opencv_require pkgconfig(opencv)
|
|
|
|
%define opencv_require pkgconfig(opencv)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
%define build_requires %opencv_require autoconf automake gcc-c++ libtool make perl(ExtUtils::Embed) perl(ExtUtils::MakeMaker) >= 7.12 perl(Module::CPANfile) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
|
|
|
|
%define build_requires %opencv_require autoconf automake gcc-c++ libtool make perl(ExtUtils::Embed) perl(ExtUtils::MakeMaker) >= 7.12 perl(Module::CPANfile) perl(Pod::Html) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
%define main_requires perl(B::Deparse) perl(Carp) perl(Carp::Always) perl(Class::Accessor::Fast) perl(Config) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Cwd) perl(Data::Dumper) perl(Digest::MD5) perl(DynaLoader) perl(English) perl(Errno) perl(Exception::Class) perl(Exporter) perl(ExtUtils::testlib) perl(Fcntl) perl(File::Basename) perl(File::Find) perl(File::Path) perl(File::Spec) perl(File::Temp) perl(File::Touch) perl(File::Which) perl(IO::Handle) perl(IO::Scalar) perl(IO::Select) perl(IO::Socket) perl(IO::Socket::INET) perl(IO::Socket::UNIX) perl(IPC::Open3) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(List::MoreUtils) perl(List::Util) perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 perl(Mojo::JSON) perl(Mojo::Log) perl(Mojo::URL) perl(Mojo::UserAgent) perl(Mojolicious) >= 8.42 perl(Mojolicious::Lite) perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Term::ANSIColor) perl(Thread::Queue) perl(Time::HiRes) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(autodie) perl(base) perl(constant) perl(integer) perl(strict) perl(warnings) perl-base
|
|
|
|
%define main_requires git-core perl(B::Deparse) perl(Carp) perl(Carp::Always) perl(Class::Accessor::Fast) perl(Config) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Cwd) perl(Data::Dumper) perl(Digest::MD5) perl(DynaLoader) perl(English) perl(Errno) perl(Exception::Class) perl(Exporter) perl(ExtUtils::testlib) perl(Fcntl) perl(File::Basename) perl(File::Find) perl(File::Path) perl(File::Spec) perl(File::Temp) perl(File::Touch) perl(File::Which) perl(IO::Handle) perl(IO::Scalar) perl(IO::Select) perl(IO::Socket) perl(IO::Socket::INET) perl(IO::Socket::UNIX) perl(IPC::Open3) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(List::MoreUtils) perl(List::Util) perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 perl(Mojo::JSON) perl(Mojo::Log) perl(Mojo::URL) perl(Mojo::UserAgent) perl(Mojolicious) >= 8.42 perl(Mojolicious::Lite) perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Term::ANSIColor) perl(Thread::Queue) perl(Time::HiRes) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(autodie) perl(base) perl(constant) perl(integer) perl(strict) perl(warnings) perl-base
|
|
|
|
%define requires_not_needed_in_tests git-core
|
|
|
|
|
|
|
|
# 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
|
|
|
|
# SLE is missing spell check requirements
|
|
|
|
# SLE is missing spell check requirements
|
|
|
@@ -55,10 +54,9 @@ Source0: %{name}-%{version}.tar.xz
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
%define test_requires %build_requires %main_requires %spellcheck_requires perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Perl::Critic) perl(Perl::Critic::Freenode) perl(Pod::Coverage) perl(Test::Exception) perl(Test::Fatal) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::Mojo) perl(Test::More) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) >= 0.029 perl(YAML::PP) qemu qemu-tools qemu-x86
|
|
|
|
%define test_requires %build_requires %main_requires %spellcheck_requires perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Perl::Critic) perl(Perl::Critic::Freenode) perl(Pod::Coverage) perl(Test::Exception) perl(Test::Fatal) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::Mojo) perl(Test::More) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) >= 0.029 perl(YAML::PP) qemu qemu-tools qemu-x86
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
# The following line is generated from dependencies.yaml
|
|
|
|
%define devel_requires %requires_not_needed_in_tests %test_requires perl(Devel::Cover) perl(Devel::Cover::Report::Codecov) perl(Perl::Tidy)
|
|
|
|
%define devel_requires %test_requires perl(Devel::Cover) perl(Devel::Cover::Report::Codecov) perl(Perl::Tidy)
|
|
|
|
BuildRequires: %test_requires
|
|
|
|
BuildRequires: %test_requires
|
|
|
|
Requires: %main_requires
|
|
|
|
Requires: %main_requires
|
|
|
|
Requires: %requires_not_needed_in_tests
|
|
|
|
|
|
|
|
Recommends: tesseract-ocr
|
|
|
|
Recommends: tesseract-ocr
|
|
|
|
Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole
|
|
|
|
Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole
|
|
|
|
Recommends: qemu >= 2.0.0
|
|
|
|
Recommends: qemu >= 2.0.0
|
|
|
@@ -118,9 +116,8 @@ make INSTALLDIRS=vendor %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install INSTALLDIRS=vendor
|
|
|
|
%make_install INSTALLDIRS=vendor
|
|
|
|
# only internal stuff
|
|
|
|
# only internal stuff
|
|
|
|
rm %{buildroot}/usr/lib/os-autoinst/tools/{tidy,check_coverage,absolutize,docker_run_ci,update-deps}
|
|
|
|
rm -r %{buildroot}/usr/lib/os-autoinst/tools/
|
|
|
|
rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
ls -lR %buildroot
|
|
|
|
ls -lR %buildroot
|
|
|
|
find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
|
|
|
|
find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
|
|
|
|
find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
|
|
|
|
find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
|
|
|
@@ -138,7 +135,6 @@ export NO_BRP_STALE_LINK_ERROR=yes
|
|
|
|
sed '/perlcritic/d' -i Makefile
|
|
|
|
sed '/perlcritic/d' -i Makefile
|
|
|
|
sed '/Perl::Critic/d' -i cpanfile
|
|
|
|
sed '/Perl::Critic/d' -i cpanfile
|
|
|
|
sed '/tidy/d' -i Makefile
|
|
|
|
sed '/tidy/d' -i Makefile
|
|
|
|
rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# should work offline
|
|
|
|
# should work offline
|
|
|
|
for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done
|
|
|
|
for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done
|
|
|
@@ -179,8 +175,6 @@ make check test VERBOSE=1 %{make_check_args}
|
|
|
|
%{_libexecdir}/os-autoinst/backend
|
|
|
|
%{_libexecdir}/os-autoinst/backend
|
|
|
|
%{_libexecdir}/os-autoinst/OpenQA
|
|
|
|
%{_libexecdir}/os-autoinst/OpenQA
|
|
|
|
%{_libexecdir}/os-autoinst/consoles
|
|
|
|
%{_libexecdir}/os-autoinst/consoles
|
|
|
|
%dir %{_libexecdir}/os-autoinst/tools
|
|
|
|
|
|
|
|
%{_libexecdir}/os-autoinst/tools/preparepool
|
|
|
|
|
|
|
|
%{_libexecdir}/os-autoinst/autotest.pm
|
|
|
|
%{_libexecdir}/os-autoinst/autotest.pm
|
|
|
|
%{_libexecdir}/os-autoinst/crop.py
|
|
|
|
%{_libexecdir}/os-autoinst/crop.py
|
|
|
|
|
|
|
|
|
|
|
|