mirror of
https://github.com/pengutronix/monitoring-check-systemd-service.git
synced 2025-07-21 12:54:38 +02:00
spec: add rhel8 support
This commit is contained in:
parent
1441dc9e03
commit
e95f4fc1e0
@ -1,6 +1,6 @@
|
||||
Name: monitoring-check-systemd-service
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Release: %{release}%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Nagios/Icinga check for systemd services
|
||||
AutoReqProv: no
|
||||
@ -8,9 +8,16 @@ BuildArch: noarch
|
||||
Source0: https://github.com/joernott/monitoring-check-systemd-service/archive/v%{version}.tar.gz#/monitoring-check-systemd-service-%{version}.tar.gz
|
||||
License: BSD
|
||||
URL: https://github.com/joernott/monitoring-check-systemd-service
|
||||
%if 0%{?rhel} == 8
|
||||
Requires: python36
|
||||
Requires: python3-gobject
|
||||
Requires: python3-nagiosplugin
|
||||
%else
|
||||
Requires: rh-python36
|
||||
Requires: python36-gobject
|
||||
Requires: python3-nagiosplugin
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
This script is intended for icinga/nagios/icinga2 to check the state of a
|
||||
|
Loading…
x
Reference in New Issue
Block a user