From bcfb4288a8aab1f8ae968eb8b6750c01e7614b3a31307a844bc29487ae9da5d1 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sat, 27 Dec 2014 17:47:25 +0000 Subject: [PATCH] - require portmap on older distributions for building instead of rpcbind - newer openSUSE versions use rsyslog: require virtual syslog package for build OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=13 --- monitoring-plugins.changes | 4 ++++ monitoring-plugins.spec | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index e868c20..3a4789b 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -37,6 +37,10 @@ Sat Dec 27 12:41:01 UTC 2014 - lars@linux-schulserver.de + monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch - refreshed the other patches - ran spec-cleaner +- require portmap on older distributions for building instead of + rpcbind +- newer openSUSE versions use rsyslog: require virtual syslog + package for build ------------------------------------------------------------------- Sun Aug 10 17:11:48 UTC 2014 - lars@linux-schulserver.de diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec index 7dd709a..842a579 100644 --- a/monitoring-plugins.spec +++ b/monitoring-plugins.spec @@ -83,17 +83,22 @@ BuildRequires: postfix BuildRequires: postgresql-devel BuildRequires: procps BuildRequires: python-devel -BuildRequires: rpcbind BuildRequires: samba-client %if 0%{?suse_version} %if 0%{?suse_version} > 1020 BuildRequires: freeradius-client-devel +BuildRequires: rpcbind %else +BuildRequires: portmap BuildRequires: radiusclient %endif %if 0%{?suse_version} > 910 BuildRequires: krb5-devel +%if 0%{?suse_version} > 1310 +BuildRequires: syslog +%else BuildRequires: syslog-ng +%endif %else BuildRequires: heimdal-devel %endif