Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2023-11-20 21:18:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and      /work/SRC/openSUSE:Factory/.libsolv.new.2521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsolv"

Mon Nov 20 21:18:32 2023 rev:91 rq:1126733 version:0.7.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2023-09-28 
00:37:31.678779550 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.2521/libsolv.changes        
2023-11-20 21:18:40.044850721 +0100
@@ -1,0 +2,7 @@
+Tue Nov  7 12:45:44 CET 2023 - [email protected]
+
+- fix evr roundtrip in testcases
+- do not use deprecated headerUnload with newer rpm versions
+- bump version to 0.7.26
+
+-------------------------------------------------------------------

Old:
----
  libsolv-0.7.25.tar.bz2

New:
----
  libsolv-0.7.26.tar.bz2

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

Other differences:
------------------
++++++ libsolv.spec ++++++
--- /var/tmp/diff_new_pack.e7Eo1h/_old  2023-11-20 21:18:40.676874046 +0100
+++ /var/tmp/diff_new_pack.e7Eo1h/_new  2023-11-20 21:18:40.680874194 +0100
@@ -56,7 +56,7 @@
 %bcond_with zypp
 
 Name:           libsolv
-Version:        0.7.25
+Version:        0.7.26
 Release:        0
 Summary:        Package dependency solver using a satisfiability algorithm
 License:        BSD-3-Clause

++++++ libsolv-0.7.25.tar.bz2 -> libsolv-0.7.26.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/NEWS new/libsolv-0.7.26/NEWS
--- old/libsolv-0.7.25/NEWS     2023-09-14 14:20:06.000000000 +0200
+++ new/libsolv-0.7.26/NEWS     2023-11-07 12:50:05.000000000 +0100
@@ -1,6 +1,11 @@
 
 This file contains the major changes between libsolv versions:
 
+Version 0.7.26
+- selected bug fixes:
+  * fix evr roundtrip in testcases
+  * do not use deprecated headerUnload with newer rpm versions
+
 Version 0.7.25
 - selected bug fixes:
   * support complex deps in SOLVABLE_PREREQ_IGNOREINST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/VERSION.cmake 
new/libsolv-0.7.26/VERSION.cmake
--- old/libsolv-0.7.25/VERSION.cmake    2023-09-14 14:20:06.000000000 +0200
+++ new/libsolv-0.7.26/VERSION.cmake    2023-11-07 12:50:05.000000000 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "25")
+SET(LIBSOLV_PATCH "26")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/ext/repo_rpmdb.c 
new/libsolv-0.7.26/ext/repo_rpmdb.c
--- old/libsolv-0.7.25/ext/repo_rpmdb.c 2023-09-12 13:20:06.000000000 +0200
+++ new/libsolv-0.7.26/ext/repo_rpmdb.c 2023-11-07 12:00:06.000000000 +0100
@@ -2526,7 +2526,11 @@
   if (!h)
     return 0;
 #ifndef RPM5
+# ifdef RPM_MASK_TYPE
+  uh = headerExport(h, NULL);
+# else
   uh = headerUnload(h);
+# endif
 #else
   uh = headerUnload(h, NULL);
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/ext/repo_testcase.c 
new/libsolv-0.7.26/ext/repo_testcase.c
--- old/libsolv-0.7.25/ext/repo_testcase.c      2023-07-19 11:52:42.000000000 
+0200
+++ new/libsolv-0.7.26/ext/repo_testcase.c      2023-11-07 12:00:06.000000000 
+0100
@@ -622,7 +622,7 @@
          /* join back version and release */
          if (sp[2] && !(sp[2][0] == '-' && !sp[2][1]))
            sp[2][-1] = '-';
-         s->evr = makeevr(pool, sp[1]);
+         s->evr = pool_str2id(pool, sp[1], 1);
          s->arch = strcmp(sp[3], "-") ? pool_str2id(pool, sp[3], 1) : 0;
          continue;
        default:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/package/libsolv.changes 
new/libsolv-0.7.26/package/libsolv.changes
--- old/libsolv-0.7.25/package/libsolv.changes  2023-09-14 14:20:06.000000000 
+0200
+++ new/libsolv-0.7.26/package/libsolv.changes  2023-11-07 12:50:05.000000000 
+0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Nov  7 12:45:44 CET 2023 - [email protected]
+
+- fix evr roundtrip in testcases
+- do not use deprecated headerUnload with newer rpm versions
+- bump version to 0.7.26
+
+-------------------------------------------------------------------
 Thu Sep 14 14:17:08 CEST 2023 - [email protected]
 
 - support complex deps in SOLVABLE_PREREQ_IGNOREINST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.25/src/repo_write.c 
new/libsolv-0.7.26/src/repo_write.c
--- old/libsolv-0.7.25/src/repo_write.c 2023-07-19 11:52:42.000000000 +0200
+++ new/libsolv-0.7.26/src/repo_write.c 2023-11-08 14:00:05.000000000 +0100
@@ -300,6 +300,8 @@
 
   Id lastdirid;                /* last dir id seen in this repodata */
   Id lastdirid_own;    /* last dir id put in own pool */
+
+  Id diridcache[3 * 256];
 };
 
 #define NEEDID_BLOCK 1023
@@ -578,10 +580,17 @@
 static inline Id
 putinowndirpool(struct cbdata *cbdata, Repodata *data, Id dir)
 {
+  Id *cacheent;
   if (dir && dir == cbdata->lastdirid)
     return cbdata->lastdirid_own;
+  cacheent = cbdata->diridcache + (dir & 255);
+  if (dir && cacheent[0] == dir && cacheent[256] == data->repodataid)
+    return cacheent[512];
   cbdata->lastdirid = dir;
   cbdata->lastdirid_own = putinowndirpool_slow(cbdata, data, &data->dirpool, 
dir);
+  cacheent[0] = dir;
+  cacheent[256] = data->repodataid;
+  cacheent[512] = cbdata->lastdirid_own;
   return cbdata->lastdirid_own;
 }
 

Reply via email to