Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2021-05-10 15:38:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and      /work/SRC/openSUSE:Factory/.sluice.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sluice"

Mon May 10 15:38:55 2021 rev:6 rq:891841 version:0.02.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/sluice/sluice.changes    2020-03-08 
22:24:55.096106371 +0100
+++ /work/SRC/openSUSE:Factory/.sluice.new.2988/sluice.changes  2021-05-10 
15:41:31.193053432 +0200
@@ -1,0 +2,7 @@
+Thu Apr 29 10:13:18 UTC 2021 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 0.02.13
+  * Add sanity check that input filename is not null when
+    using -I option.
+
+-------------------------------------------------------------------

Old:
----
  sluice-0.02.11.tar.gz

New:
----
  sluice-0.02.13.tar.gz

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

Other differences:
------------------
++++++ sluice.spec ++++++
--- /var/tmp/diff_new_pack.n6talD/_old  2021-05-10 15:41:31.529052118 +0200
+++ /var/tmp/diff_new_pack.n6talD/_new  2021-05-10 15:41:31.529052118 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package sluice
 #
-# Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2017, Martin Hauke <mar...@gmx.de>
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2017-2021, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           sluice
-Version:        0.02.11
+Version:        0.02.13
 Release:        0
 Summary:        Rate limiting data piping tool
 License:        GPL-2.0-or-later

++++++ sluice-0.02.11.tar.gz -> sluice-0.02.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.11/Makefile new/sluice-0.02.13/Makefile
--- old/sluice-0.02.11/Makefile 2020-02-26 17:50:16.000000000 +0100
+++ new/sluice-0.02.13/Makefile 2021-04-28 23:31:09.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2020 Canonical, Ltd.
+# Copyright (C) 2014-2021 Canonical, Ltd.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
-VERSION=0.02.11
+VERSION=0.02.13
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.11/bash-completion/sluice 
new/sluice-0.02.13/bash-completion/sluice
--- old/sluice-0.02.11/bash-completion/sluice   2020-02-26 17:50:16.000000000 
+0100
+++ new/sluice-0.02.13/bash-completion/sluice   2021-04-28 23:31:09.000000000 
+0200
@@ -1,6 +1,6 @@
 # sluice tab completion for bash.
 #
-# Copyright (C) 2020 Canonical
+# Copyright (C) 2020-2021 Canonical
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.11/sluice.1 new/sluice-0.02.13/sluice.1
--- old/sluice-0.02.11/sluice.1 2020-02-26 17:50:16.000000000 +0100
+++ new/sluice-0.02.13/sluice.1 2021-04-28 23:31:09.000000000 +0200
@@ -233,7 +233,7 @@
 This manual page was written by Colin King <colin.k...@canonical.com>,
 for the Ubuntu project (but may be used by others).
 .SH COPYRIGHT
-Copyright \(co 2014-2020 Canonical Ltd.
+Copyright \(co 2014-2021 Canonical Ltd.
 .br
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.11/sluice.c new/sluice-0.02.13/sluice.c
--- old/sluice-0.02.11/sluice.c 2020-02-26 17:50:16.000000000 +0100
+++ new/sluice-0.02.13/sluice.c 2021-04-28 23:31:09.000000000 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014-2020 Canonical
+ * Copyright (C) 2014-2021 Canonical
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -1116,7 +1116,7 @@
                goto tidy;
        }
 
-       if (opt_flags & OPT_INPUT_FILE) {
+       if ((opt_flags & OPT_INPUT_FILE) && (in_filename != NULL)) {
                struct stat buf;
 
                fdin = open(in_filename, O_RDONLY);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.11/snap/snapcraft.yaml 
new/sluice-0.02.13/snap/snapcraft.yaml
--- old/sluice-0.02.11/snap/snapcraft.yaml      2020-02-26 17:50:16.000000000 
+0100
+++ new/sluice-0.02.13/snap/snapcraft.yaml      2021-04-28 23:31:09.000000000 
+0200
@@ -1,17 +1,31 @@
 name: sluice
-version: git
-version-script: |
-    echo $(git describe --tags)
 summary: rate limiting data piping tool
 description: Sluice reads from standard input and write to standard output at 
a specified data rate.  This can be useful for benchmarking and exercising I/O 
streaming at desired throughput rates.
 confinement: strict
-type: app
+assumes: [snapd2.45]
+base: core18
+adopt-info: sluice
 grade: stable
 
 parts:
     sluice:
         plugin: make
         source: git://kernel.ubuntu.com/cking/sluice
+        override-pull: |
+            snapcraftctl pull
+            description="$(git describe HEAD --tags)"
+            sha=$(echo $description | tr '-' ' ' | awk '{print $NF}')
+            version=${description%$sha}
+            commits=$(git log --oneline | wc -l)
+            date=$(date +'%Y%m%d')
+            if test "$description" = "$sha"
+            then
+                version="$description"
+            else
+                version=$(echo $version$date-$commits-$sha | cut -c1-32)
+            fi
+            snapcraftctl set-version "$version"
+
         build-packages:
             - gcc
             - make

Reply via email to