Hello community, here is the log from the commit of package sratom for openSUSE:Factory checked in at 2014-07-18 14:04:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sratom (Old) and /work/SRC/openSUSE:Factory/.sratom.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sratom" Changes: -------- --- /work/SRC/openSUSE:Factory/sratom/sratom.changes 2013-09-11 13:44:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sratom.new/sratom.changes 2014-07-18 14:04:12.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Jul 11 16:46:25 UTC 2014 - [email protected] + +- Update to 0.4.4 + * Escape invalid characters when writing paths as URIs + * Fancier printing without subject and predicate + +------------------------------------------------------------------- Old: ---- sratom-0.4.2.tar.bz2 New: ---- sratom-0.4.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sratom.spec ++++++ --- /var/tmp/diff_new_pack.dGIB0l/_old 2014-07-18 14:04:14.000000000 +0200 +++ /var/tmp/diff_new_pack.dGIB0l/_new 2014-07-18 14:04:14.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package sratom # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define soname 0 Name: sratom -Version: 0.4.2 +Version: 0.4.4 Release: 0 Summary: A library for serialising LV2 atoms to/from RDF License: ISC ++++++ sratom-0.4.2.tar.bz2 -> sratom-0.4.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sratom-0.4.2/NEWS new/sratom-0.4.4/NEWS --- old/sratom-0.4.2/NEWS 2013-02-18 17:59:00.000000000 +0100 +++ new/sratom-0.4.4/NEWS 2014-01-04 22:09:34.000000000 +0100 @@ -1,3 +1,10 @@ +sratom (0.4.4) stable; + + * Escape invalid characters when writing paths as URIs + * Fancier printing without subject and predicate + + -- David Robillard <[email protected]> Sat, 04 Jan 2014 16:09:33 -0500 + sratom (0.4.2) stable; * Fix serialisation of nested tuples diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sratom-0.4.2/src/sratom.c new/sratom-0.4.4/src/sratom.c --- old/sratom-0.4.2/src/sratom.c 2013-02-18 18:37:57.000000000 +0100 +++ new/sratom-0.4.4/src/sratom.c 2013-06-08 21:32:16.000000000 +0200 @@ -262,7 +262,7 @@ const uint8_t* str = USTR(body); if (path_is_absolute((const char*)str)) { new_node = true; - object = serd_node_new_file_uri(str, NULL, NULL, false); + object = serd_node_new_file_uri(str, NULL, NULL, true); } else { SerdURI base_uri = SERD_URI_NULL; if (!sratom->base_uri.buf || @@ -276,7 +276,7 @@ serd_uri_parse(sratom->base_uri.buf, &base_uri); } new_node = true; - SerdNode rel = serd_node_new_file_uri(str, NULL, NULL, false); + SerdNode rel = serd_node_new_file_uri(str, NULL, NULL, true); object = serd_node_new_uri_from_node(&rel, &base_uri, NULL); serd_node_free(&rel); } @@ -424,6 +424,14 @@ } if (object.buf) { + SerdNode def_s = serd_node_from_string(SERD_BLANK, USTR("atom")); + SerdNode def_p = serd_node_from_string(SERD_URI, USTR(NS_RDF "value")); + if (!subject) { + subject = &def_s; + } + if (!predicate) { + predicate = &def_p; + } sratom->write_statement(sratom->handle, flags, NULL, subject, predicate, &object, &datatype, &language); } Files old/sratom-0.4.2/waf and new/sratom-0.4.4/waf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sratom-0.4.2/wscript new/sratom-0.4.4/wscript --- old/sratom-0.4.2/wscript 2013-02-18 22:33:24.000000000 +0100 +++ new/sratom-0.4.4/wscript 2014-01-04 23:00:33.000000000 +0100 @@ -8,7 +8,7 @@ # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -SRATOM_VERSION = '0.4.2' +SRATOM_VERSION = '0.4.4' SRATOM_MAJOR_VERSION = '0' # Mandatory waf variables -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
