|
| 1 | +# spec file for package openqa_bugfetcher |
| 2 | +# |
| 3 | +# Copyright (c) 2025 SUSE LLC and contributors |
| 4 | +# |
| 5 | +# All modifications and additions to the file contributed by third parties |
| 6 | +# remain the property of their copyright owners, unless otherwise agreed |
| 7 | +# upon. The license for this file, and modifications and additions to the |
| 8 | +# file, is the same license as for the pristine package itself (unless the |
| 9 | +# license for the pristine package is not an Open Source License, in which |
| 10 | +# case the license is the MIT License). An "Open Source License" is a |
| 11 | +# license that conforms to the Open Source Definition (Version 1.9) |
| 12 | +# published by the Open Source Initiative. |
| 13 | + |
| 14 | +# Please submit bugfixes or comments via https://bugs.opensuse.org/ |
| 15 | +# |
| 16 | + |
| 17 | + |
| 18 | +Name: openqa_bugfetcher |
| 19 | +Version: 0.6.7 |
| 20 | +Release: 0 |
| 21 | +Summary: Tool to update the openqa bug status cache |
| 22 | +License: GPL-3.0-only |
| 23 | +Group: Development/Languages/Python |
| 24 | +URL: https://github.com/os-autoinst/openqa_bugfetcher |
| 25 | +Source: %{name}-%{version}.tar.xz |
| 26 | +BuildRequires: python-rpm-macros |
| 27 | +BuildRequires: python3-devel |
| 28 | +BuildRequires: python3-setuptools |
| 29 | +Requires: python3-openqa_client |
| 30 | +Requires: python3-requests |
| 31 | +Requires: python3-simplejson |
| 32 | +BuildArch: noarch |
| 33 | + |
| 34 | +%description |
| 35 | +Python tool that will get a list of referenced bugs from openQA, |
| 36 | +fetch the bug status of each bug from the corresponding bugtracker |
| 37 | +and push the bug status back to openQA. |
| 38 | + |
| 39 | +%prep |
| 40 | +%setup -q -n openqa_bugfetcher-%{version} |
| 41 | + |
| 42 | +%build |
| 43 | +python3 setup.py build |
| 44 | + |
| 45 | +%install |
| 46 | +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
| 47 | + |
| 48 | +%files |
| 49 | +%license LICENSE |
| 50 | +%doc README.md |
| 51 | +# You may have to add additional files here (documentation and binaries mostly) |
| 52 | +%{_bindir}/fetch_openqa_bugs |
| 53 | +%config(noreplace) %{_sysconfdir}/openqa/bugfetcher.conf |
| 54 | +%dir %{_sysconfdir}/openqa |
| 55 | +%{python3_sitelib}/openqa_bugfetcher/ |
| 56 | +%{python3_sitelib}/openqa_bugfetcher-* |
| 57 | + |
| 58 | +%changelog |
0 commit comments