Explain why we need this explicit dependency

This commit is contained in:
Mathieu Bridon 2013-08-30 13:57:15 +08:00
parent 0f6aa8d9ea
commit b6a0c13c17

View File

@ -8,7 +8,11 @@ URL: http://ipset.netfilter.org/
Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2 Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2
Source1: %{name}.service Source1: %{name}.service
Source2: %{name}.start-stop Source2: %{name}.start-stop
BuildRequires: libmnl-devel 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} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# This is developed hand in hand with a kernel module # This is developed hand in hand with a kernel module