[ipset] Explain why we need this explicit dependency

Mathieu Bridon bochecha at fedoraproject.org
Fri Aug 30 06:02:54 UTC 2013


commit b6a0c13c17ba2d669fe1cfbd1607262f265c3104
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Fri Aug 30 13:57:15 2013 +0800

    Explain why we need this explicit dependency

 ipset.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list