Per
build.opensuse.org build failures, the SLE_12 target wants %doc
instead of %license since /usr/share/license does not exist in that
environment.
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index eaf544a96284..3cd2f707f88f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,6 +60,7 @@ do_rhel_subst = sed -e 's,VERSION,$(VERSION),g' \
do_sles_subst = sed -e 's,VERSION,$(VERSION),g' \
-e 's,DNAME,libndctl-devel,g' \
+ -e 's,%license,%doc,g' \
-e 's,LNAME,libndctl$(LIBNDCTL_CURRENT),g'
rhel/ndctl.spec: ndctl.spec.in Makefile.am