|
|
|
@ -31,14 +31,14 @@
|
|
|
|
|
%global github_owner os-autoinst
|
|
|
|
|
%global github_name os-autoinst
|
|
|
|
|
%global github_version 4.6
|
|
|
|
|
%global github_commit f38e8b174dc1a0cace4d624a197a297f9efdc2bb
|
|
|
|
|
%global github_commit 5038d8c2e04d923a8e7d616ea4b88a9ba3af6fb4
|
|
|
|
|
# if set, will be a post-release snapshot build, otherwise a 'normal' build
|
|
|
|
|
%global github_date 20200610
|
|
|
|
|
%global github_date 20200623
|
|
|
|
|
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: os-autoinst
|
|
|
|
|
Version: %{github_version}
|
|
|
|
|
Release: 17%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
|
|
|
|
|
Release: 18%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
|
|
|
|
|
Summary: OS-level test automation
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://os-autoinst.github.io/openQA/
|
|
|
|
@ -61,10 +61,8 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith
|
|
|
|
|
%define main_requires %main_requires_additional 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)
|
|
|
|
|
# all requirements needed by the tests, do not require on this in the package
|
|
|
|
|
# itself or any sub-packages
|
|
|
|
|
# diff from SUSE: replaced qemu-tools with qemu-img, replaced qemu-x86
|
|
|
|
|
# with qemu-system-i386, dropped spellcheck requirement stuff as this
|
|
|
|
|
# isn't needed in package builds IMO, dropped critic stuff as we don't
|
|
|
|
|
# run those tests in our build
|
|
|
|
|
# diff from SUSE: replaced qemu with qemu-kvm, qemu-tools with
|
|
|
|
|
# qemu-img, and qemu-x86 with qemu-system-i386
|
|
|
|
|
# The following line is generated from dependencies.yaml (upstream)
|
|
|
|
|
%define test_requires %build_requires %main_requires perl(Benchmark) perl(Devel::Cover) perl(FindBin) 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-kvm /usr/bin/qemu-img /usr/bin/qemu-system-i386
|
|
|
|
|
# diff from SUSE: dropped perl(Devel::Cover::Report::Codecov) as it's
|
|
|
|
@ -229,6 +227,9 @@ make test VERBOSE=1
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 24 2020 Adam Williamson <awilliam@redhat.com> - 4.6-18.20200624git5038d8c2
|
|
|
|
|
- Bump to latest git, resync spec again
|
|
|
|
|
|
|
|
|
|
* Fri Jun 12 2020 Adam Williamson <awilliam@redhat.com> - 4.6-17.20200610gitf38e8b17
|
|
|
|
|
- Drop -devel dep that doesn't exist in Fedora
|
|
|
|
|
|
|
|
|
|