Otherwise ndctl may use an old version of ndctl-libs.  The expectation
is that installing an updated ndctl also includes all the capabilities
of an updated libndctl.

Reported-by: Jeff Moyer <jmo...@redhat.com>
Signed-off-by: Dan Williams <dan.j.willi...@intel.com>
---
 ndctl.spec.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ndctl.spec.in b/ndctl.spec.in
index 0aaef03b2e5b..f152bbe44621 100644
--- a/ndctl.spec.in
+++ b/ndctl.spec.in
@@ -7,6 +7,8 @@ Group:          System Environment/Base
 Url:           https://github.com/pmem/ndctl
 Source0:       
https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 
+Requires:      LNAME%{?_isa} = %{version}-%{release}
+Requires:      DAX_LNAME%{?_isa} = %{version}-%{release}
 BuildRequires: autoconf
 BuildRequires: asciidoc
 BuildRequires: xmlto

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to