Merge pull request #3 from ReneTrippen/main

Merge rhel8 support back
This commit is contained in:
Joern Ott 2022-10-24 14:21:33 +02:00 committed by GitHub
commit 15bb2ff5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
Name: monitoring-check-systemd-service
Version: %{version}
Release: %{release}
Release: %{release}.el%{?rhel}
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