Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2022-04-26 20:15:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libjcat (Old)
 and      /work/SRC/openSUSE:Factory/.libjcat.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libjcat"

Tue Apr 26 20:15:01 2022 rev:8 rq:972476 version:0.1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2022-04-22 
21:53:08.206729596 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1538/libjcat.changes        
2022-04-26 20:17:02.456707857 +0200
@@ -1,0 +2,7 @@
+Thu Apr 21 07:25:09 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 0.1.11:
+  - Allow the user to get the runtime library version (Richard Hughes)
+  - Fix incorrect certtool being called on macOS (Richard Hughes)
+
+-------------------------------------------------------------------

Old:
----
  libjcat-0.1.10.tar.gz

New:
----
  libjcat-0.1.11.tar.gz

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

Other differences:
------------------
++++++ libjcat.spec ++++++
--- /var/tmp/diff_new_pack.4rqmAd/_old  2022-04-26 20:17:02.828708307 +0200
+++ /var/tmp/diff_new_pack.4rqmAd/_new  2022-04-26 20:17:02.836708317 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:           libjcat
-Version:        0.1.10
+Version:        0.1.11
 Release:        0
 Summary:        Library for reading and writing gzip-compressed JSON catalog 
files
 License:        LGPL-2.1-or-later

++++++ libjcat-0.1.10.tar.gz -> libjcat-0.1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/NEWS new/libjcat-0.1.11/NEWS
--- old/libjcat-0.1.10/NEWS     2022-02-16 16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/NEWS     2022-03-22 15:22:22.000000000 +0100
@@ -1,3 +1,13 @@
+Version 0.1.11
+~~~~~~~~~~~~~~
+Released: 2022-03-22
+
+New Features:
+ - Allow the user to get the runtime library version (Richard Hughes)
+
+Bugfixes:
+ - Fix incorrect certtool being called on macOS (Richard Hughes)
+
 Version 0.1.10
 ~~~~~~~~~~~~~~
 Released: 2022-02-16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/RELEASE new/libjcat-0.1.11/RELEASE
--- old/libjcat-0.1.10/RELEASE  2022-02-16 16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/RELEASE  2022-03-22 15:22:22.000000000 +0100
@@ -2,11 +2,11 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.9.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.1.10.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.1.10
+Version 0.1.11
 ~~~~~~~~~~~~~~
-Released: 202-xx-xx
+Released: 2022-xx-xx
 
 New Features:
 Bugfixes:
@@ -15,18 +15,15 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.1.10"
+export release_ver="0.1.11"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
 ninja dist
+gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
 git push --tags
 git push
 
-Generate the additional verification metadata
-
-gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
-
 Upload tarball:
 
 scp meson-dist/libjcat-${release_ver}.tar.* 
[email protected]:~/public_html/releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/data/tests/meson.build 
new/libjcat-0.1.11/data/tests/meson.build
--- old/libjcat-0.1.10/data/tests/meson.build   2022-02-16 16:55:31.000000000 
+0100
+++ new/libjcat-0.1.11/data/tests/meson.build   2022-03-22 15:22:22.000000000 
+0100
@@ -7,7 +7,8 @@
 )
 
 # generate private PKCS7 key
