Hello community,

here is the log from the commit of package dd_rhelp for openSUSE:Factory 
checked in at 2018-03-16 10:42:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dd_rhelp (Old)
 and      /work/SRC/openSUSE:Factory/.dd_rhelp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dd_rhelp"

Fri Mar 16 10:42:24 2018 rev:9 rq:586982 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/dd_rhelp/dd_rhelp.changes        2014-03-14 
15:15:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dd_rhelp.new/dd_rhelp.changes   2018-03-16 
10:43:34.127998577 +0100
@@ -1,0 +2,5 @@
+Wed Mar 14 14:05:31 CET 2018 - k...@garloff.de
+
+- dd_r_version.diff: Make dd_rhelp accept version 1.99.x. 
+
+-------------------------------------------------------------------

New:
----
  dd_r_version.diff

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

Other differences:
------------------
++++++ dd_rhelp.spec ++++++
--- /var/tmp/diff_new_pack.u0Ug7q/_old  2018-03-16 10:43:35.951932902 +0100
+++ /var/tmp/diff_new_pack.u0Ug7q/_new  2018-03-16 10:43:35.955932758 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dd_rhelp
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,14 @@
 Version:        0.3.0
 Release:        0
 Summary:        Bash Helper Script That Handles dd_rescue
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/Base
 Url:            http://www.kalysto.org/utilities/dd_rhelp/index.en.html
 Source0:        http://www.kalysto.org/pkg/%{name}-%{version}.tar.gz
 Patch1:         dd_rhelp_EOF.diff
 Patch2:         dd_rhelp_Summary.diff
 Patch3:         dd_rhelp.test.diff
+Patch4:         dd_r_version.diff
 BuildRequires:  bc
 BuildRequires:  dd_rescue
 # dd_rhelp (version 0.1.2) was splitted from dd_rescue after openSUSE 12.1 (at 
dd_rescue version 1.25)
@@ -47,6 +48,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 

++++++ dd_r_version.diff ++++++
Index: dd_rhelp-0.3.0/dd_rhelp
===================================================================
--- dd_rhelp-0.3.0.orig/dd_rhelp
+++ dd_rhelp-0.3.0/dd_rhelp
@@ -1039,8 +1039,9 @@ function get_valid_dd_rescue() {
 #     fi
 
 
     version=$("$path" -V 2>&1 | "${grep}" "dd_rescue Version" | "$cut" -f 3 -d 
" " | "$cut" -f 1 -d ",")
+    version=$(echo "$version" | "$sed" 's/\([0-9]*\)\.\([0-9]*\).*/\1.\2/') 
 
     ## Could get something as version info ?
 
     if test -z "$version" || ! is_num "$version" ; then

Reply via email to