Changes of Revision 6
[-] | Changed | nagios-plugins-various.spec |
x 1
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
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 |