forked from pool/openQA
b6ae5cc714
4.6.1725890782.54de77b9 4.6.1725890782.54de77b9 4.6.1725890782.54de77b9 4.6.1725890782.54de77b9 OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=1333
48 lines
1.4 KiB
RPMSpec
48 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package openQA-worker-test
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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
|
|
Version: 4.6.1725890782.54de77b9
|
|
Release: 0
|
|
Summary: Test package for %{short_name}
|
|
License: GPL-2.0-or-later
|
|
BuildRequires: %{short_name} == %{version}
|
|
%if 0%{?suse_version} > 1500
|
|
BuildRequires: user(_openqa-worker)
|
|
%endif
|
|
ExcludeArch: %{ix86}
|
|
|
|
%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
|
|
getent passwd _openqa-worker
|
|
|
|
%install
|
|
# disable debug packages in package test to prevent error about missing files
|
|
%define debug_package %{nil}
|
|
|
|
%changelog
|