diff --git a/os-autoinst.spec b/os-autoinst.spec index abe8adc..4900d27 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -35,7 +35,7 @@ Name: os-autoinst Version: %{github_version} -Release: 8%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} +Release: 9%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} Summary: OS-level test automation License: GPLv2+ URL: https://os-autoinst.github.io/openQA/ @@ -45,7 +45,7 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith %define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make # diff from SUSE: dropped perl-base which does not exist in Fedora, we have # the perl(:MODULE_COMPAT) require below -%define requires perl(B::Deparse) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny) +%define requires perl(base) perl(B::Deparse) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(POSIX) perl(strict) perl(Time::HiRes) perl(warnings) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny) %define requires_not_needed_in_tests git-core # all requirements needed by the tests, do not require on this in the package # itself or any sub-packages @@ -61,10 +61,13 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: systemd +BuildRequires: perl(FindBin) %if 0%{?no_fullstack} %else BuildRequires: perl(Mojo::File) %endif # no_fullstack +BuildRequires: perl(Mojo::JSON) +BuildRequires: perl(Mojo::Log) # tinycv is a compiled public module, so we should have this Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Recommends: tesseract @@ -208,6 +211,9 @@ make check test VERBOSE=1 CHECK_DOC=0 %files devel %changelog +* Wed Apr 01 2020 Petr Pisar - 4.6-9.20190205git63af2f4 +- Add more Perl dependencies + * Wed Feb 05 2020 Adam Williamson - 4.6-8.20200205git63af2f4f - Bump to latest git