diff --git a/ipset.spec b/ipset.spec index 9e29936..cb1c7d1 100644 --- a/ipset.spec +++ b/ipset.spec @@ -8,7 +8,11 @@ URL: http://ipset.netfilter.org/ Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2 Source1: %{name}.service Source2: %{name}.start-stop + BuildRequires: libmnl-devel + +# An explicit requirement is needed here, to avoid cases where a user would +# explicitly update only one of the two (e.g 'yum update ipset') Requires: %{name}-libs%{?_isa} = %{version}-%{release} # This is developed hand in hand with a kernel module