From 60b50da5e2a3aa386e042626c6e1392b9e849af74de05db0ecd494e406243113 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 31 Jul 2012 10:14:32 +0000 Subject: [PATCH] Accepting request 129340 from home:computersalat:devel:mon fix deps OBS-URL: https://build.opensuse.org/request/show/129340 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=109 --- collectd.changes | 7 +++++++ collectd.spec | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/collectd.changes b/collectd.changes index b58fe0a..b4fc2e0 100644 --- a/collectd.changes +++ b/collectd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jul 30 14:09:52 UTC 2012 - chris@computersalat.de + +- fix deps for iptables + * iptables-devel works for > 1020 + * > 12.1 'split iptables-devel into libiptc-devel and libxtables-devel' + ------------------------------------------------------------------- Mon Jun 11 12:05:44 UTC 2012 - coolo@suse.com diff --git a/collectd.spec b/collectd.spec index acd6ff0..cea3ff9 100644 --- a/collectd.spec +++ b/collectd.spec @@ -252,8 +252,15 @@ BuildRequires: libmemcached-devel %if %protobuf BuildRequires: protobuf-c %endif -%if %suse_version >= 1210 +%if %suse_version < 1220 +%if %suse_version > 1020 +BuildRequires: iptables-devel +%endif +%else +BuildRequires: libiptc-devel BuildRequires: libxtables-devel +%endif +%if %suse_version >= 1210 %{perl_requires} %endif # in case we'd like to split it later: