2019-07-06 00:35:29 +02:00
|
|
|
#
|
2021-06-10 21:31:57 +02:00
|
|
|
# spec file
|
2019-07-06 00:35:29 +02:00
|
|
|
#
|
2022-01-06 18:48:13 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-07-06 00:35:29 +02:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define short_name openQA-worker
|
|
|
|
Name: %{short_name}-test
|
2022-03-31 19:49:24 +02:00
|
|
|
Version: 4.6.1648720710.9f444c83a
|
2019-07-06 00:35:29 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Test package for %{short_name}
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
BuildRequires: %{short_name} == %{version}
|
2021-08-27 02:02:55 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
BuildRequires: user(_openqa-worker)
|
|
|
|
%endif
|
2019-07-06 00:35:29 +02:00
|
|
|
ExcludeArch: i586
|
|
|
|
|
|
|
|
%description
|
|
|
|
.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# workaround to prevent post/install failing assuming this file for whatever
|
|
|
|
# reason
|
|
|
|
touch %{_sourcedir}/%{short_name}
|
|
|
|
|
|
|
|
%build
|
|
|
|
/usr/share/openqa/script/worker --help
|
2021-08-27 02:02:55 +02:00
|
|
|
getent passwd _openqa-worker
|
2019-07-06 00:35:29 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
# disable debug packages in package test to prevent error about missing files
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
%changelog
|