Skip to contentSkip to conversation

ndctl: use %doc instead of %license for older SUSE environments

PATCH New Dan Williams 1 participant 1 message Mar 25, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ndctl: use %doc instead of %license for older SUSE environments

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.

---
 Makefile.am |    1 +
 1 file changed, 1 insertion(+)
Makefile.am +1 -0
index eaf544a96284..3cd2f707f88f 100644
@@ -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

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm