diff --git a/ebtables.changes b/ebtables.changes index da78d4a..a3d27df 100644 --- a/ebtables.changes +++ b/ebtables.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 19 10:08:54 UTC 2012 - jengelh@inai.de + +- Have build succeed on non-SUSE + ------------------------------------------------------------------- Thu Dec 15 21:44:32 UTC 2011 - jengelh@medozas.de diff --git a/ebtables.spec b/ebtables.spec index 73c917c..28590e8 100644 --- a/ebtables.spec +++ b/ebtables.spec @@ -1,7 +1,7 @@ # # spec file for package ebtables # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,27 @@ # - Name: ebtables Version: 2.0.10.4 -Release: 1 -License: GPL-2.0+ +Release: 0 Summary: Ethernet Bridge Tables -URL: http://ebtables.sf.net/ +License: GPL-2.0+ Group: Productivity/Networking/Security +Url: http://ebtables.sf.net/ + Source: %name-v2.0.10-4.tar.xz Patch0: %name-v2.0.8-makefile.diff Patch1: %name-v2.0.8-initscript.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: xz -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: kernel-headers +%if 0%{?suse_version} >= 1140 +BuildRequires: linux-glibc-devel >= 2.6.20 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: linux-kernel-headers >= 2.6.20 +%endif +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} +BuildRequires: kernel-headers >= 2.6.20 %endif %description