Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2018-01-09 14:53:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and      /work/SRC/openSUSE:Factory/.sluice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sluice"

Tue Jan  9 14:53:56 2018 rev:3 rq:562318 version:0.02.07

Changes:
--------
--- /work/SRC/openSUSE:Factory/sluice/sluice.changes    2017-05-18 
20:49:47.970733824 +0200
+++ /work/SRC/openSUSE:Factory/.sluice.new/sluice.changes       2018-01-09 
14:53:57.301659318 +0100
@@ -1,0 +2,12 @@
+Fri Jan  5 21:32:17 UTC 2018 - mar...@gmx.de
+
+- update to version 0.02.07
+  * Makefile: bump version
+  * Makefile: add snapcraft directory to make dist rule
+  * debian/control: update Standards-Version to 4.1.2
+  * update copyright year
+  * Add snapcraft
+  * Add extra parentheses for clarity
+  * voidify fclose()
+
+-------------------------------------------------------------------

Old:
----
  sluice-0.02.06.tar.gz

New:
----
  sluice-0.02.07.tar.gz

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

Other differences:
------------------
++++++ sluice.spec ++++++
--- /var/tmp/diff_new_pack.QeRiUx/_old  2018-01-09 14:53:57.969628003 +0100
+++ /var/tmp/diff_new_pack.QeRiUx/_new  2018-01-09 14:53:57.981627441 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sluice
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           sluice
-Version:        0.02.06
+Version:        0.02.07
 Release:        0
 Summary:        Rate limiting data piping tool
 License:        GPL-2.0+

++++++ sluice-0.02.06.tar.gz -> sluice-0.02.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/Makefile new/sluice-0.02.07/Makefile
--- old/sluice-0.02.06/Makefile 2016-12-19 16:01:17.000000000 +0100
+++ new/sluice-0.02.07/Makefile 2018-01-05 01:53:21.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2016 Canonical, Ltd.
+# Copyright (C) 2014-2018 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.06
+VERSION=0.02.07
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
 
@@ -41,7 +41,7 @@
 dist:
        rm -rf sluice-$(VERSION)
        mkdir sluice-$(VERSION)
-       cp -rp Makefile sluice.c sluice.1 COPYING sluice-$(VERSION)
+       cp -rp Makefile sluice.c sluice.1 COPYING snapcraft sluice-$(VERSION)
        tar -zcf sluice-$(VERSION).tar.gz sluice-$(VERSION)
        rm -rf sluice-$(VERSION)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/sluice.1 new/sluice-0.02.07/sluice.1
--- old/sluice-0.02.06/sluice.1 2016-12-19 16:01:17.000000000 +0100
+++ new/sluice-0.02.07/sluice.1 2018-01-05 01:53:21.000000000 +0100
@@ -232,7 +232,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-2016 Canonical Ltd.
+Copyright \(co 2014-2018 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.06/sluice.c new/sluice-0.02.07/sluice.c
--- old/sluice-0.02.06/sluice.c 2016-12-19 16:01:17.000000000 +0100
+++ new/sluice-0.02.07/sluice.c 2018-01-05 01:53:21.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014-2016 Canonical
+ * Copyright (C) 2014-2018 Canonical
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -373,8 +373,8 @@
        fp = fopen("/proc/sys/fs/pipe-max-size", "r");
        if (fp) {
                int ret = fscanf(fp, "%zu", &sz);
-               fclose(fp);
-               if (ret == 1 && !check_max_pipe_size(sz, page_size))
+               (void)fclose(fp);
+               if ((ret == 1) && !check_max_pipe_size(sz, page_size))
                        return sz;
        }
 
@@ -660,7 +660,7 @@
                exit(EXIT_BAD_OPTION);
        }
 
-       if (isdigit(ch) || ch == '.')
+       if (isdigit(ch) || (ch == '.'))
                return val;
 
        ch = tolower(ch);
@@ -1036,7 +1036,7 @@
                goto tidy;
        }
        if ((opt_flags & OPT_GOT_CONST_DELAY) &&
-           (const_delay < DELAY_MIN || const_delay > DELAY_MAX)) {
+           ((const_delay < DELAY_MIN) || (const_delay > DELAY_MAX))) {
                fprintf(stderr, "Delay time must be %.2f .. %.2f seconds.\n",
                        DELAY_MIN, DELAY_MAX);
                ret = EXIT_BAD_OPTION;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/snapcraft/Makefile 
new/sluice-0.02.07/snapcraft/Makefile
--- old/sluice-0.02.06/snapcraft/Makefile       1970-01-01 01:00:00.000000000 
+0100
+++ new/sluice-0.02.07/snapcraft/Makefile       2018-01-05 01:53:21.000000000 
+0100
@@ -0,0 +1,18 @@
+VERSION=$(shell git tag | tail -1 | cut -c2-)
+COMMITS=$(shell git log --oneline | wc -l)
+SHA=$(shell git log -1 --oneline | cut -d' ' -f1)
+DATE=$(shell date +'%Y%m%d')
+V=$(VERSION)-$(DATE)-$(COMMITS)-$(SHA)
+
+all: set_version
+       snapcraft
+
+set_version:
+       cat snapcraft.yaml | sed 's/version: .*/version: $(V)/' > 
snapcraft-tmp.yaml
+       mv snapcraft-tmp.yaml snapcraft.yaml
+
+clean:
+       rm -rf setup *.snap
+       snapcraft clean
+       cat snapcraft.yaml | sed 's/version: .*/version: 0/' > 
snapcraft-tmp.yaml
+       mv snapcraft-tmp.yaml snapcraft.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/snapcraft/snapcraft.yaml 
new/sluice-0.02.07/snapcraft/snapcraft.yaml
--- old/sluice-0.02.06/snapcraft/snapcraft.yaml 1970-01-01 01:00:00.000000000 
+0100
+++ new/sluice-0.02.07/snapcraft/snapcraft.yaml 2018-01-05 01:53:21.000000000 
+0100
@@ -0,0 +1,20 @@
+name: sluice
+version: 0.02.06-20170425-189-bc33e23
+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
+grade: stable
+
+parts:
+    sluice:
+        plugin: make
+        source: git://kernel.ubuntu.com/cking/sluice
+        build-packages:
+            - gcc
+            - make
+
+apps:
+    sluice:
+        command: usr/bin/sluice
+


Reply via email to