File augeas-lens.patch of Package libvirt.3100

From 86a51f45f3a3f8b3b6a920d4e591c8e7ba8a3617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
Date: Fri, 15 Apr 2016 17:01:02 +0200
Subject: [PATCH] Adapt augeas profile to handle negative int values.

Introducing keepalive_interval = -1 breaks to augeas lens. Fix the lens
by allowing signed ints in the regular expression.
---
 daemon/libvirtd.aug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libvirt-1.2.18.4/daemon/libvirtd.aug
===================================================================
--- libvirt-1.2.18.4.orig/daemon/libvirtd.aug
+++ libvirt-1.2.18.4/daemon/libvirtd.aug
@@ -13,7 +13,7 @@ module Libvirtd =
 
    let str_val = del /\"/ "\"" . store /[^\"]*/ . del /\"/ "\""
    let bool_val = store /0|1/
-   let int_val = store /[0-9]+/
+   let int_val = store /-?[0-9]+/
    let str_array_element = [ seq "el" . str_val ] . del /[ \t\n]*/ ""
    let str_array_val = counter "el" . array_start . ( str_array_element . ( array_sep . str_array_element ) * ) ? . array_end