2017-07-11 20:48:53 -05:00
|
|
|
#
|
|
|
|
# spec file for package openSUSE-release-tools
|
|
|
|
#
|
2018-05-10 21:14:12 -05:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-07-11 20:48:53 -05: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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude ^perl.*
|
2018-03-16 14:58:27 -05:00
|
|
|
%define source_dir openSUSE-release-tools
|
2017-07-11 20:48:53 -05:00
|
|
|
%define announcer_filename factory-package-news
|
|
|
|
Name: openSUSE-release-tools
|
|
|
|
Version: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: Tools to aid in staging and release work for openSUSE/SUSE
|
2018-05-10 21:12:03 -05:00
|
|
|
License: GPL-2.0-or-later AND MIT
|
2017-07-11 20:48:53 -05:00
|
|
|
Group: Development/Tools/Other
|
2018-03-16 14:58:27 -05:00
|
|
|
Url: https://github.com/openSUSE/openSUSE-release-tools
|
2017-07-17 15:55:32 -05:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2017-07-11 20:48:53 -05:00
|
|
|
BuildArch: noarch
|
2017-08-01 22:37:06 -05:00
|
|
|
# Requires sr#512849 which provides osc_plugin_dir.
|
|
|
|
BuildRequires: osc >= 0.159.0
|
2017-07-11 20:48:53 -05:00
|
|
|
BuildRequires: python-PyYAML
|
|
|
|
BuildRequires: python-cmdln
|
|
|
|
BuildRequires: python-colorama
|
|
|
|
BuildRequires: python-lxml
|
|
|
|
BuildRequires: python-pycurl
|
|
|
|
BuildRequires: python-python-dateutil
|
|
|
|
BuildRequires: python-pyxdg
|
|
|
|
BuildRequires: python-urlgrabber
|
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
# Testing only requirements installed for `make check`.
|
|
|
|
BuildRequires: libxml2-tools
|
|
|
|
BuildRequires: python-httpretty
|
|
|
|
BuildRequires: python-mock
|
|
|
|
BuildRequires: python-nose
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Spec related requirements.
|
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
BuildRequires: apache-rpm-macros
|
|
|
|
%else
|
|
|
|
%define apache_sysconfdir %{_sysconfdir}/apache2
|
|
|
|
%endif
|
|
|
|
BuildRequires: apache2-devel
|
|
|
|
BuildRequires: rsyslog
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
|
|
|
Requires: python-PyYAML
|
|
|
|
Requires: python-cmdln
|
|
|
|
Requires: python-colorama
|
|
|
|
Requires: python-lxml
|
2018-01-09 16:55:20 -06:00
|
|
|
# issue-diff.py, legal-auto.py, and openqa-maintenance.py
|
2017-07-11 20:48:53 -05:00
|
|
|
Requires: python-pycurl
|
|
|
|
Requires: python-python-dateutil
|
|
|
|
Requires: python-pyxdg
|
2018-05-10 21:13:54 -05:00
|
|
|
Requires: python-requests
|
2017-07-11 20:48:53 -05:00
|
|
|
Requires: python-urlgrabber
|
|
|
|
|
2017-10-04 18:14:53 -05:00
|
|
|
# bs_mirrorfull
|
|
|
|
Requires: perl-Net-SSLeay
|
2018-05-10 21:13:54 -05:00
|
|
|
Requires: perl-XML-Parser
|
2017-10-04 18:14:53 -05:00
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
# Spec related requirements.
|
|
|
|
Requires: osclib = %{version}
|
|
|
|
|
2018-05-10 21:11:30 -05:00
|
|
|
# Avoid needlessly building on s390x and such in various repos.
|
|
|
|
# Must include noarch for older systems even though it makes no sense due to
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1298668.
|
|
|
|
ExclusiveArch: noarch x86_64
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%description
|
|
|
|
Tools to aid in staging and release work for openSUSE/SUSE
|
|
|
|
|
|
|
|
The toolset consists of a variety of stand-alone scripts, review bots, osc
|
|
|
|
plugins, and automation aids.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development requirements for openSUSE-release-tools
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: libxml2-tools
|
|
|
|
Requires: python-httpretty
|
|
|
|
Requires: python-mock
|
|
|
|
Requires: python-nose
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development requirements for openSUSE-release-tools to be used in conjunction
|
|
|
|
with a git clone of the development repository available from %{url}.
|
|
|
|
|
|
|
|
%package abichecker
|
|
|
|
Summary: ABI review bot
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: osclib = %{version}
|
|
|
|
|
|
|
|
%description abichecker
|
|
|
|
ABI review bot for checking OBS requests.
|
|
|
|
|
|
|
|
%package announcer
|
|
|
|
Summary: Release announcer
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements.
|
|
|
|
|
|
|
|
%description announcer
|
|
|
|
OBS product release announcer for generating email diffs summaries.
|
|
|
|
|
2017-10-09 21:58:29 -05:00
|
|
|
%package check-source
|
|
|
|
Summary: Check source review bot
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: osclib = %{version}
|
2018-08-30 21:29:34 -05:00
|
|
|
# check_source.pl
|
2018-08-31 10:31:42 -05:00
|
|
|
Requires: obs-service-download_files
|
|
|
|
Requires: obs-service-format_spec_file
|
|
|
|
Requires: obs-service-source_validator
|
2018-08-30 21:29:34 -05:00
|
|
|
Requires: perl-Text-Diff
|
2017-10-09 21:58:29 -05:00
|
|
|
Requires(pre): shadow
|
|
|
|
|
|
|
|
%description check-source
|
|
|
|
Check source review bot that performs basic source analysis and assigns reviews.
|
|
|
|
|
2017-10-09 19:55:28 -05:00
|
|
|
%package leaper
|
|
|
|
Summary: Leap-style services
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: osclib = %{version}
|
|
|
|
Requires(pre): shadow
|
|
|
|
|
|
|
|
%description leaper
|
|
|
|
Leap-style services for non-Factory projects.
|
|
|
|
|
2017-10-09 21:21:21 -05:00
|
|
|
%package maintenance
|
|
|
|
Summary: Maintenance related services
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements.
|
|
|
|
Requires: osclib = %{version}
|
|
|
|
Requires(pre): shadow
|
|
|
|
|
|
|
|
%description maintenance
|
|
|
|
Maintenance related services like incident check.
|
|
|
|
|
2017-10-04 16:09:49 -05:00
|
|
|
%package metrics
|
|
|
|
Summary: Ingest relevant data to generate insightful metrics
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements.
|
|
|
|
Requires: osclib = %{version}
|
2017-11-03 17:59:01 -05:00
|
|
|
Requires(pre): shadow
|
2017-11-03 17:49:47 -05:00
|
|
|
# TODO Requires: python-influxdb, but package does not exist in Factory, but
|
|
|
|
# present in Cloud:OpenStack:Master/python-influxdb.
|
|
|
|
Recommends: python-influxdb
|
2017-11-03 17:51:04 -05:00
|
|
|
Suggests: grafana
|
|
|
|
Suggests: influxdb
|
2018-08-29 16:35:21 -05:00
|
|
|
Suggests: telegraf
|
2017-10-04 16:09:49 -05:00
|
|
|
|
|
|
|
%description metrics
|
|
|
|
Ingest relevant OBS and annotation data to generate insightful metrics.
|
|
|
|
|
2018-06-14 22:48:07 -05:00
|
|
|
%package metrics-access
|
|
|
|
Summary: Ingest access logs to generate metrics
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# Used to stream log files.
|
|
|
|
Requires: curl
|
|
|
|
Requires: %{name}-metrics = %{version}
|
|
|
|
Requires: php > 7
|
|
|
|
# Used to install influxdb/influxdb-php.
|
|
|
|
Requires: php-composer
|
|
|
|
# pgrep used in aggregate.php
|
|
|
|
Requires: procps
|
|
|
|
# xzcat for decompressing log files.
|
|
|
|
Requires: xz
|
|
|
|
|
|
|
|
%description metrics-access
|
|
|
|
Ingest download.o.o Apache access logs and generate metrics.
|
|
|
|
|
2017-10-04 17:21:26 -05:00
|
|
|
%package repo-checker
|
|
|
|
Summary: Repository checker service
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements.
|
|
|
|
Requires: osclib = %{version}
|
2017-10-04 18:14:53 -05:00
|
|
|
# repo_checker.pl
|
|
|
|
Requires: build
|
2018-05-10 21:13:54 -05:00
|
|
|
Requires: perl-XML-Simple
|
2017-10-04 17:21:26 -05:00
|
|
|
Requires(pre): shadow
|
|
|
|
|
|
|
|
%description repo-checker
|
|
|
|
Repository checker service that inspects built RPMs from stagings.
|
|
|
|
|
2017-10-09 17:36:27 -05:00
|
|
|
%package staging-bot
|
|
|
|
Summary: Staging bot services
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# devel-project.py
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: osc-plugin-staging = %{version}
|
2017-10-09 21:37:32 -05:00
|
|
|
# For supersede service.
|
|
|
|
Requires: osc-plugin-check_dups = %{version}
|
2017-10-09 17:36:27 -05:00
|
|
|
Requires(pre): shadow
|
|
|
|
|
|
|
|
%description staging-bot
|
|
|
|
Staging bot services and system user.
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%package totest-manager
|
2017-10-09 20:53:21 -05:00
|
|
|
Summary: Manages product ToTest repository
|
2017-07-11 20:48:53 -05:00
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements.
|
|
|
|
Requires: osclib = %{version}
|
2018-10-23 08:13:31 +02:00
|
|
|
Requires: python2-openqa_client
|
2018-05-18 13:20:26 +02:00
|
|
|
Requires: python2-pika
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%description totest-manager
|
2017-10-09 20:53:21 -05:00
|
|
|
Manages product ToTest repository workflow and openQA interaction
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2017-10-17 15:51:56 +02:00
|
|
|
%package pkglistgen
|
|
|
|
Summary: Generates package lists in 000product
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
2017-11-13 18:25:16 +01:00
|
|
|
Requires: obs-service-product_converter
|
2018-05-10 21:13:54 -05:00
|
|
|
Requires: osclib = %{version}
|
2018-01-09 16:55:20 -06:00
|
|
|
Requires: python-requests
|
2017-11-21 10:58:13 +01:00
|
|
|
Requires: python-solv
|
2017-11-13 18:08:02 +01:00
|
|
|
# we use the same user as repo-checker
|
|
|
|
PreReq: openSUSE-release-tools-repo-checker
|
2017-10-17 15:51:56 +02:00
|
|
|
|
|
|
|
%description pkglistgen
|
|
|
|
Generates package lists based on 000package-groups and puts them
|
|
|
|
in 000product, resp 000release-packages
|
|
|
|
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%package -n osclib
|
|
|
|
Summary: Supplemental osc libraries
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
# TODO Update requirements, but for now base deps.
|
|
|
|
Requires: %{name} = %{version}
|
2017-09-01 11:59:58 -05:00
|
|
|
Requires: osc >= 0.159.0
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%description -n osclib
|
|
|
|
Supplemental osc libraries utilized by release tools.
|
|
|
|
|
|
|
|
%package -n osc-plugin-check_dups
|
|
|
|
Summary: OSC plugin to check for duplicate requests
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
2017-09-01 11:59:58 -05:00
|
|
|
Requires: osc >= 0.159.0
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%description -n osc-plugin-check_dups
|
|
|
|
OSC plugin to check for duplicate requests, see `osc check_dups --help`.
|
|
|
|
|
|
|
|
%package -n osc-plugin-cycle
|
|
|
|
Summary: OSC plugin for cycle visualization
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
2017-09-01 11:59:58 -05:00
|
|
|
Requires: osc >= 0.159.0
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%description -n osc-plugin-cycle
|
|
|
|
OSC plugin for cycle visualization, see `osc cycle --help`.
|
|
|
|
|
|
|
|
%package -n osc-plugin-staging
|
|
|
|
Summary: OSC plugin for the staging workflow
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
2017-10-18 14:46:17 -05:00
|
|
|
# devel-project.py needs 0.160.0 for get_request_list(withfullhistory) param.
|
|
|
|
Requires: osc >= 0.160.0
|
2017-07-11 20:48:53 -05:00
|
|
|
Requires: osclib = %{version}
|
|
|
|
|
|
|
|
%description -n osc-plugin-staging
|
|
|
|
OSC plugin for the staging workflow, see `osc staging --help`.
|
|
|
|
|
2017-11-02 15:53:45 +08:00
|
|
|
%package -n osc-plugin-vdelreq
|
|
|
|
Summary: OSC plugin to check for virtually accepted request
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: osc >= 0.159.0
|
|
|
|
|
|
|
|
%description -n osc-plugin-vdelreq
|
|
|
|
OSC plugin to check for virtually accepted request, see `osc vdelreq --help`.
|
|
|
|
|
2018-10-09 08:38:23 +02:00
|
|
|
%package rabbit-openqa
|
|
|
|
Summary: Sync openQA Status Into OBS
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: osc >= 0.159.0
|
2018-10-23 08:13:31 +02:00
|
|
|
Requires: python2-openqa_client
|
|
|
|
Requires: python2-pika
|
2018-10-09 08:38:23 +02:00
|
|
|
|
|
|
|
%description rabbit-openqa
|
|
|
|
Bot listening to AMQP bus and syncs openQA job status into OBS for
|
|
|
|
staging projects
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%prep
|
2017-07-17 15:55:32 -05:00
|
|
|
%setup -q
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%if 0%{?is_opensuse}
|
2018-03-16 14:58:27 -05:00
|
|
|
# TODO openSUSE/openSUSE-release-tools#1221: decide how to handle integration tests
|
2017-10-24 17:37:25 -05:00
|
|
|
# make check
|
2017-07-11 20:48:53 -05:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
2017-08-01 22:37:06 -05:00
|
|
|
%make_install \
|
2018-03-09 16:42:05 -06:00
|
|
|
grafana_provisioning_dir="%{_sysconfdir}/grafana/provisioning" \
|
2017-08-01 22:37:06 -05:00
|
|
|
oscplugindir="%{osc_plugin_dir}" \
|
|
|
|
VERSION="%{version}"
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2018-01-25 15:55:24 -06:00
|
|
|
%pre announcer
|
|
|
|
getent passwd osrt-announcer > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-leaper" osrt-announcer
|
|
|
|
exit 0
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%postun announcer
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2017-10-09 21:58:29 -05:00
|
|
|
%pre check-source
|
|
|
|
getent passwd osrt-check-source > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-check-source" osrt-check-source
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun check-source
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-10-09 21:58:29 -05:00
|
|
|
|
2017-10-09 19:55:28 -05:00
|
|
|
%pre leaper
|
|
|
|
getent passwd osrt-leaper > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-leaper" osrt-leaper
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun leaper
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-10-09 19:55:28 -05:00
|
|
|
|
2017-10-09 21:21:21 -05:00
|
|
|
%pre maintenance
|
|
|
|
getent passwd osrt-maintenance > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-maintenance" osrt-maintenance
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun maintenance
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-10-09 21:21:21 -05:00
|
|
|
|
2017-11-03 17:59:01 -05:00
|
|
|
%pre metrics
|
|
|
|
getent passwd osrt-metrics > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-metrics" osrt-metrics
|
|
|
|
exit 0
|
|
|
|
|
2017-11-03 17:51:04 -05:00
|
|
|
%postun metrics
|
2017-11-03 17:59:01 -05:00
|
|
|
%systemd_postun
|
2017-11-03 17:51:04 -05:00
|
|
|
# If grafana-server.service is enabled then restart it to load new dashboards.
|
2017-11-08 17:23:30 -06:00
|
|
|
if [ -x /usr/bin/systemctl ] && /usr/bin/systemctl is-enabled grafana-server ; then
|
2017-11-03 17:51:04 -05:00
|
|
|
/usr/bin/systemctl try-restart --no-block grafana-server
|
|
|
|
fi
|
2017-10-04 16:09:49 -05:00
|
|
|
|
2017-10-04 17:21:26 -05:00
|
|
|
%pre repo-checker
|
|
|
|
getent passwd osrt-repo-checker > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-repo-checker" osrt-repo-checker
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun repo-checker
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-10-04 17:21:26 -05:00
|
|
|
|
2017-10-09 17:36:27 -05:00
|
|
|
%pre staging-bot
|
|
|
|
getent passwd osrt-staging-bot > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-staging-bot" osrt-staging-bot
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun staging-bot
|
2017-11-09 17:29:19 -06:00
|
|
|
%systemd_postun
|
2017-10-09 17:36:27 -05:00
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%pre totest-manager
|
2017-10-09 20:51:12 -05:00
|
|
|
getent passwd osrt-totest-manager > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-totest-manager" osrt-totest-manager
|
|
|
|
exit 0
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%postun totest-manager
|
2017-11-09 17:29:38 -06:00
|
|
|
%systemd_postun
|
|
|
|
if [ -x /usr/bin/systemctl ] ; then
|
2017-11-09 23:47:08 -06:00
|
|
|
instances=($(systemctl list-units -t service --full | grep -oP osrt-totest-manager@[^.]+ || true))
|
|
|
|
if [ ${#instances[@]} -gt 0 ] ; then
|
|
|
|
systemctl try-restart --no-block ${instances[@]}
|
|
|
|
fi
|
2017-11-09 17:29:38 -06:00
|
|
|
fi
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2017-11-13 18:08:02 +01:00
|
|
|
%postun pkglistgen
|
|
|
|
%systemd_postun
|
|
|
|
|
2018-10-09 08:38:23 +02:00
|
|
|
%pre rabbit-openqa
|
2018-10-23 08:13:31 +02:00
|
|
|
getent passwd osrt-rabbit-openqa > /dev/null || \
|
|
|
|
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-rabbit-openqa" osrt-rabbit-openqa
|
2018-10-09 08:38:23 +02:00
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun rabbit-openqa
|
|
|
|
%systemd_postun
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2018-08-23 17:42:31 -05:00
|
|
|
%doc README.md
|
2018-04-16 15:43:49 -05:00
|
|
|
%{_bindir}/osrt-biarchtool
|
|
|
|
%{_bindir}/osrt-bs_mirrorfull
|
|
|
|
%{_bindir}/osrt-build-fail-reminder
|
|
|
|
%{_bindir}/osrt-checknewer
|
|
|
|
%{_bindir}/osrt-check_source_in_factory
|
|
|
|
%{_bindir}/osrt-check_tags_in_requests
|
|
|
|
%{_bindir}/osrt-compare_pkglist
|
|
|
|
%{_bindir}/osrt-create_test_dvds
|
2018-06-28 16:07:48 +02:00
|
|
|
%{_bindir}/osrt-deptool
|
2018-04-16 15:43:49 -05:00
|
|
|
%{_bindir}/osrt-fcc_submitter
|
|
|
|
%{_bindir}/osrt-findfileconflicts
|
|
|
|
%{_bindir}/osrt-issue-diff
|
2018-09-06 00:00:01 -05:00
|
|
|
%{_bindir}/osrt-k8s-secret
|
2018-04-16 15:43:49 -05:00
|
|
|
%{_bindir}/osrt-legal-auto
|
|
|
|
%{_bindir}/osrt-obs_clone
|
|
|
|
%{_bindir}/osrt-openqa-maintenance
|
|
|
|
%{_bindir}/osrt-rebuildpacs
|
|
|
|
%{_bindir}/osrt-requestfinder
|
|
|
|
%{_bindir}/osrt-status
|
|
|
|
%{_bindir}/osrt-sync-rebuild
|
|
|
|
%{_bindir}/osrt-unmaintained
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}
|
|
|
|
%exclude %{_datadir}/%{source_dir}/abichecker
|
|
|
|
%exclude %{_datadir}/%{source_dir}/%{announcer_filename}
|
2017-10-09 21:21:21 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/check_maintenance_incidents.py
|
2017-10-09 21:58:29 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/check_source.pl
|
|
|
|
%exclude %{_datadir}/%{source_dir}/check_source.py
|
2017-10-09 17:36:27 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/devel-project.py
|
2017-10-09 19:55:28 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/leaper.py
|
|
|
|
%exclude %{_datadir}/%{source_dir}/manager_42.py
|
2017-10-04 16:09:49 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/metrics
|
|
|
|
%exclude %{_datadir}/%{source_dir}/metrics.py
|
2018-03-08 21:54:29 -06:00
|
|
|
%exclude %{_datadir}/%{source_dir}/metrics_release.py
|
2018-05-10 00:06:49 -05:00
|
|
|
%exclude %{_bindir}/osrt-openqa-comments
|
2018-01-09 16:57:05 -06:00
|
|
|
%exclude %{_datadir}/%{source_dir}/pkglistgen.py
|
2017-10-04 18:14:53 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/repo_checker.pl
|
2017-10-04 17:21:26 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/repo_checker.py
|
2017-10-09 21:09:44 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/suppkg_rebuild.py
|
2017-07-11 20:48:53 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/totest-manager.py
|
|
|
|
%exclude %{_datadir}/%{source_dir}/osclib
|
|
|
|
%exclude %{_datadir}/%{source_dir}/osc-check_dups.py
|
|
|
|
%exclude %{_datadir}/%{source_dir}/osc-cycle.py
|
|
|
|
%exclude %{_datadir}/%{source_dir}/osc-staging.py
|
2017-11-02 15:53:45 +08:00
|
|
|
%exclude %{_datadir}/%{source_dir}/osc-vdelreq.py
|
2017-10-09 19:55:28 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/update_crawler.py
|
2018-10-09 08:38:23 +02:00
|
|
|
%exclude %{_datadir}/%{source_dir}/rabbit-openqa.py
|
2017-10-09 19:55:28 -05:00
|
|
|
%dir %{_sysconfdir}/openSUSE-release-tools
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Non-empty for older products.
|
2018-08-23 17:42:31 -05:00
|
|
|
%doc README.md
|
2017-07-11 20:48:53 -05:00
|
|
|
|
|
|
|
%files abichecker
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-07-11 20:48:53 -05:00
|
|
|
%{apache_sysconfdir}/vhosts.d/opensuse-abi-checker.conf.in
|
|
|
|
%{_datadir}/%{source_dir}/abichecker
|
|
|
|
%{_tmpfilesdir}/opensuse-abi-checker.conf
|
|
|
|
%{_unitdir}/opensuse-abi-checker.service
|
|
|
|
|
|
|
|
%files announcer
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc %{announcer_filename}/README.asciidoc
|
2018-01-25 15:55:24 -06:00
|
|
|
%{_bindir}/osrt-announcer
|
2017-07-11 20:48:53 -05:00
|
|
|
%{apache_sysconfdir}/conf.d/%{announcer_filename}.conf.in
|
|
|
|
%{_datadir}/%{source_dir}/%{announcer_filename}
|
2018-01-25 16:50:00 -06:00
|
|
|
%config(noreplace) %{_sysconfdir}/openSUSE-release-tools/announcer
|
2017-07-11 20:48:53 -05:00
|
|
|
%config(noreplace) %{_sysconfdir}/rsyslog.d/%{announcer_filename}.conf
|
2018-01-25 15:55:24 -06:00
|
|
|
%{_unitdir}/osrt-announcer@.service
|
|
|
|
%{_unitdir}/osrt-announcer@.timer
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2017-10-09 21:58:29 -05:00
|
|
|
%files check-source
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-check_source
|
|
|
|
%{_datadir}/%{source_dir}/check_source.pl
|
|
|
|
%{_datadir}/%{source_dir}/check_source.py
|
|
|
|
%{_unitdir}/osrt-check-source.service
|
|
|
|
%{_unitdir}/osrt-check-source.timer
|
|
|
|
|
2017-10-09 19:55:28 -05:00
|
|
|
%files leaper
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-leaper
|
|
|
|
%{_bindir}/osrt-leaper-crawler-*
|
|
|
|
%{_bindir}/osrt-manager_42
|
|
|
|
%{_bindir}/osrt-update_crawler
|
|
|
|
%{_datadir}/%{source_dir}/leaper.py
|
|
|
|
%{_datadir}/%{source_dir}/manager_42.py
|
|
|
|
%{_datadir}/%{source_dir}/update_crawler.py
|
|
|
|
%{_unitdir}/osrt-leaper-crawler@.service
|
|
|
|
%{_unitdir}/osrt-leaper-crawler@.timer
|
|
|
|
%{_unitdir}/osrt-leaper-manager@.service
|
|
|
|
%{_unitdir}/osrt-leaper-manager@.timer
|
|
|
|
%{_unitdir}/osrt-leaper-review.service
|
|
|
|
%{_unitdir}/osrt-leaper-review.timer
|
2018-01-25 16:50:00 -06:00
|
|
|
%config(noreplace) %{_sysconfdir}/openSUSE-release-tools/manager_42
|
2017-10-09 19:55:28 -05:00
|
|
|
|
2017-10-09 21:21:21 -05:00
|
|
|
%files maintenance
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-check_maintenance_incidents
|
|
|
|
%{_datadir}/%{source_dir}/check_maintenance_incidents.py
|
|
|
|
%{_unitdir}/osrt-maintenance-incidents.service
|
|
|
|
%{_unitdir}/osrt-maintenance-incidents.timer
|
|
|
|
|
2017-10-04 16:09:49 -05:00
|
|
|
%files metrics
|
|
|
|
%defattr(-,root,root,-)
|
2017-11-03 17:49:47 -05:00
|
|
|
%{_bindir}/osrt-metrics
|
2017-10-04 16:09:49 -05:00
|
|
|
%{_datadir}/%{source_dir}/metrics
|
2018-06-14 22:48:07 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/metrics/access
|
2018-06-20 16:29:23 -05:00
|
|
|
%exclude %{_datadir}/%{source_dir}/metrics/grafana/access.json
|
2017-10-04 16:09:49 -05:00
|
|
|
%{_datadir}/%{source_dir}/metrics.py
|
2018-03-08 21:54:29 -06:00
|
|
|
%{_datadir}/%{source_dir}/metrics_release.py
|
2017-11-03 17:59:01 -05:00
|
|
|
# To avoid adding grafana as BuildRequires since it does not live in same repo.
|
2018-03-09 16:42:05 -06:00
|
|
|
%dir %attr(0750, root grafana) %{_sysconfdir}/grafana
|
|
|
|
%dir %{_sysconfdir}/grafana/provisioning
|
|
|
|
%dir %{_sysconfdir}/grafana/provisioning/dashboards
|
|
|
|
%dir %{_sysconfdir}/grafana/provisioning/datasources
|
|
|
|
%{_sysconfdir}/grafana/provisioning/dashboards/%{name}.yaml
|
|
|
|
%{_sysconfdir}/grafana/provisioning/datasources/%{name}.yaml
|
2017-11-03 17:59:01 -05:00
|
|
|
%{_unitdir}/osrt-metrics@.service
|
|
|
|
%{_unitdir}/osrt-metrics@.timer
|
2018-03-08 21:54:29 -06:00
|
|
|
%{_unitdir}/osrt-metrics-release@.service
|
|
|
|
%{_unitdir}/osrt-metrics-release@.timer
|
2018-08-29 16:35:21 -05:00
|
|
|
%{_unitdir}/osrt-metrics-telegraf.service
|
2017-10-04 16:09:49 -05:00
|
|
|
|
2018-06-14 22:48:07 -05:00
|
|
|
%files metrics-access
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-metrics-access-aggregate
|
|
|
|
%{_bindir}/osrt-metrics-access-ingest
|
|
|
|
%{_datadir}/%{source_dir}/metrics/access
|
2018-06-20 16:29:23 -05:00
|
|
|
%{_datadir}/%{source_dir}/metrics/grafana/access.json
|
2018-06-14 22:48:07 -05:00
|
|
|
%{_unitdir}/osrt-metrics-access.service
|
|
|
|
%{_unitdir}/osrt-metrics-access.timer
|
|
|
|
|
2017-10-04 17:21:26 -05:00
|
|
|
%files repo-checker
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-repo_checker
|
2017-10-04 18:14:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/repo_checker.pl
|
2017-10-04 17:21:26 -05:00
|
|
|
%{_datadir}/%{source_dir}/repo_checker.py
|
|
|
|
%{_unitdir}/osrt-repo-checker.service
|
|
|
|
%{_unitdir}/osrt-repo-checker.timer
|
|
|
|
%{_unitdir}/osrt-repo-checker-project_only@.service
|
|
|
|
%{_unitdir}/osrt-repo-checker-project_only@.timer
|
|
|
|
|
2017-10-09 17:36:27 -05:00
|
|
|
%files staging-bot
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-devel-project
|
2018-05-10 00:06:49 -05:00
|
|
|
%{_bindir}/osrt-openqa-comments
|
2017-10-09 21:09:44 -05:00
|
|
|
%{_bindir}/osrt-suppkg_rebuild
|
2017-10-09 17:36:27 -05:00
|
|
|
%{_datadir}/%{source_dir}/devel-project.py
|
2017-10-09 21:09:44 -05:00
|
|
|
%{_datadir}/%{source_dir}/suppkg_rebuild.py
|
2018-05-10 00:20:30 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-check_duplicate_binaries@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-check_duplicate_binaries@.timer
|
2017-10-09 17:36:27 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-daily@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-daily@.timer
|
2017-10-09 20:26:50 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-devel-list.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-devel-list.timer
|
2018-05-10 00:06:49 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-openqa-comments@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-openqa-comments@.timer
|
2017-10-09 17:36:27 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-regular@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-regular@.timer
|
|
|
|
%{_unitdir}/osrt-staging-bot-reminder.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-reminder.timer
|
2017-10-09 21:37:32 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-supersede@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-supersede@.timer
|
2017-10-09 21:09:44 -05:00
|
|
|
%{_unitdir}/osrt-staging-bot-support-rebuild@.service
|
|
|
|
%{_unitdir}/osrt-staging-bot-support-rebuild@.timer
|
2017-10-09 17:36:27 -05:00
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%files totest-manager
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-10-09 20:51:12 -05:00
|
|
|
%{_bindir}/osrt-totest-manager
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/totest-manager.py
|
2017-10-09 20:51:12 -05:00
|
|
|
%{_unitdir}/osrt-totest-manager@.service
|
2018-06-13 14:18:59 +02:00
|
|
|
%{_unitdir}/osrt-totest-manager@.timer
|
2017-07-11 20:48:53 -05:00
|
|
|
|
2017-10-17 15:51:56 +02:00
|
|
|
%files pkglistgen
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-pkglistgen
|
2018-01-09 16:57:05 -06:00
|
|
|
%{_datadir}/%{source_dir}/pkglistgen.py
|
2017-11-13 18:08:02 +01:00
|
|
|
%{_unitdir}/osrt-pkglistgen@.service
|
|
|
|
%{_unitdir}/osrt-pkglistgen@.timer
|
2017-10-17 15:51:56 +02:00
|
|
|
|
2018-10-09 08:38:23 +02:00
|
|
|
%files rabbit-openqa
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/osrt-rabbit-openqa
|
|
|
|
%{_datadir}/%{source_dir}/rabbit-openqa.py
|
|
|
|
%{_unitdir}/osrt-rabbit-openqa.service
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%files -n osclib
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/osclib
|
|
|
|
%{osc_plugin_dir}/osclib
|
|
|
|
|
|
|
|
%files -n osc-plugin-check_dups
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/osc-check_dups.py
|
|
|
|
%{osc_plugin_dir}/osc-check_dups.py
|
|
|
|
|
|
|
|
%files -n osc-plugin-cycle
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/osc-cycle.py
|
|
|
|
%{osc_plugin_dir}/osc-cycle.py
|
|
|
|
|
|
|
|
%files -n osc-plugin-staging
|
2017-07-17 15:52:27 -05:00
|
|
|
%defattr(-,root,root,-)
|
2017-07-11 20:48:53 -05:00
|
|
|
%{_datadir}/%{source_dir}/osc-staging.py
|
|
|
|
%{osc_plugin_dir}/osc-staging.py
|
|
|
|
|
2017-11-02 15:53:45 +08:00
|
|
|
%files -n osc-plugin-vdelreq
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/%{source_dir}/osc-vdelreq.py
|
|
|
|
%{osc_plugin_dir}/osc-vdelreq.py
|
|
|
|
|
2017-07-11 20:48:53 -05:00
|
|
|
%changelog
|