File xen.build-compare.man.patch of Package xen.openSUSE_Leap_42.3_Update

Having just X.Y as version in the man pages is enough.
---
 docs/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: xen-4.9.0-testing/docs/Makefile
===================================================================
--- xen-4.9.0-testing.orig/docs/Makefile
+++ xen-4.9.0-testing/docs/Makefile
@@ -2,7 +2,7 @@ XEN_ROOT=$(CURDIR)/..
 include $(XEN_ROOT)/Config.mk
 -include $(XEN_ROOT)/config/Docs.mk
 
-VERSION		:= $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion)
+VERSION		:= $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion | cut -f -2 -d .)
 DATE		:= $(shell date +%Y-%m-%d)
 
 DOC_ARCHES      := arm x86_32 x86_64
openSUSE Build Service is sponsored by