Skip to content

Commit bf51626

Browse files
committed
1 parent df398cb commit bf51626

2 files changed

Lines changed: 58 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ __pycache__/
1111
env/
1212
build/
1313
develop-eggs/
14-
dist/
1514
downloads/
1615
eggs/
1716
.eggs/
@@ -29,7 +28,6 @@ wheels/
2928
# Usually these files are written by a python script from a template
3029
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3130
*.manifest
32-
*.spec
3331

3432
# Installer logs
3533
pip-log.txt

dist/spec/openqa_bugfetcher.spec

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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

Comments
 (0)