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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
---
 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
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to