Logoj0ke.net Open Build Service > Projects > server:monitoring > nagios-plugins-various > Changes
Sign Up | Log In

Changes of Revision 6

[-] Changed nagios-plugins-various.spec
x
 
1
@@ -16,7 +16,11 @@
2
 Source0:   check_curl2
3
 Source1:   check_replication_slave
4
 Source2:   check_listen_tcp_udp
5
+%if 0%{?rhel} >= 8
6
+Requires:  php-cli php-curl
7
+%else
8
 Requires:  php php-curl php-mysql
9
+%endif
10
 AutoReqProv:   off
11
 BuildArch:      noarch
12
 
13
@@ -32,7 +36,9 @@
14
 
15
 %install
16
 install -D -m755 %{SOURCE0} %buildroot/%libexecdir/check_curl2
17
+%if 0%{?rhel} < 8
18
 install    -m755 %{SOURCE1} %buildroot/%libexecdir/check_replication_slave
19
+%endif
20
 install    -m755 %{SOURCE2} %buildroot/%libexecdir/check_listen_tcp_udp
21
 
22
 %clean
23