commit libsolv for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsolv for openSUSE:Factory checked in at 2024-06-09 20:18:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsolv (Old) and /work/SRC/openSUSE:Factory/.libsolv.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libsolv" Sun Jun 9 20:18:59 2024 rev:95 rq:1179240 version:0.7.29 Changes: -------- --- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes 2024-05-14 13:37:50.697456219 +0200 +++ /work/SRC/openSUSE:Factory/.libsolv.new.19518/libsolv.changes 2024-06-09 20:19:17.967572110 +0200 @@ -1,0 +2,8 @@ +Fri Jun 7 11:33:19 CEST 2024 - mls@suse.de + +- add a conflict to older libsolv-tools to libsolv-tools-base +- report unsupported compression in solv_xfopen() with errno +- fix return value of repodata.add_solv() in the bindings +- fix SHA-224 oid in solv_pgpvrfy + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsolv.spec ++++++ --- /var/tmp/diff_new_pack.1rSzi9/_old 2024-06-09 20:19:18.447588854 +0200 +++ /var/tmp/diff_new_pack.1rSzi9/_new 2024-06-09 20:19:18.451588994 +0200 @@ -171,6 +171,7 @@ Summary: Utilities used by libzypp to manage .solv files Group: System/Management Provides: libsolv-tools:%{_bindir}/repo2solv +Conflicts: libsolv-tools < %{version} %description tools-base This subpackage contains utilities used by libzypp to manage solv files. ++++++ libsolv-0.7.29.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsolv-0.7.29/bindings/solv.i new/libsolv-0.7.29/bindings/solv.i --- old/libsolv-0.7.29/bindings/solv.i 2024-03-27 13:50:05.000000000 +0100 +++ new/libsolv-0.7.29/bindings/solv.i 2024-05-21 13:50:06.000000000 +0200 @@ -4476,7 +4476,7 @@ r = repo_add_solv(data->repo, fp, flags | REPO_USE_LOADING); if (r || data->state == REPODATA_LOADING) data->state = oldstate; - return r; + return r == 0; } void extend_to_repo() { Repodata *data = repo_id2repodata($self->repo, $self->id); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsolv-0.7.29/ext/solv_pgpvrfy.c new/libsolv-0.7.29/ext/solv_pgpvrfy.c --- old/libsolv-0.7.29/ext/solv_pgpvrfy.c 2023-07-19 11:52:42.000000000 +0200 +++ new/libsolv-0.7.29/ext/solv_pgpvrfy.c 2024-05-16 15:50:06.000000000 +0200 @@ -476,7 +476,7 @@ break; case 11: hashl = 28; /* SHA-224 */ - oid = (unsigned char *)"\023\060\061\060\015\006\011\140\206\110\001\145\003\004\002\004\005\000\004\034"; + oid = (unsigned char *)"\023\060\055\060\015\006\011\140\206\110\001\145\003\004\002\004\005\000\004\034"; break; default: return 0; /* unsupported hash algo */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsolv-0.7.29/ext/solv_xfopen.c new/libsolv-0.7.29/ext/solv_xfopen.c --- old/libsolv-0.7.29/ext/solv_xfopen.c 2023-07-19 11:52:42.000000000 +0200 +++ new/libsolv-0.7.29/ext/solv_xfopen.c 2024-05-16 15:50:06.000000000 +0200 @@ -11,6 +11,7 @@ #include <stdlib.h> #include <string.h> #include <fcntl.h> +#include <errno.h> #ifdef _WIN32 #include "fmemopen.c" @@ -660,7 +661,10 @@ char *suf; if (!fn) - return 0; + { + errno = EINVAL; + return 0; + } if (!mode) mode = "r"; suf = strrchr(fn, '.'); @@ -669,7 +673,10 @@ return mygzfopen(fn, mode); #else if (suf && !strcmp(suf, ".gz")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_LZMA_COMPRESSION if (suf && !strcmp(suf, ".xz")) @@ -678,30 +685,45 @@ return mylzfopen(fn, mode); #else if (suf && !strcmp(suf, ".xz")) - return 0; + { + errno = ENOTSUP; + return 0; + } if (suf && !strcmp(suf, ".lzma")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_BZIP2_COMPRESSION if (suf && !strcmp(suf, ".bz2")) return mybzfopen(fn, mode); #else if (suf && !strcmp(suf, ".bz2")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_ZSTD_COMPRESSION if (suf && !strcmp(suf, ".zst")) return myzstdfopen(fn, mode); #else if (suf && !strcmp(suf, ".zst")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_ZCHUNK_COMPRESSION if (suf && !strcmp(suf, ".zck")) return myzchunkfopen(fn, mode); #else if (suf && !strcmp(suf, ".zck")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif return fopen(fn, mode); } @@ -742,7 +764,10 @@ return mygzfdopen(fd, simplemode); #else if (suf && !strcmp(suf, ".gz")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_LZMA_COMPRESSION if (suf && !strcmp(suf, ".xz")) @@ -751,9 +776,15 @@ return mylzfdopen(fd, simplemode); #else if (suf && !strcmp(suf, ".xz")) - return 0; + { + errno = ENOTSUP; + return 0; + } if (suf && !strcmp(suf, ".lzma")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_BZIP2_COMPRESSION if (suf && !strcmp(suf, ".bz2")) @@ -767,14 +798,20 @@ return myzstdfdopen(fd, simplemode); #else if (suf && !strcmp(suf, ".zst")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif #ifdef ENABLE_ZCHUNK_COMPRESSION if (suf && !strcmp(suf, ".zck")) return myzchunkfdopen(fd, simplemode); #else if (suf && !strcmp(suf, ".zck")) - return 0; + { + errno = ENOTSUP; + return 0; + } #endif return fdopen(fd, mode); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsolv-0.7.29/package/libsolv.changes new/libsolv-0.7.29/package/libsolv.changes --- old/libsolv-0.7.29/package/libsolv.changes 2024-04-30 15:30:06.000000000 +0200 +++ new/libsolv-0.7.29/package/libsolv.changes 2024-06-07 15:40:06.000000000 +0200 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Jun 7 11:33:19 CEST 2024 - mls@suse.de + +- add a conflict to older libsolv-tools to libsolv-tools-base +- report unsupported compression in solv_xfopen() with errno +- fix return value of repodata.add_solv() in the bindings +- fix SHA-224 oid in solv_pgpvrfy + +------------------------------------------------------------------- Tue Apr 30 15:15:45 CEST 2024 - mls@suse.de - improve updating of installed multiversion packages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsolv-0.7.29/package/libsolv.spec.in new/libsolv-0.7.29/package/libsolv.spec.in --- old/libsolv-0.7.29/package/libsolv.spec.in 2024-04-30 15:10:06.000000000 +0200 +++ new/libsolv-0.7.29/package/libsolv.spec.in 2024-06-07 11:35:52.000000000 +0200 @@ -171,6 +171,7 @@ Summary: Utilities used by libzypp to manage .solv files Group: System/Management Provides: libsolv-tools:%{_bindir}/repo2solv +Conflicts: libsolv-tools < %{version} %description tools-base This subpackage contains utilities used by libzypp to manage solv files.
participants (1)
-
Source-Sync