-certtool = find_program('certtool')
+certtool = find_program('gnutls-certtool', 'certtool')
+
 pkcs7_privkey = custom_target('test-privkey.pem',
   output: 'test-privkey.pem',
   command: [certtool, '--generate-privkey', '--outfile', '@OUTPUT@'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-ed25519-engine.c 
new/libjcat-0.1.11/libjcat/jcat-ed25519-engine.c
--- old/libjcat-0.1.10/libjcat/jcat-ed25519-engine.c    2022-02-16 
16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/libjcat/jcat-ed25519-engine.c    2022-03-22 
15:22:22.000000000 +0100
@@ -6,8 +6,8 @@
 
 #include "config.h"
 
-#include <nettle/eddsa.h>
 #include <gnutls/crypto.h>
+#include <nettle/eddsa.h>
 
 #include "jcat-common-private.h"
 #include "jcat-ed25519-engine.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-self-test.c 
new/libjcat-0.1.11/libjcat/jcat-self-test.c
--- old/libjcat-0.1.10/libjcat/jcat-self-test.c 2022-02-16 16:55:31.000000000 
+0100
+++ new/libjcat-0.1.11/libjcat/jcat-self-test.c 2022-03-22 15:22:22.000000000 
+0100
@@ -579,8 +579,6 @@
        g_autofree gchar *fn_pass = NULL;
        g_autofree gchar *fn_sig = NULL;
        g_autofree gchar *pki_dir = NULL;
-       g_autofree gchar *sig_fn2 = NULL;
-       g_autoptr(GBytes) blob_sig2 = NULL;
        g_autoptr(GBytes) data_fail = NULL;
        g_autoptr(GBytes) data_fwbin = NULL;
        g_autoptr(GBytes) data_sig = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-version.c 
new/libjcat-0.1.11/libjcat/jcat-version.c
--- old/libjcat-0.1.10/libjcat/jcat-version.c   1970-01-01 01:00:00.000000000 
+0100
+++ new/libjcat-0.1.11/libjcat/jcat-version.c   2022-03-22 15:22:22.000000000 
+0100
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2022 Richard Hughes <[email protected]>
+ *
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
+
+#include "config.h"
+
+#include "jcat-version.h"
+
+/**
+ * jcat_version_string:
+ *
+ * Gets the JCat installed runtime version.
+ *
+ * Returns: a version number, e.g. "0.1.11"
+ *
+ * Since: 0.1.11
+ **/
+const gchar *
+jcat_version_string(void)
+{
+       return G_STRINGIFY(JCAT_MAJOR_VERSION) "." 
G_STRINGIFY(JCAT_MINOR_VERSION) "." G_STRINGIFY(
+           JCAT_MICRO_VERSION);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-version.h.in 
new/libjcat-0.1.11/libjcat/jcat-version.h.in
--- old/libjcat-0.1.10/libjcat/jcat-version.h.in        2022-02-16 
16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/libjcat/jcat-version.h.in        2022-03-22 
15:22:22.000000000 +0100
@@ -6,6 +6,8 @@
 
 #pragma once
 
+#include <glib.h>
+
 /**
  * JCAT_MAJOR_VERSION:
  *
@@ -47,3 +49,5 @@
         (JCAT_MAJOR_VERSION == (major) && JCAT_MINOR_VERSION > (minor)) ||     
                   \
         (JCAT_MAJOR_VERSION == (major) && JCAT_MINOR_VERSION == (minor) &&     
                   \
          JCAT_MICRO_VERSION >= (micro)))
+
+const gchar    *jcat_version_string    (void);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat.map 
new/libjcat-0.1.11/libjcat/jcat.map
--- old/libjcat-0.1.10/libjcat/jcat.map 2022-02-16 16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/libjcat/jcat.map 2022-03-22 15:22:22.000000000 +0100
@@ -82,3 +82,9 @@
     jcat_engine_add_public_key_raw;
   local: *;
 } LIBJCAT_0.1.3;
+
+LIBJCAT_0.1.11 {
+  global:
+    jcat_version_string;
+  local: *;
+} LIBJCAT_0.1.9;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/meson.build 
new/libjcat-0.1.11/libjcat/meson.build
--- old/libjcat-0.1.10/libjcat/meson.build      2022-02-16 16:55:31.000000000 
+0100
+++ new/libjcat-0.1.11/libjcat/meson.build      2022-03-22 15:22:22.000000000 
+0100
@@ -53,6 +53,7 @@
     'jcat-result.c',
     'jcat-file.c',
     'jcat-item.c',
+    'jcat-version.c',
     jcat_src,
   ],
   soversion : lt_current,
@@ -121,6 +122,8 @@
       'jcat-engine.h',
       'jcat-result.c',
       'jcat-result.h',
+      'jcat-version.c',
+      libjcat_version_h,
     ],
     nsversion : '1.0',
     namespace : 'Jcat',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/meson.build 
new/libjcat-0.1.11/meson.build
--- old/libjcat-0.1.10/meson.build      2022-02-16 16:55:31.000000000 +0100
+++ new/libjcat-0.1.11/meson.build      2022-03-22 15:22:22.000000000 +0100
@@ -1,5 +1,5 @@
 project('libjcat', 'c',
-  version : '0.1.10',
+  version : '0.1.11',
   license : 'LGPL-2.1+',
   meson_version : '>=0.49.2',
   default_options : ['warning_level=2', 'c_std=c99'],

Reply via email to