Hello community,

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

Package is "smemstat"

Tue Jan  9 14:54:06 2018 rev:3 rq:562320 version:0.01.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/smemstat/smemstat.changes        2017-05-18 
20:50:32.264482789 +0200
+++ /work/SRC/openSUSE:Factory/.smemstat.new/smemstat.changes   2018-01-09 
14:54:08.649127356 +0100
@@ -1,0 +2,12 @@
+Fri Jan  5 21:21:57 UTC 2018 - mar...@gmx.de
+
+- update to version 0.01.18
+  * Makefile: bump version
+  * debian/rules: remove whitespace at end of line
+  * Bump copyright year to 2018
+  * debian/control: update Standards-Version to 4.1.2
+  * Remove packed attribute from various structs
+  * snapcraft: add default app and stable keys
+  * snapcraft: Makefile: remove icon hack
+
+-------------------------------------------------------------------

Old:
----
  smemstat-0.01.17.tar.gz

New:
----
  smemstat-0.01.18.tar.gz

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

Other differences:
------------------
++++++ smemstat.spec ++++++
--- /var/tmp/diff_new_pack.oKuK1F/_old  2018-01-09 14:54:09.713077479 +0100
+++ /var/tmp/diff_new_pack.oKuK1F/_new  2018-01-09 14:54:09.717077291 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smemstat
 #
-# 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:           smemstat
-Version:        0.01.17
+Version:        0.01.18
 Release:        0
 Summary:        Memory usage monitoring tool
 License:        GPL-2.0+

++++++ smemstat-0.01.17.tar.gz -> smemstat-0.01.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smemstat-0.01.17/Makefile 
new/smemstat-0.01.18/Makefile
--- old/smemstat-0.01.17/Makefile       2017-04-14 19:05:07.000000000 +0200
+++ new/smemstat-0.01.18/Makefile       2018-01-05 01:26:27.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2017 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
@@ -16,7 +16,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
 
-VERSION=0.01.17
+VERSION=0.01.18
 #
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smemstat-0.01.17/smemstat.8 
new/smemstat-0.01.18/smemstat.8
--- old/smemstat-0.01.17/smemstat.8     2017-04-14 19:05:07.000000000 +0200
+++ new/smemstat-0.01.18/smemstat.8     2018-01-05 01:26:27.000000000 +0100
@@ -98,7 +98,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-2017 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/smemstat-0.01.17/smemstat.c 
new/smemstat-0.01.18/smemstat.c
--- old/smemstat-0.01.17/smemstat.c     2017-04-14 19:05:07.000000000 +0200
+++ new/smemstat-0.01.18/smemstat.c     2018-01-05 01:26:27.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014-2017 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
@@ -59,7 +59,7 @@
 #define OPT_TOP_TOTAL          (0x00000200)
 
 /* process specific information */
-typedef struct __attribute__ ((__packed__)) proc_info {
+typedef struct proc_info {
        pid_t           pid;            /* PID */
        bool            kernel_thread;  /* true if process is kernel thread */
        char            *cmdline;       /* Process name from cmdline */
@@ -67,14 +67,14 @@
 } proc_info_t;
 
 /* UID cache */
-typedef struct __attribute__ ((__packed__)) uname_cache_t {
+typedef struct uname_cache_t {
        uid_t           uid;            /* User UID */
        char *          name;           /* User name */
        struct uname_cache_t *next;
 } uname_cache_t;
 
 /* wakeup event information per process */
-typedef struct __attribute__ ((__packed__)) mem_info_t {
+typedef struct mem_info_t {
        pid_t           pid;            /* process id */
        uid_t           uid;            /* process' UID */
        proc_info_t     *proc;          /* cached process info */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smemstat-0.01.17/snapcraft/Makefile 
new/smemstat-0.01.18/snapcraft/Makefile
--- old/smemstat-0.01.17/snapcraft/Makefile     1970-01-01 01:00:00.000000000 
+0100
+++ new/smemstat-0.01.18/snapcraft/Makefile     2018-01-05 01:26:27.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/smemstat-0.01.17/snapcraft/snapcraft.yaml 
new/smemstat-0.01.18/snapcraft/snapcraft.yaml
--- old/smemstat-0.01.17/snapcraft/snapcraft.yaml       2017-04-14 
19:05:07.000000000 +0200
+++ new/smemstat-0.01.18/snapcraft/snapcraft.yaml       2018-01-05 
01:26:27.000000000 +0100
@@ -3,6 +3,8 @@
 summary: memory usage monitoring tool
 description: smemstat reports the physical memory usage taking into 
consideration shared memory.  The tool can either report a current snapshot of 
memory usage or periodically dump out any changes in memory.
 confinement: devmode
+type: app
+grade: stable
 
 plugs:
      system-observe: null


Reply via email to