diff --git a/os-autoinst-4.5.1536326847.7ce7ffba.obscpio b/os-autoinst-4.5.1536326847.7ce7ffba.obscpio deleted file mode 100644 index 374bf8d..0000000 --- a/os-autoinst-4.5.1536326847.7ce7ffba.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4cc25682d2327e3ef570990e971aacb494caeb7c51f3f83f50d82de80ff23285 -size 24734221 diff --git a/os-autoinst-4.5.1536750184.92e52b69.obscpio b/os-autoinst-4.5.1536750184.92e52b69.obscpio new file mode 100644 index 0000000..ddef1e5 --- /dev/null +++ b/os-autoinst-4.5.1536750184.92e52b69.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dad55afe3bde9d48623893fb5af856718af0cffa5a352174344c5685b30c5f24 +size 24734221 diff --git a/os-autoinst-test.changes b/os-autoinst-test.changes new file mode 100644 index 0000000..3a6b9ce --- /dev/null +++ b/os-autoinst-test.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Thu Sep 13 15:11:54 UTC 2018 - okurz@suse.com + +- Update to version 4.5.1536750184.92e52b69: + * command server: Don't mix myjsonrpc with Mojo::IOLoop::Stream + * Improve log messages and error handling in web socket server + +------------------------------------------------------------------- +Mon Sep 10 10:58:21 UTC 2018 - okurz@suse.com + +- Add package self-test with separate spec-file diff --git a/os-autoinst-test.spec b/os-autoinst-test.spec new file mode 100644 index 0000000..36d7bb8 --- /dev/null +++ b/os-autoinst-test.spec @@ -0,0 +1,55 @@ +# +# spec file for package os +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define name_ext -test +%define short_name os-autoinst +Name: %{short_name}%{?name_ext} +Version: 4.5.1536750184.92e52b69 +Release: 0 +Summary: test package for os-autoinst +License: GPL-2.0+ +BuildRequires: %{short_name} == %{version} + +%description +. + +%prep +# workaround to prevent post/install failing assuming this file for whatever +# reason +touch %{_sourcedir}/%{short_name} + +%build +# call one of the components but not openqa itself which would need a valid +# configuration +isotovideo --help +echo '1;' > main.pm +mkdir needles +cat - > vars.json <= 5.60 +Requires: perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 +Requires: perl(Mojolicious) >= 7.92 # we shuffle around a lot of JSON, so make sure this is fast # and the JSON modules have subtle differences and we only test against XS in production Requires: perl(JSON::XS)