Hello community,

here is the log from the commit of package gitslave for openSUSE:Factory 
checked in at 2016-09-16 11:01:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gitslave (Old)
 and      /work/SRC/openSUSE:Factory/.gitslave.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gitslave"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gitslave/gitslave.changes        2016-07-20 
09:21:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gitslave.new/gitslave.changes   2016-09-16 
11:01:59.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 14 20:36:00 UTC 2016 - robert.munte...@gmail.com
+
+- Added 0004-fix-deprecation-warnings.patch, fixes deprecation 
+  warnings caused by an unescaped left brace in a regex
+
+-------------------------------------------------------------------

New:
----
  0004-fix-deprecation-warnings.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gitslave.spec ++++++
--- /var/tmp/diff_new_pack.JkIo0t/_old  2016-09-16 11:02:01.000000000 +0200
+++ /var/tmp/diff_new_pack.JkIo0t/_new  2016-09-16 11:02:01.000000000 +0200
@@ -37,6 +37,8 @@
 Patch1:         0002-fix-gits-unexpected-status.patch
 # PATCH-FIX-UPSTREAM - https://sourceforge.net/p/gitslave/bugs/27/
 Patch2:         0003-fix-pod2man-invocation.patch 
+# PATCH-FIX-UPSTREAM - https://sourceforge.net/p/gitslave/bugs/25/
+Patch3:         0004-fix-deprecation-warnings.patch
 
 %description
 Creates a group of related repositories—a superproject repository and
@@ -57,6 +59,7 @@
 %patch0 -p1
 %patch1
 %patch2 -p1
+%patch3 -p1
 
 %build
 make %{?_smp_mflags}

++++++ 0004-fix-deprecation-warnings.patch ++++++
>From 892ba342672e3c176544e4076c602d95e7e8c937 Mon Sep 17 00:00:00 2001
From: David C Wang <davwa...@cisco.com>
Date: Sun, 11 Sep 2016 21:31:06 -0700
Subject: [PATCH] Fixed deprecation warning

Unescaped left brace in regex is deprecated, passed through in regex;
  marked by <-- HERE in m/^(stash\@{ <-- HERE \d+}: )WIP( on .*:
  [\da-f]+)\.\.\..*$/ at /tmp/gits line 1128.
---
 gits | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gits b/gits
index 2cfd49b..d9f7ec1 100755
--- a/gits
+++ b/gits
@@ -1125,7 +1125,7 @@ sub releasecheck($@)
       push(@stashed, $repo);
       $unclean = 1;
       # strip out previous commit from WIP stashes (messages are misleading)
-      $stashes =~ s/^(stash\@{\d+}: )WIP( on .*: 
[\da-f]+)\.\.\..*$/${1}Work-in-Progress${2}/mg;
+      $stashes =~ s/^(stash\@\{\d+}: )WIP( on .*: 
[\da-f]+)\.\.\..*$/${1}Work-in-Progress${2}/mg;
       $msg .= $stashes;
     }
 

Reply via email to