File webpin-1.2.4-openSUSE_Leap_42.1_42.2.patch of Package webpin

From: Andrei Borzenkov <arvidjaar@gmail.com>

Add minimal support for new Leap versions.
Index: webpin-1.2.4/doc/webpinrc.5
===================================================================
--- webpin-1.2.4.orig/doc/webpinrc.5	2016-06-27 08:17:59.862392434 +0300
+++ webpin-1.2.4/doc/webpinrc.5	2016-06-27 08:33:21.350426799 +0300
@@ -73,6 +73,8 @@
 .TP
 .B distribution
 for the default openSUSE distribution version to query, with valid values being
+.BR 42.2 ,
+.BR 42.1 ,
 .BR 13.2 ,
 .BR 13.1 ,
 .BR 12.3 ,
Index: webpin-1.2.4/webpin/const.py
===================================================================
--- webpin-1.2.4.orig/webpin/const.py	2016-06-27 08:17:59.862392434 +0300
+++ webpin-1.2.4/webpin/const.py	2016-06-27 08:44:26.042451587 +0300
@@ -20,7 +20,7 @@
 mode = 'Simple'
 # used when the VERSION cannot be parsed from platform.dist()
 # nor /etc/SuSE-release
-defaultSuseVersion = '13.2'
+defaultSuseVersion = '42.2'
 # used for --latest
 latestSuseVersion = defaultSuseVersion
 
@@ -68,6 +68,8 @@
 # Map of (open)SUSE versions to dist identifiers
 # that must be used in the Package Search webservice URL:
 distVersionMap = {
+		'42.2': 'openSUSE_Leap_422',
+		'42.1': 'openSUSE_Leap_421',
 		'13.2': 'openSUSE_132',
 		'13.1': 'openSUSE_131',
 		'12.3': 'openSUSE_123',
openSUSE Build Service is sponsored by