commit libsolv for openSUSE:Factory

2020-10-24 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-10-24 15:16:19

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.3463 (New)


Package is "libsolv"

Sat Oct 24 15:16:19 2020 rev:82 rq:843224 version:0.7.16

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2020-10-08 
13:10:37.683087901 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.3463/libsolv.changes
2020-10-24 15:16:28.632173756 +0200
@@ -1,0 +2,11 @@
+Tue Oct 20 12:04:00 CEST 2020 - m...@suse.de
+
+- do not ask the namespace callback for splitprovides when writing
+  a testcase
+- fix add_complex_recommends() selecting conflicted packages in
+  rare cases leading to crashes
+- improve choicerule generation so that package updates are
+  prefered in more cases
+- bump version to 0.7.16
+
+---

Old:

  libsolv-0.7.15.tar.bz2

New:

  libsolv-0.7.16.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.iiWm3j/_old  2020-10-24 15:16:30.184175227 +0200
+++ /var/tmp/diff_new_pack.iiWm3j/_new  2020-10-24 15:16:30.192175235 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.15
+Version:0.7.16
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.15.tar.bz2 -> libsolv-0.7.16.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/NEWS new/libsolv-0.7.16/NEWS
--- old/libsolv-0.7.15/NEWS 2020-09-11 12:39:26.0 +0200
+++ new/libsolv-0.7.16/NEWS 2020-10-20 12:09:38.0 +0200
@@ -2,6 +2,16 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.16
+- selected bug fixes:
+  * do not ask the namespace callback for splitprovides when writing
+a testcase
+  * fix add_complex_recommends() selecting conflicted packages in
+rare cases leading to crashes
+  * improve choicerule generation so that package updates are
+prefered in more cases
+  * deal with missing repos in testcase_mangle_repo_names
+
 Version 0.7.15
 - selected bug fixes:
   * fix deduceq2addedmap clearing bits outside of the map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/VERSION.cmake 
new/libsolv-0.7.16/VERSION.cmake
--- old/libsolv-0.7.15/VERSION.cmake2020-09-11 12:39:26.0 +0200
+++ new/libsolv-0.7.16/VERSION.cmake2020-10-20 12:09:38.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "15")
+SET(LIBSOLV_PATCH "16")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/ext/testcase.c 
new/libsolv-0.7.16/ext/testcase.c
--- old/libsolv-0.7.15/ext/testcase.c   2020-10-05 10:16:53.0 +0200
+++ new/libsolv-0.7.16/ext/testcase.c   2020-10-20 11:59:24.0 +0200
@@ -1711,7 +1711,7 @@
   for (rid = 1; rid < pool->nrels; rid++)
{
  Reldep *rd = pool->rels + rid;
- if (rd->flags != REL_NAMESPACE || rd->name == 
NAMESPACE_OTHERPROVIDERS)
+ if (rd->flags != REL_NAMESPACE || rd->name == 
NAMESPACE_OTHERPROVIDERS || rd->name == NAMESPACE_SPLITPROVIDES)
continue;
  /* evaluate all namespace ids, skip empty results */
  d = pool_whatprovides(pool, MAKERELDEP(rid));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/package/libsolv.changes 
new/libsolv-0.7.16/package/libsolv.changes
--- old/libsolv-0.7.15/package/libsolv.changes  2020-10-05 13:09:44.0 
+0200
+++ new/libsolv-0.7.16/package/libsolv.changes  2020-10-20 12:09:38.0 
+0200
@@ -1,4 +1,15 @@
 ---
+Tue Oct 20 12:04:00 CEST 2020 - m...@suse.de
+
+- do not ask the namespace callback for splitprovides when writing
+  a testcase
+- fix add_complex_recommends() selecting conflicted packages in
+  rare cases leading to crashes
+- improve choicerule generation so that package updates are
+  prefered in more cases
+- bump version to 0.7.16
+
+---
 Mon Oct  5 13:06:44 CEST 2020 - m...@suse.de
 
 - make testcase_mangle_repo_names deal correctly with freed repos
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/src/solver.c 
new/libsolv-0.7.16/src/solver.c
--- old/libsolv-0.7.15/src/solver.c 2020-09-10 

commit libsolv for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-10-08 13:09:36

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.4249 (New)


Package is "libsolv"

Thu Oct  8 13:09:36 2020 rev:81 rq:840023 version:0.7.15

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2020-09-24 
16:12:06.120770073 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.4249/libsolv.changes
2020-10-08 13:10:37.683087901 +0200
@@ -1,0 +2,6 @@
+Mon Oct  5 13:06:44 CEST 2020 - m...@suse.de
+
+- make testcase_mangle_repo_names deal correctly with freed repos
+  [bnc#1177238]
+
+---



Other differences:
--
++ libsolv-0.7.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/ext/testcase.c 
new/libsolv-0.7.15/ext/testcase.c
--- old/libsolv-0.7.15/ext/testcase.c   2020-09-08 12:03:10.0 +0200
+++ new/libsolv-0.7.15/ext/testcase.c   2020-10-05 10:16:53.0 +0200
@@ -1826,14 +1826,12 @@
   for (mp = buf; *mp; mp++)
if (*mp == ' ' || *mp == '\t' || *mp == '/')
  *mp = '_';
-  for (;;)
-   {
- for (i = 1; i < repoid; i++)
-   if (!strcmp(buf, names[i]))
- break;
- if (i == repoid)
-   break;
+  for (i = 1; i < repoid; i++)
+{
+ if (!names[i] || strcmp(buf, names[i]) != 0)
+   continue;
   sprintf(mp, "_%d", mangle++);
+ i = 0;/* restart conflict check */
}
   names[repoid] = buf;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/package/libsolv.changes 
new/libsolv-0.7.15/package/libsolv.changes
--- old/libsolv-0.7.15/package/libsolv.changes  2020-09-11 12:39:26.0 
+0200
+++ new/libsolv-0.7.15/package/libsolv.changes  2020-10-05 13:09:44.0 
+0200
@@ -1,4 +1,10 @@
 ---
+Mon Oct  5 13:06:44 CEST 2020 - m...@suse.de
+
+- make testcase_mangle_repo_names deal correctly with freed repos
+  [bnc#1177238]
+
+---
 Fri Sep 11 12:31:27 CEST 2020 - m...@suse.de
 
 - fix deduceq2addedmap clearing bits outside of the map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.15/src/rules.c 
new/libsolv-0.7.15/src/rules.c
--- old/libsolv-0.7.15/src/rules.c  2020-05-27 11:39:15.0 +0200
+++ new/libsolv-0.7.15/src/rules.c  2020-10-06 13:44:37.0 +0200
@@ -3187,6 +3187,44 @@
   return 1;/* none of the new packages provided it */
 }
 
+static int
+solver_choicerulecheck2(Solver *solv, Id pi, Id pt, Queue *q)
+{
+  Pool *pool = solv->pool;
+  Rule *ur;
+  Id p, pp;
+  int i;
+
+  if (!q->count || q->elements[0] != pi)
+{
+  if (q->count)
+queue_empty(q);
+  ur = solv->rules + solv->updaterules + (pi - pool->installed->start);
+  if (!ur->p)
+ur = solv->rules + solv->featurerules + (pi - pool->installed->start);
+  if (!ur->p)
+   return 0;
+  queue_push2(q, pi, 0);
+  FOR_RULELITERALS(p, pp, ur)
+   if (p > 0 && p != pi)
+ queue_push(q, p);
+  queue_push(q, pi);
+}
+  if (q->count <= 3)
+return q->count == 3 && q->elements[2] == pt ? 1 : 0;
+  if (!q->elements[1])
+{
+  queue_deleten(q, 0, 2);
+  policy_filter_unwanted(solv, q, POLICY_MODE_CHOOSE);
+  queue_unshift(q, 1); /* filter mark */
+  queue_unshift(q, pi);
+}
+  for (i = 2; i < q->count; i++)
+if (q->elements[i] == pt)
+  return 1;
+  return 0;/* not newest */
+}
+
 static inline void
 queue_removeelement(Queue *q, Id el)
 {
@@ -3203,20 +3241,62 @@
 }
 }
 
+static Id
+choicerule_find_installed(Pool *pool, Id p)
+{
+  Solvable *s = pool->solvables + p;
+  Id p2, pp2;
+
+  if (!s->repo)
+return 0;
+  if (s->repo == pool->installed)
+return p;
+  FOR_PROVIDES(p2, pp2, s->name)
+{
+  Solvable *s2 = pool->solvables + p2;
+  if (s2->repo != pool->installed)
+   continue;
+  if (!pool->implicitobsoleteusesprovides && s->name != s2->name)
+   continue;
+  if (pool->implicitobsoleteusescolors && !pool_colormatch(pool, s, s2))
+   continue;
+  return p2;
+}
+  if (s->obsoletes)
+{
+  Id obs, *obsp = s->repo->idarraydata + s->obsoletes;
+  while ((obs = *obsp++) != 0)
+   {
+ FOR_PROVIDES(p2, pp2, obs)
+   {
+ Solvable *s2 = pool->solvables + p2;
+ if (s2->repo != 

commit libsolv for openSUSE:Factory

2020-09-24 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-09-24 16:12:04

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.4249 (New)


Package is "libsolv"

Thu Sep 24 16:12:04 2020 rev:80 rq:835694 version:0.7.15

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2020-06-03 
20:28:25.228425408 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.4249/libsolv.changes
2020-09-24 16:12:06.120770073 +0200
@@ -1,0 +2,22 @@
+Fri Sep 11 12:31:27 CEST 2020 - m...@suse.de
+
+- fix deduceq2addedmap clearing bits outside of the map
+- conda: feature depriorization first
+- conda: fix startswith implementation
+- move find_update_seeds() call in cleandeps calculation
+- set SOLVABLE_BUILDHOST in rpm and rpmmd parsers
+- new testcase_mangle_repo_names() function
+- new solv_fmemopen() function
+- bump version to 0.7.15
+
+---
+Tue Jun 23 12:43:16 CEST 2020 - m...@suse.de
+
+- Enable zstd compression support for sle15
+
+---
+Thu May 28 11:51:27 CEST 2020 - m...@suse.de
+
+- Enable zstd compression support for sle15-sp2
+
+---

Old:

  libsolv-0.7.14.tar.bz2

New:

  libsolv-0.7.15.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.QubYMc/_old  2020-09-24 16:12:06.824770778 +0200
+++ /var/tmp/diff_new_pack.QubYMc/_new  2020-09-24 16:12:06.828770781 +0200
@@ -25,7 +25,7 @@
 %bcond_with bz2
 %bcond_with xz
 %endif
-%if 0%{?is_opensuse} && (0%{?sle_version} >= 15 || 0%{?suse_version} >= 
1500)
+%if 0%{?sle_version} >= 15 || 0%{?suse_version} >= 1500
 %bcond_without zstd
 %else
 %bcond_with zstd
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.14
+Version:0.7.15
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.14.tar.bz2 -> libsolv-0.7.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.14/CMakeLists.txt 
new/libsolv-0.7.15/CMakeLists.txt
--- old/libsolv-0.7.14/CMakeLists.txt   2020-05-19 14:19:12.0 +0200
+++ new/libsolv-0.7.15/CMakeLists.txt   2020-06-04 11:51:39.0 +0200
@@ -209,6 +209,12 @@
 
 INCLUDE (CheckIncludeFile)
 IF (ENABLE_RPMDB OR ENABLE_RPMPKG_LIBRPM)
+  FIND_PATH (RPM_INCLUDE_DIR NAMES rpm/rpmio.h)
+  IF (RPM_INCLUDE_DIR)
+INCLUDE_DIRECTORIES (${RPM_INCLUDE_DIR})
+SET (CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${RPM_INCLUDE_DIR})
+  ENDIF (RPM_INCLUDE_DIR)
+
   FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb)
 
   IF (NOT RPMDB_LIBRARY)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.14/NEWS new/libsolv-0.7.15/NEWS
--- old/libsolv-0.7.14/NEWS 2020-05-27 11:59:16.0 +0200
+++ new/libsolv-0.7.15/NEWS 2020-09-11 12:39:26.0 +0200
@@ -2,6 +2,17 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.15
+- selected bug fixes:
+  * fix deduceq2addedmap clearing bits outside of the map
+  * conda: feature depriorization first
+  * conda: fix startswith implementation
+  * move find_update_seeds() call in cleandeps calculation
+- new features:
+  * set SOLVABLE_BUILDHOST in rpm and rpmmd parsers
+  * new testcase_mangle_repo_names() function
+  * new solv_fmemopen() function
+
 Version 0.7.14
 - added support for ed25519 signatures
 - selected bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.14/VERSION.cmake 
new/libsolv-0.7.15/VERSION.cmake
--- old/libsolv-0.7.14/VERSION.cmake2020-05-27 11:59:16.0 +0200
+++ new/libsolv-0.7.15/VERSION.cmake2020-09-11 12:39:26.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "14")
+SET(LIBSOLV_PATCH "15")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.14/ext/libsolvext.ver 
new/libsolv-0.7.15/ext/libsolvext.ver
--- old/libsolv-0.7.14/ext/libsolvext.ver   2019-12-10 14:19:11.0 
+0100
+++ new/libsolv-0.7.15/ext/libsolvext.ver   2020-09-08 12:03:10.0 
+0200
@@ -55,6 +55,7 @@
rpm_stat_database;
rpm_state_create;
rpm_state_free;
+   solv_fmemopen;
solv_verify_sig;
solv_xfopen;
solv_xfopen_buf;
@@ -66,6 +67,7 @@

commit libsolv for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-06-03 20:28:20

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.3606 (New)


Package is "libsolv"

Wed Jun  3 20:28:20 2020 rev:79 rq:809648 version:0.7.14

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2020-05-20 
18:37:16.420206983 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.3606/libsolv.changes
2020-06-03 20:28:25.228425408 +0200
@@ -1,0 +2,9 @@
+Wed May 27 11:48:46 CEST 2020 - m...@suse.de
+
+- Support blacklisted packages in solver_findproblemrule()
+  [bnc#1172135]
+- Support rules with multiple negative literals in choice rule
+  generation
+- bump version to 0.7.14
+
+---

Old:

  libsolv-0.7.13.tar.bz2

New:

  libsolv-0.7.14.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.7ScLDA/_old  2020-06-03 20:28:25.800427146 +0200
+++ /var/tmp/diff_new_pack.7ScLDA/_new  2020-06-03 20:28:25.808427171 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.13
+Version:0.7.14
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.13.tar.bz2 -> libsolv-0.7.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.13/CMakeLists.txt 
new/libsolv-0.7.14/CMakeLists.txt
--- old/libsolv-0.7.13/CMakeLists.txt   2020-04-20 17:19:12.0 +0200
+++ new/libsolv-0.7.14/CMakeLists.txt   2020-05-19 14:19:12.0 +0200
@@ -248,7 +248,6 @@
   ENDIF (ENABLE_RPMDB)
 
   INCLUDE (CheckLibraryExists)
-  CHECK_LIBRARY_EXISTS(rpmio pgpDigGetParams "" HAVE_PGPDIGGETPARAMS)
   CHECK_LIBRARY_EXISTS(rpm rpmdbNextIteratorHeaderBlob "" 
HAVE_RPMDBNEXTITERATORHEADERBLOB)
   CHECK_LIBRARY_EXISTS(rpm rpmdbFStat "" HAVE_RPMDBFSTAT)
 ENDIF (ENABLE_RPMDB OR ENABLE_RPMPKG_LIBRPM)
@@ -283,7 +282,7 @@
 
 # should create config.h with #cmakedefine instead...
 FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
-  HAVE_RPM_DB_H HAVE_PGPDIGGETPARAMS HAVE_RPMDBNEXTITERATORHEADERBLOB 
HAVE_RPMDBFSTAT
+  HAVE_RPM_DB_H HAVE_RPMDBNEXTITERATORHEADERBLOB HAVE_RPMDBFSTAT
   WITH_LIBXML2 WITHOUT_COOKIEOPEN)
   IF(${VAR})
 ADD_DEFINITIONS (-D${VAR}=1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.13/NEWS new/libsolv-0.7.14/NEWS
--- old/libsolv-0.7.13/NEWS 2020-04-24 12:05:38.0 +0200
+++ new/libsolv-0.7.14/NEWS 2020-05-27 11:59:16.0 +0200
@@ -2,6 +2,14 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.14
+- added support for ed25519 signatures
+- selected bug fixes:
+  * Support blacklisted packages in solver_findproblemrule()
+  * Support rules with multiple negative literals in choice rule
+generation
+  * Also detect rpmdb.sqlite in /usr/share/rpm
+
 Version 0.7.13
 - fix solvable swapping messing up uninternalized idarrays
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.13/VERSION.cmake 
new/libsolv-0.7.14/VERSION.cmake
--- old/libsolv-0.7.13/VERSION.cmake2020-04-24 12:05:38.0 +0200
+++ new/libsolv-0.7.14/VERSION.cmake2020-05-27 11:59:16.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "13")
+SET(LIBSOLV_PATCH "14")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.13/ext/repo_pubkey.c 
new/libsolv-0.7.14/ext/repo_pubkey.c
--- old/libsolv-0.7.13/ext/repo_pubkey.c2018-10-01 11:09:18.0 
+0200
+++ new/libsolv-0.7.14/ext/repo_pubkey.c2020-05-19 14:19:12.0 
+0200
@@ -503,11 +503,12 @@
 parsepubkey(Solvable *s, Repodata *data, unsigned char *p, int pl, int flags)
 {
   Repo *repo = s->repo;
+  Pool *pool = repo->pool;
   unsigned char *pstart = p;
   int tag, l;
   unsigned char keyid[8];
   char subkeyofstr[17];
-  unsigned int kcr = 0, maxex = 0, maxsigcr = 0;
+  unsigned int kcr = 0, maxex = 0, maxsigcr = 0, rpmsigcr = 0;
   unsigned char *pubkey = 0;
   int pubkeyl = 0;
   int insubkey = 0;
@@ -524,10 +525,10 @@
{
  /* finish old key */
  if (kcr)
-   repodata_set_num(data, s - repo->pool->solvables, 
SOLVABLE_BUILDTIME, kcr);
+   repodata_set_num(data, s - pool->solvables, SOLVABLE_BUILDTIME, 
kcr);
  if (maxex && maxex != -1)
-   repodata_set_num(data, s - repo->pool->solvables, PUBKEY_EXPIRES, 

commit libsolv for openSUSE:Factory

2020-05-20 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-05-20 18:37:11

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.2738 (New)


Package is "libsolv"

Wed May 20 18:37:11 2020 rev:78 rq:807025 version:0.7.13

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2020-01-27 
00:21:54.821479413 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.2738/libsolv.changes
2020-05-20 18:37:16.420206983 +0200
@@ -1,0 +2,12 @@
+Fri Apr 24 12:00:30 CEST 2020 - m...@suse.de
+
+- Fix solvable swapping messing up idarrays
+- bump version to 0.7.13
+
+---
+Mon Apr 20 17:24:21 CEST 2020 - m...@suse.de
+
+- fix ruleinfo of complex dependencies returning the wrong origin
+- bump version to 0.7.12
+
+---

Old:

  libsolv-0.7.11.tar.bz2

New:

  libsolv-0.7.13.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.UfZ0aw/_old  2020-05-20 18:37:19.536213513 +0200
+++ /var/tmp/diff_new_pack.UfZ0aw/_new  2020-05-20 18:37:19.540213521 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,12 +52,12 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.11
+Version:0.7.13
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:https://github.com/openSUSE/libsolv
+URL:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  gcc-c++

++ libsolv-0.7.11.tar.bz2 -> libsolv-0.7.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.11/CMakeLists.txt 
new/libsolv-0.7.13/CMakeLists.txt
--- old/libsolv-0.7.11/CMakeLists.txt   2019-12-19 16:34:10.0 +0100
+++ new/libsolv-0.7.13/CMakeLists.txt   2020-04-20 17:19:12.0 +0200
@@ -58,6 +58,9 @@
 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
 INSTALL( FILES ${CMAKE_MODULE_PATH}/FindLibSolv.cmake DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/cmake/Modules )
 
+# for shared libraries on windows (DLLs), we just export all symbols for now
+SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+
 INCLUDE (${CMAKE_SOURCE_DIR}/VERSION.cmake)
 
 SET (have_system x)
@@ -431,9 +434,9 @@
 ADD_SUBDIRECTORY (src)
 ADD_SUBDIRECTORY (ext)
 ADD_SUBDIRECTORY (tools)
-IF (ENABLE_PERL OR ENABLE_PYTHON OR ENABLE_RUBY OR ENABLE_TCL)
+IF (ENABLE_PERL OR ENABLE_PYTHON OR ENABLE_PYTHON3 OR ENABLE_RUBY OR 
ENABLE_TCL)
 ADD_SUBDIRECTORY (bindings)
-ENDIF (ENABLE_PERL OR ENABLE_PYTHON OR ENABLE_RUBY OR ENABLE_TCL)
+ENDIF (ENABLE_PERL OR ENABLE_PYTHON OR ENABLE_PYTHON3 OR ENABLE_RUBY OR 
ENABLE_TCL)
 ADD_SUBDIRECTORY (examples)
 ADD_SUBDIRECTORY (doc)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.11/NEWS new/libsolv-0.7.13/NEWS
--- old/libsolv-0.7.11/NEWS 2020-01-22 13:59:13.0 +0100
+++ new/libsolv-0.7.13/NEWS 2020-04-24 12:05:38.0 +0200
@@ -2,6 +2,16 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.13
+- fix solvable swapping messing up uninternalized idarrays
+
+Version 0.7.12
+- conda: support packages.conda repositories
+- conda: de-priorize track features
+- allow win32 to build shared lib
+- selected bug fixes:
+  * fix ruleinfo of complex dependencies returning the wrong origin
+
 Version 0.7.11
 - ENABLE_RPMDB_LIBRPM is now the default
 - selected bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.11/VERSION.cmake 
new/libsolv-0.7.13/VERSION.cmake
--- old/libsolv-0.7.11/VERSION.cmake2020-01-22 13:59:13.0 +0100
+++ new/libsolv-0.7.13/VERSION.cmake2020-04-24 12:05:38.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "11")
+SET(LIBSOLV_PATCH "13")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.11/ext/repo_conda.c 
new/libsolv-0.7.13/ext/repo_conda.c
--- old/libsolv-0.7.11/ext/repo_conda.c 2019-11-14 14:20:15.0 +0100
+++ new/libsolv-0.7.13/ext/repo_conda.c 2020-04-24 12:00:43.0 +0200
@@ -22,6 +22,9 @@
  

commit libsolv for openSUSE:Factory

2020-01-26 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2020-01-27 00:21:27

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.26092 (New)


Package is "libsolv"

Mon Jan 27 00:21:27 2020 rev:77 rq:766756 version:0.7.11

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-12-23 
22:39:38.433877490 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.26092/libsolv.changes   
2020-01-27 00:21:54.821479413 +0100
@@ -1,0 +2,8 @@
+Wed Jan 22 13:52:48 CET 2020 - m...@suse.de
+
+- fixed solv_zchunk decoding error if large chunks are used
+- treat retracted pathes as irrelevant
+- made add_update_target work with multiversion installs
+- bump version to 0.7.11
+
+---

Old:

  libsolv-0.7.10.tar.bz2

New:

  libsolv-0.7.11.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.nVDBaQ/_old  2020-01-27 00:21:55.661480131 +0100
+++ /var/tmp/diff_new_pack.nVDBaQ/_new  2020-01-27 00:21:55.661480131 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.10
+Version:0.7.11
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.10.tar.bz2 -> libsolv-0.7.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.10/NEWS new/libsolv-0.7.11/NEWS
--- old/libsolv-0.7.10/NEWS 2019-12-10 14:26:29.0 +0100
+++ new/libsolv-0.7.11/NEWS 2020-01-22 13:59:13.0 +0100
@@ -2,6 +2,13 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.11
+- ENABLE_RPMDB_LIBRPM is now the default
+- selected bug fixes:
+  * fixed solv_zchunk decoding error if large chunks are used
+  * treat retracted pathes as irrelevant
+  * made add_update_target work with multiversion installs
+
 Version 0.7.10
 - new features:
   * new rpm_stat_database() function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.10/README new/libsolv-0.7.11/README
--- old/libsolv-0.7.10/README   2019-03-30 18:09:14.0 +0100
+++ new/libsolv-0.7.11/README   2020-01-21 14:54:09.0 +0100
@@ -13,9 +13,9 @@
 resolving package dependencies.
 
 The sat-solver code has been written to aim for the newest packages,
-record the decision tree to provide introspection, and also allows to
-provide the user with suggestions on how to deal with unsolvable
-problems. It also takes advantage of the repository storage to
+record the decision tree to provide introspection, and also provides
+the user with suggestions on how to deal with unsolvable
+problems. It also takes advantage of repository storage to
 minimize memory usage.
 
 Supported package formats:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.10/VERSION.cmake 
new/libsolv-0.7.11/VERSION.cmake
--- old/libsolv-0.7.10/VERSION.cmake2019-12-10 14:26:29.0 +0100
+++ new/libsolv-0.7.11/VERSION.cmake2020-01-22 13:59:13.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "10")
+SET(LIBSOLV_PATCH "11")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.10/doc/gen/libsolv-bindings.3 
new/libsolv-0.7.11/doc/gen/libsolv-bindings.3
--- old/libsolv-0.7.10/doc/gen/libsolv-bindings.3   2019-07-01 
13:14:18.0 +0200
+++ new/libsolv-0.7.11/doc/gen/libsolv-bindings.3   2020-01-21 
15:04:15.0 +0100
@@ -2,12 +2,12 @@
 .\" Title: Libsolv-Bindings
 .\"Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot 
-.\"  Date: 07/01/2019
+.\"  Date: 01/21/2020
 .\"Manual: LIBSOLV
 .\"Source: libsolv
 .\"  Language: English
 .\"
-.TH "LIBSOLV\-BINDINGS" "3" "07/01/2019" "libsolv" "LIBSOLV"
+.TH "LIBSOLV\-BINDINGS" "3" "01/21/2020" "libsolv" "LIBSOLV"
 .\" -
 .\" * Define some portability stuff
 .\" -
@@ -866,6 +866,36 @@
 .RS 4
 .\}
 .nf
+\fBSolvable *whatcontainsdep(Id\fR 

commit libsolv for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-12-23 22:37:00

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.6675 (New)


Package is "libsolv"

Mon Dec 23 22:37:00 2019 rev:76 rq:758493 version:0.7.10

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-12-07 
15:22:13.587738459 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.6675/libsolv.changes
2019-12-23 22:39:38.433877490 +0100
@@ -1,0 +2,19 @@
+Thu Dec 19 16:29:52 CET 2019 - m...@suse.de
+
+- fix solv_zchunk decoding error if large chunks are used
+  [bnc#1159314]
+
+---
+Tue Dec 10 21:02:31 CET 2019 - m...@suse.de
+
+- build with -DENABLE_RPMDB_LIBRPM=1 on SUSE to support
+  multiple rpm database backends
+
+---
+Tue Dec 10 14:18:36 CET 2019 - m...@suse.de
+
+- added two new function to make libzypp independent of the rpm
+  database format
+- bump version to 0.7.10
+
+---

Old:

  libsolv-0.7.9.tar.bz2

New:

  libsolv-0.7.10.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.cxiYdj/_old  2019-12-23 22:39:39.077877769 +0100
+++ /var/tmp/diff_new_pack.cxiYdj/_new  2019-12-23 22:39:39.08181 +0100
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.9
+Version:0.7.10
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.9.tar.bz2 -> libsolv-0.7.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.9/CMakeLists.txt 
new/libsolv-0.7.10/CMakeLists.txt
--- old/libsolv-0.7.9/CMakeLists.txt2019-07-01 11:34:26.0 +0200
+++ new/libsolv-0.7.10/CMakeLists.txt   2019-12-19 16:34:10.0 +0100
@@ -17,6 +17,7 @@
 OPTION (ENABLE_PUBKEY "Build with pubkey support?" OFF)
 OPTION (ENABLE_RPMDB_BYRPMHEADER "Build with rpmdb Header support?" OFF)
 OPTION (ENABLE_RPMDB_LIBRPM "Use librpm to access the rpm database?" OFF)
+OPTION (ENABLE_RPMDB_BDB "Use BerkeleyDB to access the rpm database?" OFF)
 OPTION (ENABLE_RPMPKG_LIBRPM "Use librpm to access rpm header information?" 
OFF)
 OPTION (ENABLE_RPMMD "Build with rpmmd repository support?" OFF)
 OPTION (ENABLE_SUSEREPO "Build with suse repository support?" OFF)
@@ -223,21 +224,30 @@
 ENDIF (RPMMISC_LIBRARY)
   ENDIF (RPM5)
 
-  # check if rpm contains a bundled berkeley db
-  CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H)
-  IF (NOT ENABLE_RPMDB_LIBRPM)
-IF (NOT HAVE_RPM_DB_H)
-  FIND_LIBRARY (DB_LIBRARY NAMES db)
-  IF (DB_LIBRARY)
-SET (RPMDB_LIBRARY ${DB_LIBRARY} ${RPMDB_LIBRARY})
-  ENDIF (DB_LIBRARY)
-  IF (DB_INCLUDE_DIR)
-INCLUDE_DIRECTORIES (${DB_INCLUDE_DIR})
-  ENDIF (DB_INCLUDE_DIR)
-ENDIF (NOT HAVE_RPM_DB_H)
-  ENDIF (NOT ENABLE_RPMDB_LIBRPM)
+  IF (ENABLE_RPMDB)
+IF (NOT ENABLE_RPMDB_BDB)
+  SET (ENABLE_RPMDB_LIBRPM ON)
+ENDIF (NOT ENABLE_RPMDB_BDB)
+
+# check if rpm contains a bundled berkeley db
+CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H)
+IF (NOT ENABLE_RPMDB_LIBRPM)
+  IF (NOT HAVE_RPM_DB_H)
+FIND_LIBRARY (DB_LIBRARY NAMES db)
+IF (DB_LIBRARY)
+  SET (RPMDB_LIBRARY ${DB_LIBRARY} ${RPMDB_LIBRARY})
+ENDIF (DB_LIBRARY)
+IF (DB_INCLUDE_DIR)
+  INCLUDE_DIRECTORIES (${DB_INCLUDE_DIR})
+ENDIF (DB_INCLUDE_DIR)
+  ENDIF (NOT HAVE_RPM_DB_H)
+ENDIF (NOT ENABLE_RPMDB_LIBRPM)
+  ENDIF (ENABLE_RPMDB)
+
   INCLUDE (CheckLibraryExists)
   CHECK_LIBRARY_EXISTS(rpmio pgpDigGetParams "" HAVE_PGPDIGGETPARAMS)
+  CHECK_LIBRARY_EXISTS(rpm rpmdbNextIteratorHeaderBlob "" 
HAVE_RPMDBNEXTITERATORHEADERBLOB)
+  CHECK_LIBRARY_EXISTS(rpm rpmdbFStat "" HAVE_RPMDBFSTAT)
 ENDIF (ENABLE_RPMDB OR ENABLE_RPMPKG_LIBRPM)
 
 IF (ENABLE_PUBKEY)
@@ -270,7 +280,8 @@
 
 # should create config.h with #cmakedefine instead...
 FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
-  HAVE_RPM_DB_H HAVE_PGPDIGGETPARAMS WITH_LIBXML2 WITHOUT_COOKIEOPEN)
+  HAVE_RPM_DB_H HAVE_PGPDIGGETPARAMS HAVE_RPMDBNEXTITERATORHEADERBLOB 
HAVE_RPMDBFSTAT
+  WITH_LIBXML2 WITHOUT_COOKIEOPEN)
   IF(${VAR})
 ADD_DEFINITIONS (-D${VAR}=1)
 SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.9/NEWS new/libsolv-0.7.10/NEWS
--- old/libsolv-0.7.9/NEWS  2019-11-21 16:39:09.0 +0100
+++ 

commit libsolv for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-12-07 15:18:41

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.4691 (New)


Package is "libsolv"

Sat Dec  7 15:18:41 2019 rev:75 rq:751739 version:0.7.9

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-10-28 
16:43:31.748484333 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.4691/libsolv.changes
2019-12-07 15:22:13.587738459 +0100
@@ -1,0 +2,19 @@
+Thu Nov 21 16:34:52 CET 2019 - m...@suse.de
+
+- support conda constrains dependencies
+- bump version to 0.7.9
+
+---
+Tue Nov 12 11:35:12 CET 2019 - m...@suse.de
+
+- support arch<->noarch package changes when creating patch
+  conflicts from the updateinfo data
+- support for SOLVER_BLACKLIST jobs that block the installation
+  of matched packages unless they are directly selected by an
+  SOLVER_INSTALL job
+- libsolv now also parses the patch status in the updateinfo
+  parser
+- new solvable_matchessolvable() function
+- bump version to 0.7.8
+
+---

Old:

  libsolv-0.7.7.tar.bz2

New:

  libsolv-0.7.9.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.84mE24/_old  2019-12-07 15:22:16.767738018 +0100
+++ /var/tmp/diff_new_pack.84mE24/_new  2019-12-07 15:22:16.767738018 +0100
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.7
+Version:0.7.9
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.7.tar.bz2 -> libsolv-0.7.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.7/NEWS new/libsolv-0.7.9/NEWS
--- old/libsolv-0.7.7/NEWS  2019-10-18 10:59:11.0 +0200
+++ new/libsolv-0.7.9/NEWS  2019-11-21 16:39:09.0 +0100
@@ -2,6 +2,23 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.9
+- new features:
+  * support conda constrains dependencies
+
+Version 0.7.8
+- selected bug fixes:
+  * support arch<->noarch package changes when creating patch
+conflicts from the updateinfo data
+  * also support other rpm database types
+- new features:
+  * support for SOLVER_BLACKLIST jobs that block the installation
+of matched packages unless they are directly selected by an
+SOLVER_INSTALL job
+  * libsolv now also parses the patch status in the updateinfo
+parser
+  * new solvable_matchessolvable() function
+
 Version 0.7.7
 - selected bug fixes:
   * fix updating of too many packages in focusbest mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.7/VERSION.cmake 
new/libsolv-0.7.9/VERSION.cmake
--- old/libsolv-0.7.7/VERSION.cmake 2019-10-18 10:59:11.0 +0200
+++ new/libsolv-0.7.9/VERSION.cmake 2019-11-21 16:39:09.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "7")
+SET(LIBSOLV_PATCH "9")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.7/ext/libsolvext.ver 
new/libsolv-0.7.9/ext/libsolvext.ver
--- old/libsolv-0.7.7/ext/libsolvext.ver2019-04-04 16:28:06.0 
+0200
+++ new/libsolv-0.7.9/ext/libsolvext.ver2019-11-08 14:39:59.0 
+0100
@@ -42,6 +42,7 @@
repo_add_zyppdb_products;
repo_find_all_pubkeys;
repo_find_pubkey;
+   repo_mark_retracted_packages;
repo_verify_sigdata;
rpm_byfp;
rpm_byrpmdbid;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.7/ext/repo_conda.c 
new/libsolv-0.7.9/ext/repo_conda.c
--- old/libsolv-0.7.7/ext/repo_conda.c  2019-04-17 11:59:22.0 +0200
+++ new/libsolv-0.7.9/ext/repo_conda.c  2019-11-14 14:20:15.0 +0100
@@ -43,6 +43,24 @@
 }
 
 static int
+parse_otherdeps(struct parsedata *pd, struct solv_jsonparser *jp, Id handle, 
Id keyname)
+{
+  int type = JP_ARRAY;
+  while (type > 0 && (type = jsonparser_parse(jp)) > 0 && type != JP_ARRAY_END)
+{
+  if (type == JP_STRING)
+   {
+ Id id = pool_conda_matchspec(pd->pool, jp->value);
+ if (id)
+   repodata_add_idarray(pd->data, handle, keyname, id);
+   }
+  else
+   type = jsonparser_skip(jp, type);
+}
+  return type;
+}
+
+static int
 parse_package(struct parsedata *pd, struct solv_jsonparser *jp, 

commit libsolv for openSUSE:Factory

2019-10-28 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-10-28 16:43:28

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.2990 (New)


Package is "libsolv"

Mon Oct 28 16:43:28 2019 rev:74 rq:742091 version:0.7.7

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-09-02 
13:23:27.365333816 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.2990/libsolv.changes
2019-10-28 16:43:31.748484333 +0100
@@ -1,0 +2,8 @@
+Fri Oct 18 10:53:54 CEST 2019 - m...@suse.de
+
+- fix updating of too many packages in focusbest mode
+- fix handling of disabled installed packages in distupgrade
+- new POOL_FLAG_WHATPROVIDESWITHDISABLED pool flag
+- bump version to 0.7.7
+
+---

Old:

  libsolv-0.7.6.tar.bz2

New:

  libsolv-0.7.7.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.xrwyli/_old  2019-10-28 16:43:32.156484852 +0100
+++ /var/tmp/diff_new_pack.xrwyli/_new  2019-10-28 16:43:32.160484857 +0100
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.6
+Version:0.7.7
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause
@@ -207,7 +207,7 @@
 %setup -q
 
 %build
-%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
 export CFLAGS="%{optflags}"
 export CXXFLAGS="$CFLAGS"
 

++ libsolv-0.7.6.tar.bz2 -> libsolv-0.7.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.6/NEWS new/libsolv-0.7.7/NEWS
--- old/libsolv-0.7.6/NEWS  2019-08-28 15:02:38.0 +0200
+++ new/libsolv-0.7.7/NEWS  2019-10-18 10:59:11.0 +0200
@@ -2,6 +2,13 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.7
+- selected bug fixes:
+  * fix updating of too many packages in focusbest mode
+  * fix handling of disabled installed packages in distupgrade
+- new features
+  * new POOL_FLAG_WHATPROVIDESWITHDISABLED pool flag
+
 Version 0.7.6
 - selected bug fixes:
   * fix repository priority handling for multiversion packages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.6/VERSION.cmake 
new/libsolv-0.7.7/VERSION.cmake
--- old/libsolv-0.7.6/VERSION.cmake 2019-08-28 15:02:38.0 +0200
+++ new/libsolv-0.7.7/VERSION.cmake 2019-10-18 10:59:11.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "6")
+SET(LIBSOLV_PATCH "7")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.6/ext/repo_rpmdb.c 
new/libsolv-0.7.7/ext/repo_rpmdb.c
--- old/libsolv-0.7.6/ext/repo_rpmdb.c  2019-03-27 12:04:27.0 +0100
+++ new/libsolv-0.7.7/ext/repo_rpmdb.c  2019-10-21 13:21:14.0 +0200
@@ -1605,7 +1605,7 @@
 }
 
   /* XXX: should get ro lock of Packages database! */
-  if (stat_database(, "Packages", , 1))
+  if (stat_database(, ))
 {
   freestate();
   return -1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.6/ext/repo_rpmdb_bdb.h 
new/libsolv-0.7.7/ext/repo_rpmdb_bdb.h
--- old/libsolv-0.7.6/ext/repo_rpmdb_bdb.h  2019-06-05 16:36:37.0 
+0200
+++ new/libsolv-0.7.7/ext/repo_rpmdb_bdb.h  2019-10-21 13:21:14.0 
+0200
@@ -57,7 +57,7 @@
 
 
 static int
-stat_database(struct rpmdbstate *state, char *dbname, struct stat *statbuf, 
int seterror)
+stat_database_name(struct rpmdbstate *state, char *dbname, struct stat 
*statbuf, int seterror)
 {
   char *dbpath;
   dbpath = solv_dupjoin(state->rootdir, state->is_ostree ? "/usr/share/rpm/" : 
"/var/lib/rpm/", dbname);
@@ -72,6 +72,13 @@
   return 0;
 }
 
+static int
+stat_database(struct rpmdbstate *state, struct stat *statbuf)
+{
+  return stat_database_name(state, "Packages", statbuf, 1);
+}
+
+
 static inline Id
 db2rpmdbid(unsigned char *db, int byteswapped)
 {
@@ -426,7 +433,7 @@
   DBT dbkey;
   DBT dbdata;
 
-  if (stat_database(state, "Name", , 0))
+  if (stat_database_name(state, "Name", , 0))
 return 0;
   memset(, 0, sizeof(dbkey));
   memset(, 0, sizeof(dbdata));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.6/ext/repo_rpmdb_librpm.h 
new/libsolv-0.7.7/ext/repo_rpmdb_librpm.h
--- old/libsolv-0.7.6/ext/repo_rpmdb_librpm.h   2018-10-01 11:09:18.0 
+0200
+++ new/libsolv-0.7.7/ext/repo_rpmdb_librpm.h   2019-10-21 

commit libsolv for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-09-02 13:23:25

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.7948 (New)


Package is "libsolv"

Mon Sep  2 13:23:25 2019 rev:73 rq:727216 version:0.7.6

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-07-29 
17:24:13.978350150 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.7948/libsolv.changes
2019-09-02 13:23:27.365333816 +0200
@@ -1,0 +2,8 @@
+Wed Aug 28 14:49:19 CEST 2019 - m...@suse.de
+
+- Fix repository priority handling for multiversion packages
+- Make code compatible with swig 4.0, remove obj0 instances
+- repo2solv: support zchunk compressed data
+- bump version to 0.7.6
+
+---

Old:

  libsolv-0.7.5.tar.bz2

New:

  libsolv-0.7.6.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.5MYkJB/_old  2019-09-02 13:23:27.857333723 +0200
+++ /var/tmp/diff_new_pack.5MYkJB/_new  2019-09-02 13:23:27.857333723 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.5
+Version:0.7.6
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.5.tar.bz2 -> libsolv-0.7.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/NEWS new/libsolv-0.7.6/NEWS
--- old/libsolv-0.7.5/NEWS  2019-06-12 13:45:06.0 +0200
+++ new/libsolv-0.7.6/NEWS  2019-08-28 15:02:38.0 +0200
@@ -2,6 +2,16 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.6
+- selected bug fixes:
+  * fix repository priority handling for multiversion packages
+  * better support of inverval deps in pool_match_dep()
+  * support src rpms that have non-empty provides
+- new features
+  * bindings: add get_disabled_list() and set_disabled_list()
+  * bindings: add whatcontainsdep()
+  * bindings: make the selection filters return the self object
+
 Version 0.7.5
 - selected bug fixes:
   * fix favorq leaking between solver runs if the solver is reused
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/TODO_1.0 new/libsolv-0.7.6/TODO_1.0
--- old/libsolv-0.7.5/TODO_1.0  2019-04-08 13:29:14.0 +0200
+++ new/libsolv-0.7.6/TODO_1.0  2019-08-02 11:44:38.0 +0200
@@ -9,6 +9,10 @@
 
 - write more manpages
 
+- forcebest pruning is not optimal: it should keep multiple packages
+  with the same version instead of reducing to just one package for
+  each name
+
 IDEAS:
 
 drop SEARCH_FILES and add SEARCH_BASENAME instead?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/VERSION.cmake 
new/libsolv-0.7.6/VERSION.cmake
--- old/libsolv-0.7.5/VERSION.cmake 2019-06-12 13:45:06.0 +0200
+++ new/libsolv-0.7.6/VERSION.cmake 2019-08-28 15:02:38.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "5")
+SET(LIBSOLV_PATCH "6")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/bindings/solv.i 
new/libsolv-0.7.6/bindings/solv.i
--- old/libsolv-0.7.5/bindings/solv.i   2019-07-09 14:50:01.0 +0200
+++ new/libsolv-0.7.6/bindings/solv.i   2019-08-13 09:49:46.0 +0200
@@ -629,10 +629,8 @@
 %typemap(out) disown_helper {
 #if defined(SWIGRUBY)
   SWIG_ConvertPtr(self, ,SWIGTYPE_p_Pool, SWIG_POINTER_DISOWN |  0 );
-#elif defined(SWIGPYTHON) && SWIG_VERSION < 0x04
-  SWIG_ConvertPtr(obj0, ,SWIGTYPE_p_Pool, SWIG_POINTER_DISOWN |  0 );
 #elif defined(SWIGPYTHON)
-  SWIG_ConvertPtr(swig_obj[0], ,SWIGTYPE_p_Pool, SWIG_POINTER_DISOWN |  
0 );
+  SWIG_ConvertPtr($self, ,SWIGTYPE_p_Pool, SWIG_POINTER_DISOWN |  0 );
 #elif defined(SWIGPERL)
   SWIG_ConvertPtr(ST(0), ,SWIGTYPE_p_Pool, SWIG_POINTER_DISOWN |  0 );
 #elif defined(SWIGTCL)
@@ -656,7 +654,7 @@
 %define returnself(func)
 #if defined(SWIGPYTHON)
 %typemap(out) void func {
-  $result = obj0;
+  $result = $self;
   Py_INCREF($result);
 }
 #elif defined(SWIGPERL)
@@ -2011,6 +2009,14 @@
 pool_flush_namespaceproviders($self, ns, evr);
   }
 
+  %typemap(out) Queue whatcontainsdep Queue2Array(XSolvable *, 1, 
new_XSolvable(arg1, id));
+  %newobject whatcontainsdep;
+  Queue whatcontainsdep(Id keyname, DepId dep, Id marker = -1) {
+Queue q;
+queue_init();
+pool_whatcontainsdep($self, keyname, dep, , marker);
+return q;
+  }
 
   %typemap(out) Queue whatmatchesdep 

commit libsolv for openSUSE:Factory

2019-07-29 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-07-29 17:24:12

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.4126 (New)


Package is "libsolv"

Mon Jul 29 17:24:12 2019 rev:72 rq:714889 version:0.7.5

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-06-24 
21:49:38.763932969 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.4126/libsolv.changes
2019-07-29 17:24:13.978350150 +0200
@@ -1,0 +2,8 @@
+Wed Jul 10 07:48:10 UTC 2019 - Martin Liška 
+
+- Add -ffat-lto-objects to $optflags as the package provides
+  static libraries
+- Remove NO_BRP_STRIP_DEBUG=true as brp-15-strip-debug will
+  not strip debug info for archives
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.dXbj4z/_old  2019-07-29 17:24:14.506349955 +0200
+++ /var/tmp/diff_new_pack.dXbj4z/_new  2019-07-29 17:24:14.510349953 +0200
@@ -207,6 +207,7 @@
 %setup -q
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export CFLAGS="%{optflags}"
 export CXXFLAGS="$CFLAGS"
 
@@ -257,10 +258,6 @@
 %py3_compile %{buildroot}/%{python3_sitearch}
 %endif
 %endif
-%if %{with static}
-# we want to leave the .a file untouched
-export NO_BRP_STRIP_DEBUG=true
-%endif
 
 %check
 make ARGS=--output-on-failure test

++ libsolv-0.7.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/CMakeLists.txt 
new/libsolv-0.7.5/CMakeLists.txt
--- old/libsolv-0.7.5/CMakeLists.txt2019-04-11 16:48:29.0 +0200
+++ new/libsolv-0.7.5/CMakeLists.txt2019-07-01 11:34:26.0 +0200
@@ -126,6 +126,8 @@
 SET (have_system ${have_system}x)
 ENDIF (HAIKU)
 
+SET (CMAKE_MACOSX_RPATH ON)
+
 IF (${have_system} STREQUAL x)
 MESSAGE (STATUS "Building for no system")
 ENDIF (${have_system} STREQUAL x)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.5/bindings/solv.i 
new/libsolv-0.7.5/bindings/solv.i
--- old/libsolv-0.7.5/bindings/solv.i   2019-05-14 11:54:59.0 +0200
+++ new/libsolv-0.7.5/bindings/solv.i   2019-07-09 14:50:01.0 +0200
@@ -650,6 +650,33 @@
 
 
 /**
+ ** return $self
+ **/
+
+%define returnself(func)
+#if defined(SWIGPYTHON)
+%typemap(out) void func {
+  $result = obj0;
+  Py_INCREF($result);
+}
+#elif defined(SWIGPERL)
+%typemap(out) void func {
+  $result = sv_2mortal(SvREFCNT_inc(ST(0)));argvi++;
+}
+#elif defined(SWIGRUBY)
+%typemap(ret) void func {
+  return self;
+}
+#elif defined(SWIGTCL)
+%typemap(out) void func {
+  Tcl_IncrRefCount(objv[1]);
+  Tcl_SetObjResult(interp, objv[1]);
+}
+#endif
+%enddef
+
+
+/**
  ** misc stuff
  **/
 
@@ -1362,12 +1389,14 @@
 s->flags = $self->flags;
 return s;
   }
+returnself(filter)
   void filter(Selection *lsel) {
 if ($self->pool != lsel->pool)
   queue_empty(&$self->q);
 else
   selection_filter($self->pool, &$self->q, >q);
   }
+returnself(add)
   void add(Selection *lsel) {
 if ($self->pool == lsel->pool)
   {
@@ -1375,29 +1404,35 @@
 $self->flags |= lsel->flags;
   }
   }
+returnself(add_raw)
   void add_raw(Id how, Id what) {
 queue_push2(&$self->q, how, what);
   }
+returnself(subtract)
   void subtract(Selection *lsel) {
 if ($self->pool == lsel->pool)
   selection_subtract($self->pool, &$self->q, >q);
   }
 
+returnself(select)
   void select(const char *name, int flags) {
 if ((flags & SELECTION_MODEBITS) == 0)
   flags |= SELECTION_FILTER | SELECTION_WITH_ALL;
 $self->flags = selection_make($self->pool, &$self->q, name, flags);
   }
+returnself(matchdeps)
   void matchdeps(const char *name, int flags, Id keyname, Id marker = -1) {
 if ((flags & SELECTION_MODEBITS) == 0)
   flags |= SELECTION_FILTER | SELECTION_WITH_ALL;
 $self->flags = selection_make_matchdeps($self->pool, &$self->q, name, 
flags, keyname, marker);
   }
+returnself(matchdepid)
   void matchdepid(DepId dep, int flags, Id keyname, Id marker = -1) {
 if ((flags & SELECTION_MODEBITS) == 0)
   flags |= SELECTION_FILTER | SELECTION_WITH_ALL;
 $self->flags = selection_make_matchdepid($self->pool, &$self->q, dep, 
flags, keyname, marker);
   }
+returnself(matchsolvable)
   void matchsolvable(XSolvable *solvable, int flags, Id keyname, Id marker = 
-1) {
 if ((flags & SELECTION_MODEBITS) == 0)
   flags |= SELECTION_FILTER | SELECTION_WITH_ALL;
@@ -2057,9 +2092,18 @@
 queue_init();
 int i;
 for (i = 2; i < $self->nsolvables; i++) {
-  if (!$self->solvables[i].repo)
-continue;
-  if 

commit libsolv for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-06-24 21:49:37

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.4615 (New)


Package is "libsolv"

Mon Jun 24 21:49:37 2019 rev:71 rq:709759 version:0.7.5

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-04-08 
10:31:49.415243545 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new.4615/libsolv.changes
2019-06-24 21:49:38.763932969 +0200
@@ -1,0 +2,21 @@
+Thu Jun 13 16:15:39 CEST 2019 - m...@suse.de
+
+- make cleandeps jobs on patterns work [bnc#1137977]
+
+---
+Wed Jun 12 13:22:40 CEST 2019 - m...@suse.de
+
+- fix favorq leaking between solver runs if the solver is reused
+- fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason
+- be more correct with multiversion packages that obsolete their
+  own name [bnc#1127155]
+- allow building with swig-4.0.0 [bnc#1135749]
+- bump version to 0.7.5
+
+---
+Wed Apr 24 15:34:44 CEST 2019 - m...@suse.de
+
+- always prefer to stay with the same package name if there are
+  multiple alternatives [bnc#1131823]
+
+---
@@ -13,0 +35 @@
+  [CVE-2018-20532] [CVE-2018-20533] [CVE-2018-20534]

Old:

  libsolv-0.7.4.tar.bz2

New:

  libsolv-0.7.5.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.bkDsdQ/_old  2019-06-24 21:49:39.319933399 +0200
+++ /var/tmp/diff_new_pack.bkDsdQ/_new  2019-06-24 21:49:39.323933402 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.4
+Version:0.7.5
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.4.tar.bz2 -> libsolv-0.7.5.tar.bz2 ++
 9071 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-04-08 10:31:47

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.3908 (New)


Package is "libsolv"

Mon Apr  8 10:31:47 2019 rev:70 rq:691505 version:0.7.4

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2019-02-08 
12:07:07.905610433 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.3908/libsolv.changes
2019-04-08 10:31:49.415243545 +0200
@@ -1,0 +2,8 @@
+Fri Mar 29 15:58:54 CET 2019 - m...@suse.de
+
+- repo_add_rpmdb: do not copy bad solvables from the old solv file
+- fix cleandeps updates not updating all packages
+- experimental DISTTYPE_CONDA and REL_CONDA support
+- bump version to 0.7.4
+
+---

Old:

  libsolv-0.7.3.tar.bz2

New:

  libsolv-0.7.4.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.RMdH2N/_old  2019-04-08 10:31:50.315244554 +0200
+++ /var/tmp/diff_new_pack.RMdH2N/_new  2019-04-08 10:31:50.319244559 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.3
+Version:0.7.4
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.3.tar.bz2 -> libsolv-0.7.4.tar.bz2 ++
 2338 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2019-02-08 12:07:05

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.28833 (New)


Package is "libsolv"

Fri Feb  8 12:07:05 2019 rev:69 rq:670424 version:0.7.3

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-12-19 
13:48:44.639340887 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.28833/libsolv.changes   
2019-02-08 12:07:07.905610433 +0100
@@ -1,0 +2,11 @@
+Wed Jan 30 15:51:36 CET 2019 - m...@suse.de
+
+- fixed a couple of null pointer derefs
+  [bnc#1120629] [bnc#1120630] [bnc#1120631]
+- do favor evaluation before pruning allowing to (dis)favor
+  specific package versions
+- no longer disable infarch rules when they don't conflict with
+  the job
+- bump version to 0.7.3
+
+---

Old:

  libsolv-0.7.2.tar.bz2

New:

  libsolv-0.7.3.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.BLZPYh/_old  2019-02-08 12:07:08.565610185 +0100
+++ /var/tmp/diff_new_pack.BLZPYh/_new  2019-02-08 12:07:08.573610182 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.2
+Version:0.7.3
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause
@@ -221,7 +221,7 @@
 CMAKE_FLAGS="-DSUSE=1"
 %endif
 
-cmake  $CMAKE_FLAGS \
+cmake . $CMAKE_FLAGS \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \

++ libsolv-0.7.2.tar.bz2 -> libsolv-0.7.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.2/NEWS new/libsolv-0.7.3/NEWS
--- old/libsolv-0.7.2/NEWS  2018-12-07 15:20:15.0 +0100
+++ new/libsolv-0.7.3/NEWS  2019-01-30 16:11:58.0 +0100
@@ -2,6 +2,18 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.7.3
+- selected bug fixes:
+  * fixed a couple of null pointer derefs and potential memory
+leaks
+  * made disfavoring recommended packages work if strong recommends
+is enabled
+  * no longer disable infarch rules when they don't conflict with
+the job
+- new features:
+  * do favor evaluation before pruning allowing to (dis)favor
+specific package versions
+
 Version 0.7.2
 - bug fixes:
   * do not autouninstall packages because of forcebest updates
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.2/VERSION.cmake 
new/libsolv-0.7.3/VERSION.cmake
--- old/libsolv-0.7.2/VERSION.cmake 2018-12-07 15:20:15.0 +0100
+++ new/libsolv-0.7.3/VERSION.cmake 2019-01-30 16:11:58.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "7")
-SET(LIBSOLV_PATCH "2")
+SET(LIBSOLV_PATCH "3")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.2/bindings/solv.i 
new/libsolv-0.7.3/bindings/solv.i
--- old/libsolv-0.7.2/bindings/solv.i   2018-12-07 15:10:23.0 +0100
+++ new/libsolv-0.7.3/bindings/solv.i   2018-12-18 16:44:45.0 +0100
@@ -3454,6 +3454,7 @@
   static const int SOLVER_FLAG_FOCUS_BEST = SOLVER_FLAG_FOCUS_BEST;
   static const int SOLVER_FLAG_STRONG_RECOMMENDS = 
SOLVER_FLAG_STRONG_RECOMMENDS;
   static const int SOLVER_FLAG_INSTALL_ALSO_UPDATES = 
SOLVER_FLAG_INSTALL_ALSO_UPDATES;
+  static const int SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED = 
SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED;
 
   static const int SOLVER_REASON_UNRELATED = SOLVER_REASON_UNRELATED;
   static const int SOLVER_REASON_UNIT_RULE = SOLVER_REASON_UNIT_RULE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.7.2/examples/solv/fastestmirror.c 
new/libsolv-0.7.3/examples/solv/fastestmirror.c
--- old/libsolv-0.7.2/examples/solv/fastestmirror.c 2018-10-01 
11:09:18.0 +0200
+++ new/libsolv-0.7.3/examples/solv/fastestmirror.c 2018-12-11 
13:59:34.0 +0100
@@ -68,7 +68,11 @@
  socks[i] = socket(result->ai_family, result->ai_socktype, 
result->ai_protocol);
  if (socks[i] >= 0)
{
- fcntl(socks[i], F_SETFL, O_NONBLOCK);
+ if (fcntl(socks[i], F_SETFL, 

commit libsolv for openSUSE:Factory

2018-12-19 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-12-19 13:48:38

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new.28833 (New)


Package is "libsolv"

Wed Dec 19 13:48:38 2018 rev:68 rq:657131 version:0.7.2

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-11-08 
09:42:48.445498897 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new.28833/libsolv.changes   
2018-12-19 13:48:44.639340887 +0100
@@ -1,0 +2,10 @@
+Fri Dec  7 15:10:46 CET 2018 - m...@suse.de
+
+- do not autouninstall packages because of forcebest updates
+- support rpm's new '^' version separator
+- support set/get_considered_list in bindings
+- new experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag
+  [fate#325513]
+- bump version to 0.7.2
+
+---

Old:

  libsolv-0.7.1.tar.bz2

New:

  libsolv-0.7.2.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.giQg19/_old  2018-12-19 13:48:45.355339892 +0100
+++ /var/tmp/diff_new_pack.giQg19/_new  2018-12-19 13:48:45.355339892 +0100
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.7.1
+Version:0.7.2
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.7.1.tar.bz2 -> libsolv-0.7.2.tar.bz2 ++
 3000 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-11-08 09:42:46

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Thu Nov  8 09:42:46 2018 rev:67 rq:646401 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-08-24 
16:58:55.305702954 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-11-08 
09:42:48.445498897 +0100
@@ -1,0 +2,17 @@
+Wed Oct 31 13:50:22 CET 2018 - m...@suse.de
+
+- fix nasty off-by-one error in repo_write
+- also copy pattern categories from the rpm that defines the
+  pattern [fate#323785]
+- bump version to 0.7.1
+
+---
+Wed Oct 24 10:48:56 CEST 2018 - m...@suse.de
+
+- new repowriter interface
+- new selection_make_matchsolvable function
+- dropped support of REPOKEY_TYPE_U32
+- bindings: Selection.flags is now an attribute
+- bump version to 0.7.0
+
+---

Old:

  libsolv-0.6.35.tar.bz2

New:

  libsolv-0.7.1.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.ZlwRdu/_old  2018-11-08 09:42:49.093498143 +0100
+++ /var/tmp/diff_new_pack.ZlwRdu/_new  2018-11-08 09:42:49.105498129 +0100
@@ -12,11 +12,11 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define libname libsolv0
+%define libname libsolv1
 
 %if 0%{?sle_version} >= 120300 || 0%{?suse_version} >= 1330 || 
!0%{?suse_version}
 %bcond_without bz2
@@ -25,7 +25,7 @@
 %bcond_with bz2
 %bcond_with xz
 %endif
-%if 0%{?sle_version} >= 15 || 0%{?suse_version} >= 1500
+%if 0%{?is_opensuse} && (0%{?sle_version} >= 15 || 0%{?suse_version} >= 
1500)
 %bcond_without zstd
 %else
 %bcond_with zstd
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.6.35
+Version:0.7.1
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.6.35.tar.bz2 -> libsolv-0.7.1.tar.bz2 ++
 10052 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2018-08-24 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-08-24 16:58:51

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Fri Aug 24 16:58:51 2018 rev:66 rq:628883 version:0.6.35

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-08-07 
09:39:56.312981868 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-08-24 
16:58:55.305702954 +0200
@@ -0,0 +1,8 @@
+---
+Thu Aug  9 17:09:41 CEST 2018 - m...@suse.de
+
+- refactor arch handling
+- add support for zstd and zchunk compression
+- convert repo2solv.sh script into a binary tool
+- bump version to 0.6.35
+

Old:

  libsolv-0.6.34.tar.bz2

New:

  libsolv-0.6.35.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.hhQZhC/_old  2018-08-24 16:58:56.593704478 +0200
+++ /var/tmp/diff_new_pack.hhQZhC/_new  2018-08-24 16:58:56.597704482 +0200
@@ -52,7 +52,7 @@
 %bcond_with zypp
 
 Name:   libsolv
-Version:0.6.34
+Version:0.6.35
 Release:0
 Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause

++ libsolv-0.6.34.tar.bz2 -> libsolv-0.6.35.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.34/NEWS new/libsolv-0.6.35/NEWS
--- old/libsolv-0.6.34/NEWS 2018-07-16 16:30:34.0 +0200
+++ new/libsolv-0.6.35/NEWS 2018-08-09 17:21:30.0 +0200
@@ -2,6 +2,17 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.35
+- new configuration options:
+  * ENABLE_ZSTD_COMPRESSION: support zstd compression
+  * ENABLE_ZCHUNK_COMPRESSION: support zchunk compression
+- new features:
+  * new repodata_set_kv() function
+  * new pool_solvable2id() inline function
+  * bindings: new str2dir, dir2str, add_dirstr repodata methods
+- other changes
+  * new repo2solv tool replacing the old shell script
+
 Version 0.6.34
 - new features:
   * also look at suggests for package ordering
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.34/VERSION.cmake 
new/libsolv-0.6.35/VERSION.cmake
--- old/libsolv-0.6.34/VERSION.cmake2018-07-16 16:30:34.0 +0200
+++ new/libsolv-0.6.35/VERSION.cmake2018-08-09 17:21:30.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "34")
+SET(LIBSOLV_PATCH "35")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.34/package/libsolv.changes 
new/libsolv-0.6.35/package/libsolv.changes
--- old/libsolv-0.6.34/package/libsolv.changes  2018-07-18 15:27:21.0 
+0200
+++ new/libsolv-0.6.35/package/libsolv.changes  2018-08-09 17:21:30.0 
+0200
@@ -1,3 +1,11 @@
+---
+Thu Aug  9 17:09:41 CEST 2018 - m...@suse.de
+
+- refactor arch handling
+- add support for zstd and zchunk compression
+- convert repo2solv.sh script into a binary tool
+- bump version to 0.6.35
+
 --
 Wed Jul 18 14:11:51 UTC 2018 - ngomp...@gmail.com
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.34/src/policy.c 
new/libsolv-0.6.35/src/policy.c
--- old/libsolv-0.6.34/src/policy.c 2018-07-25 12:07:15.0 +0200
+++ new/libsolv-0.6.35/src/policy.c 2018-08-10 07:04:58.0 +0200
@@ -1236,7 +1236,7 @@
{
  char kn[256];
  Id p, pp, knid;
- memcpy(kn, "kernel", 8);
+ memcpy(kn, "kernel", 7);
  memcpy(kn + 6, flavor, release - flavor + 1);
  memcpy(kn + 6 + (release - flavor) + 1, sn, flavor - sn);
  strcpy(kn + 6 + (release + 1 - sn), release);




commit libsolv for openSUSE:Factory

2018-08-07 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-08-07 09:39:54

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Tue Aug  7 09:39:54 2018 rev:65 rq:626888 version:0.6.34

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-03-29 
11:47:47.123300291 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-08-07 
09:39:56.312981868 +0200
@@ -0,0 +1,15 @@
+--
+Wed Jul 18 14:11:51 UTC 2018 - ngomp...@gmail.com
+
+- Fix compatibility with Mageia and RH/Fedora
+
+--
+Wed Jul 18 11:02:29 UTC 2018 - tchva...@suse.com
+
+- Sort a bit with spec-cleaner
+- Use python/ruby/etc condition names to match what other packages
+  do in order to make sure we are enabling/disabling stuff within
+  prjcfg
+- Silence the source unpacking
+- Make sure to execute tests
+



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.MNaiwu/_old  2018-08-07 09:39:56.768982663 +0200
+++ /var/tmp/diff_new_pack.MNaiwu/_new  2018-08-07 09:39:56.768982663 +0200
@@ -16,55 +16,61 @@
 #
 
 
-Name:   libsolv
-Version:0.6.34
-Release:0
-Url:https://github.com/openSUSE/libsolv
-Source: libsolv-%{version}.tar.bz2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%define libname libsolv0
 
-%bcond_without enable_static
-%bcond_without disable_shared
-%bcond_without perl_binding
-%bcond_without python_binding
-%bcond_without python3_binding
-%bcond_without ruby_binding
-%bcond_with zypp
-
-%if 0%{?leap_version} >= 420300 || 0%{?sle_version} >= 120300 || 
0%{?suse_version} >= 1330 || !0%{?suse_version}
+%if 0%{?sle_version} >= 120300 || 0%{?suse_version} >= 1330 || 
!0%{?suse_version}
 %bcond_without bz2
 %bcond_without xz
 %else
 %bcond_with bz2
 %bcond_with xz
 %endif
-
+%if 0%{?sle_version} >= 15 || 0%{?suse_version} >= 1500
+%bcond_without zstd
+%else
+%bcond_with zstd
+%endif
 %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?mageia} >= 6 || 0%{?suse_version} >= 
1330
 %bcond_without richdeps
 %else
 %bcond_with richdeps
 %endif
-
-%if 0%{?mandriva_version}
-# force this version on mandriva
-BuildRequires:  libneon0.26-devel
-%endif
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
-BuildRequires:  db-devel
-%endif
-BuildRequires:  libxml2-devel
-%if 0%{?suse_version} && 0%{?suse_version} < 1100
-BuildRequires:  graphviz
-%endif
-%if 0%{?suse_version} > 1020 || 0%{?fedora} || 0%{?mageia}
-BuildRequires:  fdupes
+# we need at least swig 1.3.40 for the bindings ($typemap support)
+%if 0%{?suse_version} != 1110
+%bcond_without python3
+%bcond_without python
+%bcond_without ruby
+%bcond_without perl
+%else
+%bcond_with python3
+%bcond_with python
+%bcond_with ruby
+%bcond_with perl
 %endif
+%bcond_without static
+%bcond_with shared
+%bcond_with zypp
+
+Name:   libsolv
+Version:0.6.34
+Release:0
+Summary:Package dependency solver using a satisfiability algorithm
+License:BSD-3-Clause
+Group:  Development/Libraries/C and C++
+Url:https://github.com/openSUSE/libsolv
+Source: libsolv-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  libxml2-devel
 BuildRequires:  rpm-devel
 BuildRequires:  zlib-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
+BuildRequires:  db-devel
+%endif
 
-%if %{with perl_binding}
+%if %{with perl}
 BuildRequires:  perl
 %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
 BuildRequires:  perl-devel
@@ -72,22 +78,23 @@
 BuildRequires:  swig
 %endif
 
-%if %{with ruby_binding}
+%if %{with ruby}
 %global ruby_vendorarch %(ruby  -r rbconfig -e "puts 
RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : 
RbConfig::CONFIG['vendorarchdir']")
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  swig
 %endif
 
-%if %{with python_binding}
+%if %{with python}
 %global python_sitearch %(python -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
 BuildRequires:  python-devel
 BuildRequires:  swig
 %endif
 
-%if %{with python3_binding}
+%if %{with python3}
 %global python3_sitearch %(python3 -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
 BuildRequires:  python3-devel
+BuildRequires:  swig
 %endif
 
 %if %{with bz2}
@@ -102,20 +109,20 @@
 BuildRequires:  xz-devel
 %endif
 
-Summary:Package dependency solver using a satisfiability algorithm
-License:BSD-3-Clause

commit libsolv for openSUSE:Factory

2018-03-29 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-03-29 11:47:39

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Thu Mar 29 11:47:39 2018 rev:64 rq:590637 version:0.6.34

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-03-14 
19:21:37.154316148 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-03-29 
11:47:47.123300291 +0200
@@ -1,0 +2,7 @@
+Fri Mar 23 12:02:08 CET 2018 - m...@suse.de
+
+- make sure product files come from /etc/products.d in fallback
+  search [bnc#1086602]
+- bump version to 0.6.34
+
+---

Old:

  libsolv-0.6.33.tar.bz2

New:

  libsolv-0.6.34.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.yZmwkn/_old  2018-03-29 11:47:48.179262242 +0200
+++ /var/tmp/diff_new_pack.yZmwkn/_new  2018-03-29 11:47:48.183262098 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.33
+Version:0.6.34
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.33.tar.bz2 -> libsolv-0.6.34.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.33/NEWS new/libsolv-0.6.34/NEWS
--- old/libsolv-0.6.33/NEWS 2018-02-28 16:32:40.0 +0100
+++ new/libsolv-0.6.34/NEWS 2018-03-23 12:08:13.0 +0100
@@ -2,6 +2,10 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.34
+- new features:
+  * also look at suggests for package ordering
+
 Version 0.6.33
 - new features:
   * new Selection.clone() method in the bindings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.33/VERSION.cmake 
new/libsolv-0.6.34/VERSION.cmake
--- old/libsolv-0.6.33/VERSION.cmake2018-02-28 16:32:40.0 +0100
+++ new/libsolv-0.6.34/VERSION.cmake2018-03-23 12:08:13.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "33")
+SET(LIBSOLV_PATCH "34")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.33/package/libsolv.changes 
new/libsolv-0.6.34/package/libsolv.changes
--- old/libsolv-0.6.33/package/libsolv.changes  2018-03-01 11:06:18.0 
+0100
+++ new/libsolv-0.6.34/package/libsolv.changes  2018-03-23 12:08:13.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Fri Mar 23 12:02:08 CET 2018 - m...@suse.de
+
+- make sure product files come from /etc/products.d in fallback
+  search [bnc#1086602]
+- bump version to 0.6.34
+
+---
 Thu Mar  1 10:52:23 CET 2018 - m...@suse.de
 
 - also use suggests for ordering packages [bnc#1077635]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.33/src/linkedpkg.c 
new/libsolv-0.6.34/src/linkedpkg.c
--- old/libsolv-0.6.33/src/linkedpkg.c  2017-10-10 12:39:51.0 +0200
+++ new/libsolv-0.6.34/src/linkedpkg.c  2018-03-23 12:08:13.0 +0100
@@ -192,16 +192,25 @@
   /* oh no! Look up reference file */
   Dataiterator di;
   const char *refbasename = solvable_lookup_str(s, PRODUCT_REFERENCEFILE);
-  dataiterator_init(, pool, s->repo, 0, SOLVABLE_FILELIST, refbasename, 
SEARCH_STRING);
-  while (dataiterator_step())
-   queue_push(qr, di.solvid);
-  dataiterator_free();
-  if (qp)
+  if (refbasename)
{
- dataiterator_init(, pool, s->repo, 0, PRODUCT_REFERENCEFILE, 
refbasename, SEARCH_STRING);
+ dataiterator_init(, pool, s->repo, 0, SOLVABLE_FILELIST, 
refbasename, SEARCH_STRING);
  while (dataiterator_step())
-   queue_push(qp, di.solvid);
+   {
+ if (di.key->type != REPOKEY_TYPE_DIRSTRARRAY)
+   continue;
+ if (strcmp(repodata_dir2str(di.data, di.kv.id, 0), 
"/etc/products.d") != 0)
+   continue;
+ queue_push(qr, di.solvid);
+   }
  dataiterator_free();
+ if (qp)
+   {
+ dataiterator_init(, pool, s->repo, 0, PRODUCT_REFERENCEFILE, 
refbasename, SEARCH_STRING);
+ while (dataiterator_step())
+   queue_push(qp, di.solvid);
+ dataiterator_free();
+   }
}
 }
   else if (qp)




commit libsolv for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-03-14 19:21:36

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Wed Mar 14 19:21:36 2018 rev:63 rq:584005 version:0.6.33

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-02-18 
11:38:19.238310203 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-03-14 
19:21:37.154316148 +0100
@@ -1,0 +2,13 @@
+Thu Mar  1 10:52:23 CET 2018 - m...@suse.de
+
+- also use suggests for ordering packages [bnc#1077635]
+
+---
+Wed Feb 28 16:29:55 CET 2018 - m...@suse.de
+
+- fix bad assignment in solution refinement that led
+  to a memory leak [bnc#1075978]
+- use license tag instead of doc in the spec file [bnc#1082318]
+- bump version to 0.6.33
+
+---

Old:

  libsolv-0.6.32.tar.bz2

New:

  libsolv-0.6.33.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.oeKtO1/_old  2018-03-14 19:21:38.442270422 +0100
+++ /var/tmp/diff_new_pack.oeKtO1/_new  2018-03-14 19:21:38.442270422 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.32
+Version:0.6.33
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -263,7 +263,7 @@
 
 %files -n libsolv0
 %defattr(-,root,root)
-%doc LICENSE*
+%license LICENSE*
 %{_libdir}/libsolv.so.*
 %{_libdir}/libsolvext.so.*
 %endif

++ libsolv-0.6.32.tar.bz2 -> libsolv-0.6.33.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.32/NEWS new/libsolv-0.6.33/NEWS
--- old/libsolv-0.6.32/NEWS 2018-02-13 11:54:09.0 +0100
+++ new/libsolv-0.6.33/NEWS 2018-02-28 16:32:40.0 +0100
@@ -2,6 +2,11 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.33
+- new features:
+  * new Selection.clone() method in the bindings
+  * new pool.parserpmrichdep() method in the bindings
+
 Version 0.6.32
 - fixed bug that could make fileconflict detection very slow
   in some cases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.32/VERSION.cmake 
new/libsolv-0.6.33/VERSION.cmake
--- old/libsolv-0.6.32/VERSION.cmake2018-02-13 11:54:09.0 +0100
+++ new/libsolv-0.6.33/VERSION.cmake2018-02-28 16:32:40.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "32")
+SET(LIBSOLV_PATCH "33")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.32/bindings/solv.i 
new/libsolv-0.6.33/bindings/solv.i
--- old/libsolv-0.6.32/bindings/solv.i  2018-01-18 13:29:06.0 +0100
+++ new/libsolv-0.6.33/bindings/solv.i  2018-02-28 16:27:43.0 +0100
@@ -665,6 +665,9 @@
 #ifdef SUSE
 #include "repo_autopattern.h"
 #endif
+#if defined(ENABLE_COMPLEX_DEPS) && (defined(ENABLE_SUSEREPO) || 
defined(ENABLE_RPMMD) || defined(ENABLE_RPMDB) || defined(ENABLE_RPMPKG))
+#include "pool_parserpmrichdep.h"
+#endif
 #include "solv_xfopen.h"
 #include "testcase.h"
 
@@ -1295,12 +1298,10 @@
 return $self->q.count == 0;
   }
   %newobject clone;
-  Selection *clone(Selection *from, int flags = 0) { 
-Selection *s;
-s = solv_calloc(1, sizeof(*s));
-s->pool = from->pool;
-s->flags = from->flags;
-queue_init_clone(>q, >q);
+  Selection *clone(int flags = 0) {
+Selection *s = new_Selection($self->pool);
+queue_init_clone(>q, &$self->q);
+s->flags = $self->flags;
 return s;
   }
   void filter(Selection *lsel) {
@@ -1729,6 +1730,13 @@
 Id id = pool_str2id($self, str, create);
 return new_Dep($self, id);
   }
+#if defined(ENABLE_COMPLEX_DEPS) && (defined(ENABLE_SUSEREPO) || 
defined(ENABLE_RPMMD) || defined(ENABLE_RPMDB) || defined(ENABLE_RPMPKG))
+  %newobject Dep;
+  Dep *parserpmrichdep(const char *str) {
+Id id = pool_parserpmrichdep($self, str);
+return new_Dep($self, id);
+  }
+#endif
   const char *id2str(Id id) {
 return pool_id2str($self, id);
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.32/doc/gen/libsolv-bindings.3 
new/libsolv-0.6.33/doc/gen/libsolv-bindings.3
--- old/libsolv-0.6.32/doc/gen/libsolv-bindings.3   2018-01-18 
13:29:06.0 +0100
+++ new/libsolv-0.6.33/doc/gen/libsolv-bindings.3   2018-02-28 
16:27:43.0 +0100
@@ -2,12 +2,12 @@
 .\" Title: Libsolv-Bindings
 .\"Author: 

commit libsolv for openSUSE:Factory

2018-02-18 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-02-18 11:38:19

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Sun Feb 18 11:38:19 2018 rev:62 rq:577252 version:0.6.32

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2018-02-05 
10:49:51.669152266 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-02-18 
11:38:19.238310203 +0100
@@ -1,0 +2,7 @@
+Tue Feb 13 11:51:11 CET 2018 - m...@suse.de
+
+- fixed bug that could make fileconflict detection very slow
+  in some cases [bnc#953130]
+- bump version to 0.6.32
+
+---

Old:

  libsolv-0.6.31.tar.bz2

New:

  libsolv-0.6.32.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.5oO5Nv/_old  2018-02-18 11:38:19.914285939 +0100
+++ /var/tmp/diff_new_pack.5oO5Nv/_new  2018-02-18 11:38:19.914285939 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.31
+Version:0.6.32
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.31.tar.bz2 -> libsolv-0.6.32.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.31/NEWS new/libsolv-0.6.32/NEWS
--- old/libsolv-0.6.31/NEWS 2018-01-31 11:44:06.0 +0100
+++ new/libsolv-0.6.32/NEWS 2018-02-13 11:54:09.0 +0100
@@ -2,6 +2,10 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.32
+- fixed bug that could make fileconflict detection very slow
+  in some cases
+
 Version 0.6.31
 - new configuration options:
   * ENABLE_RPMDB_LIBRPM: use librpm to read the package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.31/VERSION.cmake 
new/libsolv-0.6.32/VERSION.cmake
--- old/libsolv-0.6.31/VERSION.cmake2018-01-31 11:44:06.0 +0100
+++ new/libsolv-0.6.32/VERSION.cmake2018-02-13 11:54:09.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "31")
+SET(LIBSOLV_PATCH "32")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.31/examples/solv/fileconflicts.c 
new/libsolv-0.6.32/examples/solv/fileconflicts.c
--- old/libsolv-0.6.31/examples/solv/fileconflicts.c2017-10-10 
12:39:51.0 +0200
+++ new/libsolv-0.6.32/examples/solv/fileconflicts.c2018-02-12 
15:09:13.0 +0100
@@ -67,7 +67,12 @@
 {
   printf("\n");
   for (i = 0; i < conflicts->count; i += 6)
-   printf("file %s of package %s conflicts with package %s\n", 
pool_id2str(pool, conflicts->elements[i]), pool_solvid2str(pool, 
conflicts->elements[i + 1]), pool_solvid2str(pool, conflicts->elements[i + 4]));
+   {
+ if (conflicts->elements[i] == conflicts->elements[i + 3])
+   printf("file %s of package %s conflicts with package %s\n", 
pool_id2str(pool, conflicts->elements[i]), pool_solvid2str(pool, 
conflicts->elements[i + 1]), pool_solvid2str(pool, conflicts->elements[i + 4]));
+ else
+   printf("file %s of package %s conflicts with file %s of package 
%s\n", pool_id2str(pool, conflicts->elements[i]), pool_solvid2str(pool, 
conflicts->elements[i + 1]), pool_id2str(pool, conflicts->elements[i + 3]), 
pool_solvid2str(pool, conflicts->elements[i + 4]));
+   }
   printf("\n");
 }
   return conflicts->count;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.31/examples/solv/solv.c 
new/libsolv-0.6.32/examples/solv/solv.c
--- old/libsolv-0.6.31/examples/solv/solv.c 2017-11-16 14:24:06.0 
+0100
+++ new/libsolv-0.6.32/examples/solv/solv.c 2018-02-12 15:09:13.0 
+0100
@@ -661,10 +661,10 @@
 job.elements[i] |= SOLVER_FORCEBEST;
 }
 
+#if 0
   // multiversion test
-  // queue_push2(, SOLVER_MULTIVERSION|SOLVER_SOLVABLE_NAME, 
pool_str2id(pool, "kernel-pae", 1));
-  // queue_push2(, SOLVER_MULTIVERSION|SOLVER_SOLVABLE_NAME, 
pool_str2id(pool, "kernel-pae-base", 1));
-  // queue_push2(, SOLVER_MULTIVERSION|SOLVER_SOLVABLE_NAME, 
pool_str2id(pool, "kernel-pae-extra", 1));
+  queue_push2(, SOLVER_MULTIVERSION|SOLVER_SOLVABLE_PROVIDES, 
pool_str2id(pool, "multiversion(kernel)", 1));
+#endif
 #if 0
   queue_push2(, SOLVER_INSTALL|SOLVER_SOLVABLE_PROVIDES, pool_rel2id(pool, 
NAMESPACE_LANGUAGE, 0, REL_NAMESPACE, 1));
   queue_push2(, SOLVER_ERASE|SOLVER_CLEANDEPS|SOLVER_SOLVABLE_PROVIDES, 
pool_rel2id(pool, 

commit libsolv for openSUSE:Factory

2018-02-05 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2018-02-05 10:49:49

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Mon Feb  5 10:49:49 2018 rev:61 rq:571460 version:0.6.31

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-10-25 
17:45:49.880174194 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2018-02-05 
10:49:51.669152266 +0100
@@ -1,0 +2,9 @@
+Wed Jan 31 11:41:51 CET 2018 - m...@suse.de
+
+- new ENABLE_RPMDB_LIBRPM/ENABLE_RPMPKG_LIBRPM config options
+- new pool_set_whatprovides function to change the whatprovides
+  data
+- much improved selection code
+- bump version to 0.6.31
+
+---

Old:

  libsolv-0.6.30.tar.bz2

New:

  libsolv-0.6.31.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.5vQw4D/_old  2018-02-05 10:49:52.269124179 +0100
+++ /var/tmp/diff_new_pack.5vQw4D/_new  2018-02-05 10:49:52.269124179 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.30
+Version:0.6.31
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.30.tar.bz2 -> libsolv-0.6.31.tar.bz2 ++
 7329 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2017-10-25 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-10-25 17:45:46

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Wed Oct 25 17:45:46 2017 rev:60 rq:536423 version:0.6.30

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-09-21 
14:09:38.039194753 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-10-25 
17:45:49.880174194 +0200
@@ -1,0 +2,17 @@
+Tue Oct 24 12:09:32 UTC 2017 - jeng...@inai.de
+
+- Update package descriptions and groups.
+  Replace old $RPM_* variables by macros.
+
+---
+Mon Oct 23 11:40:22 CEST 2017 - m...@suse.de
+
+- many fixes and improvements for cleandeps
+- support debian packages with xz compressed control.tar
+- always create dup rules for "distupgrade" jobs
+- use recommends also for ordering packages
+- Fix splitprovides handling with addalreadyrecommended turned off
+  [bnc#1059065]
+- bump version to 0.6.30
+
+---

Old:

  libsolv-0.6.29.tar.bz2

New:

  libsolv-0.6.30.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.sdeDS2/_old  2017-10-25 17:45:50.520144158 +0200
+++ /var/tmp/diff_new_pack.sdeDS2/_new  2017-10-25 17:45:50.524143970 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.29
+Version:0.6.30
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -102,24 +102,29 @@
 BuildRequires:  xz-devel
 %endif
 
-Summary:A new approach to package dependency solving
+Summary:Package dependency solver using a satisfiability algorithm
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
 
 %description
-A new approach to package dependency solving
+libsolv is a library for solving packages and reading repositories.
+The solver uses a satisfiability algorithm.
 
 %if !%{with disable_shared}
 %package -n libsolv0
-Summary:A new approach to package dependency solving
-Group:  Development/Libraries/C and C++
+Summary:Package dependency solver using a satisfiability algorithm
+Group:  System/Libraries
 
 %description -n libsolv0
-A new approach to package dependency solving
+libsolv is a library for solving packages and reading repositories.
+It consists of two central blocks: Using a dictionary approach to
+store and retrieve package and dependency information, and, using a
+so-called satisfiability algorithm for resolving package
+dependencies.
 
 %endif
 %package devel
-Summary:A new approach to package dependency solving
+Summary:Development files for libsolv, a package solver
 Group:  Development/Libraries/C and C++
 %if !%{with disable_shared}
 Requires:   libsolv0 = %version
@@ -128,11 +133,12 @@
 Conflicts:  libsatsolver-devel
 
 %description devel
-Development files for libsolv, a new approach to package dependency solving
+Development files for libsolv, a library for solving packages and
+reading repositories.
 
 %package tools
-Summary:A new approach to package dependency solving
-Group:  Development/Libraries/C and C++
+Summary:Utilities to work with .solv files
+Group:  System/Management
 Obsoletes:  satsolver-tools < 0.18
 Provides:   satsolver-tools = 0.18
 Conflicts:  satsolver-tools-obsolete
@@ -142,7 +148,10 @@
 Requires:   gzip
 
 %description tools
-A new approach to package dependency solving.
+libsolv is a library for solving packages and reading repositories.
+
+This subpackage contains utilities to create and work with the .solv
+files used by libsolv.
 
 %package demo
 Summary:Applications demoing the libsolv library
@@ -164,7 +173,7 @@
 Group:  Development/Languages/Ruby
 
 %description -n ruby-solv
-Ruby bindings for sat solver.
+Ruby bindings for libsolv.
 
 %package -n python-solv
 %if 0%{?py_requires:1} && %{with python_binding}
@@ -174,14 +183,14 @@
 Group:  Development/Languages/Python
 
 %description -n python-solv
-Python bindings for sat solver.
+Python bindings for libsolv.
 
 %package -n python3-solv
 Summary:Python3 bindings for the libsolv library
 Group:  Development/Languages/Python
 
 %description -n python3-solv
-Python3 bindings for sat solver.
+Python3 bindings for libsolv.
 
 %package -n perl-solv
 Requires:   perl = %{perl_version}
@@ -189,13 +198,13 @@
 Group:  Development/Languages/Perl
 
 %description -n perl-solv
-Perl bindings for sat solver.
+Perl 

commit libsolv for openSUSE:Factory

2017-09-21 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-09-21 14:09:36

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Thu Sep 21 14:09:36 2017 rev:59 rq:528038 version:0.6.29

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-09-13 
21:00:07.709206897 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-09-21 
14:09:38.039194753 +0200
@@ -1,0 +2,11 @@
+Thu Sep  7 16:18:20 CEST 2017 - m...@suse.de
+
+- expose solver_get_recommendations in bindings
+- fix bug in solver_prune_to_highest_prio_per_name resulting in
+  bad solver_get_recommendations output
+- support 'without' and 'unless' dependencies
+- fix yumobs rule generation bug
+- Use same heuristic as upstream to determine src rpms
+- bump version to 0.6.29
+
+---

Old:

  libsolv-0.6.28.tar.bz2

New:

  libsolv-0.6.29.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.7CzSHQ/_old  2017-09-21 14:09:38.619113186 +0200
+++ /var/tmp/diff_new_pack.7CzSHQ/_new  2017-09-21 14:09:38.619113186 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.28
+Version:0.6.29
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.28.tar.bz2 -> libsolv-0.6.29.tar.bz2 ++
 21727 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-09-13 21:00:06

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Wed Sep 13 21:00:06 2017 rev:58 rq: version:0.6.28

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-09-12 
19:37:23.342961734 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-09-13 
21:00:07.709206897 +0200
@@ -2,11 +1,0 @@
-Thu Sep  7 16:18:20 CEST 2017 - m...@suse.de
-
-- expose solver_get_recommendations in bindings
-- fix bug in solver_prune_to_highest_prio_per_name resulting in
-  bad solver_get_recommendations output
-- support 'without' and 'unless' dependencies
-- fix yumobs rule generation bug
-- Use same heuristic as upstream to determine src rpms
-- bump version to 0.6.29
-


Old:

  libsolv-0.6.29.tar.bz2

New:

  libsolv-0.6.28.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.rQPjpV/_old  2017-09-13 21:00:08.833048772 +0200
+++ /var/tmp/diff_new_pack.rQPjpV/_new  2017-09-13 21:00:08.833048772 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.29
+Version:0.6.28
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.29.tar.bz2 -> libsolv-0.6.28.tar.bz2 ++
 21500 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-09-12 19:37:21

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Tue Sep 12 19:37:21 2017 rev:57 rq:522371 version:0.6.29

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-07-08 
12:25:55.782135271 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-09-12 
19:37:23.342961734 +0200
@@ -1,0 +2,11 @@
+Thu Sep  7 16:18:20 CEST 2017 - m...@suse.de
+
+- expose solver_get_recommendations in bindings
+- fix bug in solver_prune_to_highest_prio_per_name resulting in
+  bad solver_get_recommendations output
+- support 'without' and 'unless' dependencies
+- fix yumobs rule generation bug
+- Use same heuristic as upstream to determine src rpms
+- bump version to 0.6.29
+
+---

Old:

  libsolv-0.6.28.tar.bz2

New:

  libsolv-0.6.29.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.EkwxNj/_old  2017-09-12 19:37:23.918880798 +0200
+++ /var/tmp/diff_new_pack.EkwxNj/_new  2017-09-12 19:37:23.922880235 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.28
+Version:0.6.29
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.28.tar.bz2 -> libsolv-0.6.29.tar.bz2 ++
 21500 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2017-07-08 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-07-08 12:25:54

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Sat Jul  8 12:25:54 2017 rev:56 rq:507755 version:0.6.28

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-06-17 
10:19:47.882761644 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-07-08 
12:25:55.782135271 +0200
@@ -1,0 +2,9 @@
+Fri Jun 30 16:37:31 CEST 2017 - m...@suse.de
+
+- make peace with newer perl versions
+- fix memory leak in bindings
+- add pool_best_solvables() function
+- fix 64bit integer parsing from RPM headers
+- bump version to 0.6.28
+
+---

Old:

  libsolv-0.6.27.tar.bz2

New:

  libsolv-0.6.28.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.2hE5pJ/_old  2017-07-08 12:25:56.566024695 +0200
+++ /var/tmp/diff_new_pack.2hE5pJ/_new  2017-07-08 12:25:56.570024131 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.27
+Version:0.6.28
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.27.tar.bz2 -> libsolv-0.6.28.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.27/NEWS new/libsolv-0.6.28/NEWS
--- old/libsolv-0.6.27/NEWS 2017-04-26 11:09:06.0 +0200
+++ new/libsolv-0.6.28/NEWS 2017-06-30 16:49:10.0 +0200
@@ -2,6 +2,10 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.28
+- new features:
+  * new pool_best_solvables() function
+
 Version 0.6.27
 - new features:
   * allow building with libxml2 instead of libexpat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.27/VERSION.cmake 
new/libsolv-0.6.28/VERSION.cmake
--- old/libsolv-0.6.27/VERSION.cmake2017-04-26 11:09:06.0 +0200
+++ new/libsolv-0.6.28/VERSION.cmake2017-06-30 16:49:10.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "27")
+SET(LIBSOLV_PATCH "28")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.27/bindings/solv.i 
new/libsolv-0.6.28/bindings/solv.i
--- old/libsolv-0.6.27/bindings/solv.i  2017-05-24 16:34:08.0 +0200
+++ new/libsolv-0.6.28/bindings/solv.i  2017-06-30 14:42:13.0 +0200
@@ -330,7 +330,8 @@
 
 #if defined(SWIGPERL)
 
-/* work around a swig bug */
+/* work around a swig bug for swig versions < 2.0.5 */
+#if SWIG_VERSION < 0x020005
 %{
 #undef SWIG_CALLXS
 #ifdef PERL_OBJECT
@@ -343,6 +344,7 @@
 #  endif
 #endif
 %}
+#endif
 
 
 %define perliter(class)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.27/ext/CMakeLists.txt 
new/libsolv-0.6.28/ext/CMakeLists.txt
--- old/libsolv-0.6.27/ext/CMakeLists.txt   2017-02-23 15:34:06.0 
+0100
+++ new/libsolv-0.6.28/ext/CMakeLists.txt   2017-06-30 16:24:06.0 
+0200
@@ -143,7 +143,7 @@
 SET_TARGET_PROPERTIES(libsolvext PROPERTIES INSTALL_NAME_DIR 
${LIB_INSTALL_DIR})
 
 INSTALL (FILES ${libsolvext_HEADERS} DESTINATION "${INCLUDE_INSTALL_DIR}/solv")
-INSTALL (TARGETS libsolvext LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE 
DESTINATION ${LIB_INSTALL_DIR})
+INSTALL (TARGETS libsolvext LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE 
DESTINATION ${LIB_INSTALL_DIR} RUNTIME DESTINATION bin)
 
 IF (ENABLE_STATIC AND NOT DISABLE_SHARED)
 ADD_LIBRARY (libsolvext_static STATIC ${libsolvext_SRCS})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.27/package/libsolv.changes 
new/libsolv-0.6.28/package/libsolv.changes
--- old/libsolv-0.6.27/package/libsolv.changes  2017-05-30 10:39:07.0 
+0200
+++ new/libsolv-0.6.28/package/libsolv.changes  2017-06-30 16:49:10.0 
+0200
@@ -1,4 +1,13 @@
 ---
+Fri Jun 30 16:37:31 CEST 2017 - m...@suse.de
+
+- make peace with newer perl versions
+- fix memory leak in bindings
+- add pool_best_solvables() function
+- fix 64bit integer parsing from RPM headers
+- bump version to 0.6.28
+
+---
 Sun May 28 13:32:15 UTC 2017 - ngomp...@gmail.com
 
 - Enable complex/rich dependencies for CentOS/RHEL 7, matching how
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit libsolv for openSUSE:Factory

2017-06-17 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-06-17 10:19:46

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Sat Jun 17 10:19:46 2017 rev:55 rq:501414 version:0.6.27

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-05-04 
08:51:31.233370791 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-06-17 
10:19:47.882761644 +0200
@@ -1,0 +2,20 @@
+Sun May 28 13:32:15 UTC 2017 - ngomp...@gmail.com
+
+- Enable complex/rich dependencies for CentOS/RHEL 7, matching how
+  libsolv is configured there.
+
+---
+Thu May 11 12:41:07 UTC 2017 - ngomp...@gmail.com
+
+- Disable bzip2 and xz/lzma compression support for SLE <= 12
+
+---
+Mon May  8 13:15:09 UTC 2017 - ngomp...@gmail.com
+
+- Enable bzip2 and xz/lzma compression support
+- Enable complex/rich dependencies on distributions with RPM 4.13+
+- Simplified CentOS/RHEL conditionals
+- Added Mageia conditionals
+- Fixed a few spec portability issues
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.jY9RAS/_old  2017-06-17 10:19:49.054596341 +0200
+++ /var/tmp/diff_new_pack.jY9RAS/_new  2017-06-17 10:19:49.058595777 +0200
@@ -31,18 +31,32 @@
 %bcond_without ruby_binding
 %bcond_with zypp
 
+%if 0%{?leap_version} >= 420300 || 0%{?sle_version} >= 120300 || 
0%{?suse_version} >= 1330 || !0%{?suse_version}
+%bcond_without bz2
+%bcond_without xz
+%else
+%bcond_with bz2
+%bcond_with xz
+%endif
+
+%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?mageia} >= 6 || 0%{?suse_version} >= 
1330
+%bcond_without richdeps
+%else
+%bcond_with richdeps
+%endif
+
 %if 0%{?mandriva_version}
 # force this version on mandriva
 BuildRequires:  libneon0.26-devel
 %endif
-%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
 BuildRequires:  db-devel
 %endif
 BuildRequires:  libxml2-devel
 %if 0%{?suse_version} && 0%{?suse_version} < 1100
 BuildRequires:  graphviz
 %endif
-%if 0%{?suse_version} > 1020
+%if 0%{?suse_version} > 1020 || 0%{?fedora} || 0%{?mageia}
 BuildRequires:  fdupes
 %endif
 BuildRequires:  cmake
@@ -52,27 +66,42 @@
 
 %if %{with perl_binding}
 BuildRequires:  perl
-%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
 BuildRequires:  perl-devel
 %endif
 BuildRequires:  swig
 %endif
+
 %if %{with ruby_binding}
 %global ruby_vendorarch %(ruby  -r rbconfig -e "puts 
RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : 
RbConfig::CONFIG['vendorarchdir']")
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  swig
 %endif
+
 %if %{with python_binding}
 %global python_sitearch %(python -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
 BuildRequires:  python-devel
 BuildRequires:  swig
 %endif
+
 %if %{with python3_binding}
 %global python3_sitearch %(python3 -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
 BuildRequires:  python3-devel
 %endif
 
+%if %{with bz2}
+%if 0%{?suse_version}
+BuildRequires:  libbz2-devel
+%else
+BuildRequires:  bzip2-devel
+%endif
+%endif
+
+%if %{with xz}
+BuildRequires:  xz-devel
+%endif
+
 Summary:A new approach to package dependency solving
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
@@ -119,7 +148,7 @@
 Summary:Applications demoing the libsolv library
 Group:  System/Management
 Requires:   curl
-%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia}
 Requires:   gnupg2
 %endif
 %if 0%{?suse_version}
@@ -170,8 +199,11 @@
 export CXXFLAGS="$CFLAGS"
 
 CMAKE_FLAGS=
-%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
-CMAKE_FLAGS="-DFEDORA=1"
+%if 0%{?fedora} || 0%{?rhel} >= 6
+CMAKE_FLAGS="-DFEDORA=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1"
+%endif
+%if 0%{?mageia}
+CMAKE_FLAGS="-DMAGEIA=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1"
 %endif
 %if 0%{?suse_version}
 CMAKE_FLAGS="-DSUSE=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1"
@@ -189,10 +221,13 @@
%{?with_python_binding:-DENABLE_PYTHON=1} \
%{?with_python3_binding:-DENABLE_PYTHON3=1} \
%{?with_ruby_binding:-DENABLE_RUBY=1} \
+   %{?with_bz2:-DENABLE_BZIP2_COMPRESSION=1} \
+   

commit libsolv for openSUSE:Factory

2017-05-04 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-05-04 08:51:29

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Thu May  4 08:51:29 2017 rev:54 rq:491630 version:0.6.27

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2017-02-18 
03:16:15.524421576 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-05-04 
08:51:31.233370791 +0200
@@ -1,0 +2,12 @@
+Tue Apr 25 14:11:05 CEST 2017 - m...@suse.de
+
+- change queue resize code to use adaptive chunk sizes
+- fix potential segfault in testcase_depstr [bnc#1036002]
+- fix performance issues with name = md5sum dependencies
+  [bnc#1035946]
+- improve "forcebest with uninstall" handling
+- make dirid handling more robust
+- build with libxml2 instead of libexpat
+- bump version to 0.6.27
+
+---

Old:

  libsolv-0.6.26.tar.bz2

New:

  libsolv-0.6.27.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.WIDv7Z/_old  2017-05-04 08:51:32.309219066 +0200
+++ /var/tmp/diff_new_pack.WIDv7Z/_new  2017-05-04 08:51:32.313218502 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.26
+Version:0.6.27
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -38,21 +38,13 @@
 %if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
 BuildRequires:  db-devel
 %endif
-%if 0%{?suse_version}
-%if 0%{?suse_version} < 1030
-BuildRequires:  expat
-%else
-BuildRequires:  libexpat-devel
-%endif
-%if 0%{?suse_version} < 1100
+BuildRequires:  libxml2-devel
+%if 0%{?suse_version} && 0%{?suse_version} < 1100
 BuildRequires:  graphviz
 %endif
 %if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
 %endif
-%else
-BuildRequires:  expat-devel
-%endif
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  rpm-devel
@@ -190,6 +182,7 @@
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+   -DWITH_LIBXML2=1 \
%{?with_enable_static:-DENABLE_STATIC=1} \
%{?with_disable_shared:-DDISABLE_SHARED=1} \
%{?with_perl_binding:-DENABLE_PERL=1} \

++ libsolv-0.6.26.tar.bz2 -> libsolv-0.6.27.tar.bz2 ++
 6534 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2017-02-17 Thread root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2017-02-18 03:16:14

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-11-25 
12:02:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2017-02-18 
03:16:15.524421576 +0100
@@ -1,0 +2,22 @@
+Wed Feb 15 11:34:59 CET 2017 - m...@suse.de
+
+- export solvable_matchesdep function, as we now use it in
+  the bindings [bnc#1025440]
+- bump version to 0.6.26
+
+---
+Tue Feb  7 13:13:01 CET 2017 - m...@suse.de
+
+- add SOLVABLE_NAME hack for pool_whatmatchesdep and
+  solvable_matchesdep
+- add SOLVER_FLAG_STRONG_RECOMMENDS option
+- add SOLVER_FLAG_INSTALL_ALSO_UPDATES option
+- do not special case release-less provides in sort_by_common_dep
+- solver_problemruleinfo2str: return reason why a package is not
+  installable
+- guard against dirpool_add_dir being called with an illegal
+  component id
+- reject solv files with bad directories
+- bump version to 0.6.25
+
+---

Old:

  libsolv-0.6.24.tar.bz2

New:

  libsolv-0.6.26.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.Tk7djy/_old  2017-02-18 03:16:16.008353228 +0100
+++ /var/tmp/diff_new_pack.Tk7djy/_new  2017-02-18 03:16:16.012352663 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.24
+Version:0.6.26
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -260,7 +260,7 @@
 %{_mandir}/man1/helix2solv*
 %endif
 %{_datadir}/cmake/Modules/*
-%{_libdir}/pkgconfig/libsolv.pc
+%{_libdir}/pkgconfig/libsolv*.pc
 %{_mandir}/man3/*
 
 %files demo

++ libsolv-0.6.24.tar.bz2 -> libsolv-0.6.26.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.24/CMakeLists.txt 
new/libsolv-0.6.26/CMakeLists.txt
--- old/libsolv-0.6.24/CMakeLists.txt   2016-09-09 17:32:18.0 +0200
+++ new/libsolv-0.6.26/CMakeLists.txt   2017-02-13 11:59:05.0 +0100
@@ -58,12 +58,17 @@
 ENDIF (DEFINED  INCLUDE)
 MESSAGE (STATUS "Header files will be installed in ${INCLUDE_INSTALL_DIR}")
 SET (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
+IF (NOT MAN_INSTALL_DIR)
 SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
 IF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/share/man")
   SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man")
 ENDIF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/share/man")
+ENDIF (NOT MAN_INSTALL_DIR)
 MESSAGE(STATUS "Man pages will be installed in ${MAN_INSTALL_DIR}")
 
+IF (NOT PKGCONFIG_INSTALL_DIR)
+  SET (PKGCONFIG_INSTALL_DIR ${LIB_INSTALL_DIR}/pkgconfig)
+ENDIF (NOT PKGCONFIG_INSTALL_DIR)
 
 # CONFIGURATION#
 
@@ -153,6 +158,7 @@
 ENDIF (ENABLE_ARCHREPO)
 
 FIND_PACKAGE (EXPAT REQUIRED)
+INCLUDE_DIRECTORIES (${EXPAT_INCLUDE_DIRS})
 FIND_PACKAGE (ZLIB REQUIRED)
 IF (ENABLE_LZMA_COMPRESSION)
 FIND_PACKAGE (LZMA REQUIRED)
@@ -206,6 +212,9 @@
 IF (DB_LIBRARY)
   SET (RPMDB_LIBRARY ${DB_LIBRARY} ${RPMDB_LIBRARY})
 ENDIF (DB_LIBRARY)
+IF (DB_INCLUDE_DIR)
+  INCLUDE_DIRECTORIES (${DB_INCLUDE_DIR})
+ENDIF (DB_INCLUDE_DIR)
   ENDIF (NOT HAVE_RPM_DB_H)
   INCLUDE (CheckLibraryExists)
   CHECK_LIBRARY_EXISTS(rpmio pgpDigGetParams "" HAVE_PGPDIGGETPARAMS)
@@ -384,9 +393,11 @@
 ENDMACRO (SPECFILE)
 
 MACRO (PCFILE)
-  MESSAGE (STATUS "Writing pkg-config file...")
+  MESSAGE (STATUS "Writing pkg-config files...")
   CONFIGURE_FILE (${CMAKE_SOURCE_DIR}/libsolv.pc.in 
${CMAKE_BINARY_DIR}/libsolv.pc @ONLY)
-  INSTALL( FILES ${CMAKE_BINARY_DIR}/libsolv.pc DESTINATION 
${LIB_INSTALL_DIR}/pkgconfig )
+  INSTALL( FILES ${CMAKE_BINARY_DIR}/libsolv.pc DESTINATION 
${PKGCONFIG_INSTALL_DIR} )
+  CONFIGURE_FILE (${CMAKE_SOURCE_DIR}/libsolvext.pc.in 
${CMAKE_BINARY_DIR}/libsolvext.pc @ONLY)
+  INSTALL( FILES 

commit libsolv for openSUSE:Factory

2016-11-25 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-11-25 12:02:41

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-08-03 
11:37:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-11-25 
12:02:42.0 +0100
@@ -1,0 +2,10 @@
+Thu Nov 10 15:09:25 CET 2016 - m...@suse.de
+
+- make testcase_str2solvid work with ignored packages
+- improve checks against corrupt rpm 
+- add SOLVER_FLAG_FOCUS_BEST solver flag
+- rework susetags multi-line handling [bnc#1007273]
+- build both for python2 and python3
+- bump version to 0.6.24
+
+---

Old:

  libsolv-0.6.23.tar.bz2

New:

  libsolv-0.6.24.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.s4C782/_old  2016-11-25 12:02:43.0 +0100
+++ /var/tmp/diff_new_pack.s4C782/_new  2016-11-25 12:02:43.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.23
+Version:0.6.24
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -27,6 +27,7 @@
 %bcond_without disable_shared
 %bcond_without perl_binding
 %bcond_without python_binding
+%bcond_without python3_binding
 %bcond_without ruby_binding
 %bcond_with zypp
 
@@ -71,10 +72,14 @@
 BuildRequires:  swig
 %endif
 %if %{with python_binding}
-%global python_sitearch %(python -c "from distutils.sysconfig import 
get_python_lib; print get_python_lib(True);")
+%global python_sitearch %(python -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
 BuildRequires:  python-devel
 BuildRequires:  swig
 %endif
+%if %{with python3_binding}
+%global python3_sitearch %(python3 -c "from distutils.sysconfig import 
get_python_lib; print(get_python_lib(True))")
+BuildRequires:  python3-devel
+%endif
 
 Summary:A new approach to package dependency solving
 License:BSD-3-Clause
@@ -150,6 +155,13 @@
 %description -n python-solv
 Python bindings for sat solver.
 
+%package -n python3-solv
+Summary:Python3 bindings for the libsolv library
+Group:  Development/Languages/Python
+
+%description -n python3-solv
+Python3 bindings for sat solver.
+
 %package -n perl-solv
 Requires:   perl = %{perl_version}
 Summary:Perl bindings for the libsolv library
@@ -182,6 +194,7 @@
%{?with_disable_shared:-DDISABLE_SHARED=1} \
%{?with_perl_binding:-DENABLE_PERL=1} \
%{?with_python_binding:-DENABLE_PYTHON=1} \
+   %{?with_python3_binding:-DENABLE_PYTHON3=1} \
%{?with_ruby_binding:-DENABLE_RUBY=1} \
%{?with_zypp:-DENABLE_SUSEREPO=1 -DENABLE_HELIXREPO=1} \
-DUSE_VENDORDIRS=1 \
@@ -190,13 +203,16 @@
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
-%if %{with python_binding}
 %if 0%{?suse_version}
+%if %{with python_binding}
 pushd $RPM_BUILD_ROOT/%{python_sitearch}
 python %py_libdir/py_compile.py *.py
 python -O %py_libdir/py_compile.py *.py
 popd
 %endif
+%if %{with python3_binding}
+%py3_compile $RPM_BUILD_ROOT/%{python3_sitearch}
+%endif
 %endif
 %if %{with disable_shared}
 # we want to leave the .a file untouched
@@ -269,4 +285,13 @@
 %{python_sitearch}/*
 %endif
 
+%if %{with python3_binding}
+%files -n python3-solv
+%defattr(-,root,root)
+%{python3_sitearch}/*solv*
+%if 0%{?suse_version}
+%{python3_sitearch}/*/*solv*
+%endif
+%endif
+
 %changelog

++ libsolv-0.6.23.tar.bz2 -> libsolv-0.6.24.tar.bz2 ++
 4068 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-08-03 11:37:27

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-06-13 
21:51:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-08-03 
11:37:28.0 +0200
@@ -1,0 +2,15 @@
+Fri Jul 22 11:37:23 CEST 2016 - m...@suse.de
+
+- also scan /usr/share/metainfo for appdata files [bnc#989830]
+- support tri-state product-endoflife [fate#320699]
+- take lockstep into account when calculating unneeded packages
+- ignore appplication extensions for now in appdata parser
+  [bnc#984332]
+- add enabled features to solvversion.h
+- take disfavors into account when auto-minimizing for recommended
+  packages
+- change cleandeps code so that it keeps all providers
+- make sure that all repos have different names in a testcase
+- bump version to 0.6.23
+
+---

Old:

  libsolv-0.6.22.tar.bz2

New:

  libsolv-0.6.23.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.waVPwK/_old  2016-08-03 11:37:29.0 +0200
+++ /var/tmp/diff_new_pack.waVPwK/_new  2016-08-03 11:37:29.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.22
+Version:0.6.23
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.22.tar.bz2 -> libsolv-0.6.23.tar.bz2 ++
 2408 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2016-06-13 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-06-13 21:51:00

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-06-05 
14:17:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-06-13 
21:51:01.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun  7 11:24:47 CEST 2016 - m...@suse.de
+
+- fix bug in ignoreinst logic [bnc#983141]
+
+---

Old:

  libsolv-0.6.21.tar.bz2

New:

  libsolv-0.6.22.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.zZ0mWl/_old  2016-06-13 21:51:02.0 +0200
+++ /var/tmp/diff_new_pack.zZ0mWl/_new  2016-06-13 21:51:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.21
+Version:0.6.22
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.21.tar.bz2 -> libsolv-0.6.22.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.21/NEWS new/libsolv-0.6.22/NEWS
--- old/libsolv-0.6.21/NEWS 2016-02-11 17:01:33.0 +0100
+++ new/libsolv-0.6.22/NEWS 2016-06-08 13:26:04.0 +0200
@@ -2,6 +2,26 @@
 This file contains the major changes between
 libsolv versions:
 
+Version 0.6.21
+- new features:
+  * SOLVER_FAVOR and SOLVER_DISFAVOR job types
+- new functions:
+  * selection_make_matchdepid
+  * pool_whatcontainsdep
+  * pool_parserpmrichdep
+
+Version 0.6.20
+- new features:
+  * filter Requires(pre,post) for installed packages
+
+Version 0.6.13:
+- new features:
+  * SOLVER_ALLOWUNINSTALL job type
+  * ordercycle introspection
+- new functions:
+  * transaction_order_get_cycle
+  * transaction_order_get_cycleids
+
 Version 0.6.12:
 - new features:
   * tcl bindings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.21/VERSION.cmake 
new/libsolv-0.6.22/VERSION.cmake
--- old/libsolv-0.6.21/VERSION.cmake2016-05-18 15:16:10.0 +0200
+++ new/libsolv-0.6.22/VERSION.cmake2016-06-08 13:26:04.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "21")
+SET(LIBSOLV_PATCH "22")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.21/ext/repo_rpmdb.c 
new/libsolv-0.6.22/ext/repo_rpmdb.c
--- old/libsolv-0.6.21/ext/repo_rpmdb.c 2016-05-06 14:16:01.0 +0200
+++ new/libsolv-0.6.22/ext/repo_rpmdb.c 2016-06-07 11:06:06.0 +0200
@@ -55,7 +55,8 @@
 /* 4: fixed triggers */
 /* 5: fixed checksum copying */
 /* 6: add SOLVABLE_PREREQ_IGNOREINST support */
-#define RPMDB_COOKIE_VERSION 6
+/* 7: fix bug in ignoreinst logic */
+#define RPMDB_COOKIE_VERSION 7
 
 #define TAG_NAME   1000
 #define TAG_VERSION1001
@@ -588,18 +589,23 @@
   solv_free(n);
   solv_free(v);
   solv_free(f);
-  if (has_ign && ignq->count > 2)
+  if (ignq && ignq->count)
 {
-  Id id, lastid = 0;
-  int j;
-
-  solv_sort(ignq->elements, ignq->count / 2, sizeof(Id) * 2, ignq_sortcmp, 
0);
-  for (i = j = 0; i < ignq->count; i += 2)
+  int j = 0;
+  if (has_ign && ignq->count == 2)
+   j = 1;
+  else if (has_ign)
{
- id = ignq->elements[i];
- if (id != lastid && ignq->elements[i + 1] > 0)
-   ignq->elements[j++] = id;
- lastid = id;
+ Id id, lastid = 0;
+
+ solv_sort(ignq->elements, ignq->count / 2, sizeof(Id) * 2, 
ignq_sortcmp, 0);
+ for (i = j = 0; i < ignq->count; i += 2)
+   {
+ id = ignq->elements[i];
+ if (id != lastid && ignq->elements[i + 1] > 0)
+   ignq->elements[j++] = id;
+ lastid = id;
+   }
}
   queue_truncate(ignq, j);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.21/package/libsolv.changes 
new/libsolv-0.6.22/package/libsolv.changes
--- old/libsolv-0.6.21/package/libsolv.changes  2016-05-20 15:26:11.0 
+0200
+++ new/libsolv-0.6.22/package/libsolv.changes  2016-06-08 13:31:12.0 
+0200
@@ -1,4 +1,9 @@
 ---
+Tue Jun  7 11:24:47 CEST 2016 - m...@suse.de
+
+- fix bug in ignoreinst logic [bnc#983141]
+
+---
 Wed May 18 15:09:56 CEST 2016 - m...@suse.de
 
 - add 

commit libsolv for openSUSE:Factory

2016-06-05 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-06-05 14:17:21

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-04-30 
23:29:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-06-05 
14:17:22.0 +0200
@@ -1,0 +2,15 @@
+Wed May 18 15:09:56 CEST 2016 - m...@suse.de
+
+- add pool->setdisttype to the bindings
+- fix error in repo_deb that could lead to missing packages
+- add reason testing to testcase code
+- add pool_whatcontainsdep, selection_make_matchdepid, and
+  SELECTION_MATCH_DEPSTR
+- add SOLVER_FAVOR and SOLVER_DISFAVOR job types
+- allow unknown archs in pool_setarch
+- add the SOLVER_FLAG_URPM_REORDER solver flag
+- fix segfault in cshash dedup code [bnc#980901]
+- fix supplements handling when implicitobsoleteusescolors is set
+- bump version to 0.6.21
+
+---

Old:

  libsolv-0.6.20.tar.bz2

New:

  libsolv-0.6.21.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.Uxuod3/_old  2016-06-05 14:17:23.0 +0200
+++ /var/tmp/diff_new_pack.Uxuod3/_new  2016-06-05 14:17:23.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.20
+Version:0.6.21
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.20.tar.bz2 -> libsolv-0.6.21.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.20/CMakeLists.txt 
new/libsolv-0.6.21/CMakeLists.txt
--- old/libsolv-0.6.20/CMakeLists.txt   2016-02-11 17:01:33.0 +0100
+++ new/libsolv-0.6.21/CMakeLists.txt   2016-05-18 15:01:17.0 +0200
@@ -57,10 +57,10 @@
 ENDIF (DEFINED  INCLUDE)
 MESSAGE (STATUS "Header files will be installed in ${INCLUDE_INSTALL_DIR}")
 SET (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
-SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man")
-IF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/share/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/man")
-  SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
-ENDIF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/share/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/man")
+SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
+IF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/share/man")
+  SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man")
+ENDIF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man"  AND NOT IS_DIRECTORY 
"${CMAKE_INSTALL_PREFIX}/share/man")
 MESSAGE(STATUS "Man pages will be installed in ${MAN_INSTALL_DIR}")
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.20/VERSION.cmake 
new/libsolv-0.6.21/VERSION.cmake
--- old/libsolv-0.6.20/VERSION.cmake2016-04-08 15:50:47.0 +0200
+++ new/libsolv-0.6.21/VERSION.cmake2016-05-18 15:16:10.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "20")
+SET(LIBSOLV_PATCH "21")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.20/bindings/solv.i 
new/libsolv-0.6.21/bindings/solv.i
--- old/libsolv-0.6.20/bindings/solv.i  2016-04-21 12:11:30.0 +0200
+++ new/libsolv-0.6.21/bindings/solv.i  2016-05-03 16:26:06.0 +0200
@@ -1172,6 +1172,8 @@
   static const Id SOLVER_DROP_ORPHANED = SOLVER_DROP_ORPHANED;
   static const Id SOLVER_USERINSTALLED = SOLVER_USERINSTALLED;
   static const Id SOLVER_ALLOWUNINSTALL = SOLVER_ALLOWUNINSTALL;
+  static const Id SOLVER_FAVOR = SOLVER_FAVOR;
+  static const Id SOLVER_DISFAVOR = SOLVER_DISFAVOR;
   static const Id SOLVER_JOBMASK = SOLVER_JOBMASK;
   static const Id SOLVER_WEAK = SOLVER_WEAK;
   static const Id SOLVER_ESSENTIAL = SOLVER_ESSENTIAL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.20/doc/libsolv-bindings.3 
new/libsolv-0.6.21/doc/libsolv-bindings.3
--- old/libsolv-0.6.20/doc/libsolv-bindings.3   2016-02-11 17:01:33.0 
+0100
+++ new/libsolv-0.6.21/doc/libsolv-bindings.3   2016-05-03 16:26:06.0 
+0200
@@ -1,13 +1,13 @@
 '\" t
 .\" Title: Libsolv-Bindings
 .\"Author: [see the "Author" section]
-.\" Generator: DocBook XSL Stylesheets v1.78.0 
-.\"  Date: 12/14/2015
+.\" Generator: DocBook XSL Stylesheets v1.78.1 

commit libsolv for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-04-30 23:29:00

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-02-22 
08:56:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-04-30 
23:29:01.0 +0200
@@ -1,0 +2,12 @@
+Fri Apr  8 15:36:21 CEST 2016 - m...@suse.de
+
+- Better support of complex deps in pool_match_dep and
+  selection_make_matchdeps
+- make SOLVER_REASON_CLEANDEPS_ERASE introspection reason work again
+- make dep2str use rpm-like output if disttype is rpm
+- implement filtering of Requires(pre,post) for installed packages
+- simplify handling of pseudo package updates [bnc#967006]
+- improve speed of rpmmd metadata parsing
+- bump version to 0.6.20
+
+---

Old:

  libsolv-0.6.19.tar.bz2

New:

  libsolv-0.6.20.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.SfSDC9/_old  2016-04-30 23:29:02.0 +0200
+++ /var/tmp/diff_new_pack.SfSDC9/_new  2016-04-30 23:29:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.19
+Version:0.6.20
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.19.tar.bz2 -> libsolv-0.6.20.tar.bz2 ++
 3281 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2016-02-21 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-02-22 08:56:11

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-02-07 
09:21:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-02-22 
08:56:12.0 +0100
@@ -1,0 +2,7 @@
+Mon Feb 15 16:46:31 CET 2016 - m...@suse.de
+
+- parse media number from baseurl
+- support susedata..xml language files
+- bump version to 0.6.19
+
+---

Old:

  libsolv-0.6.18.tar.bz2

New:

  libsolv-0.6.19.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.o7sXrZ/_old  2016-02-22 08:56:13.0 +0100
+++ /var/tmp/diff_new_pack.o7sXrZ/_new  2016-02-22 08:56:13.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.18
+Version:0.6.19
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.18.tar.bz2 -> libsolv-0.6.19.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.18/VERSION.cmake 
new/libsolv-0.6.19/VERSION.cmake
--- old/libsolv-0.6.18/VERSION.cmake2016-01-29 14:20:43.0 +0100
+++ new/libsolv-0.6.19/VERSION.cmake2016-02-15 16:50:44.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "18")
+SET(LIBSOLV_PATCH "19")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.18/ext/repo_rpmmd.c 
new/libsolv-0.6.19/ext/repo_rpmmd.c
--- old/libsolv-0.6.18/ext/repo_rpmmd.c 2015-07-06 11:05:04.0 +0200
+++ new/libsolv-0.6.19/ext/repo_rpmmd.c 2016-02-11 17:01:33.0 +0100
@@ -776,10 +776,20 @@
   str = find_attr("href", atts);
   if (str)
{
- repodata_set_location(pd->data, handle, 0, 0, str);
- str = find_attr("xml:base", atts);
- if (str)
-   repodata_set_poolstr(pd->data, handle, SOLVABLE_MEDIABASE, str);
+ int medianr = 0;
+ const char *base = find_attr("xml:base", atts);
+ if (base  && !strncmp(base, "media:", 6))
+   {
+ /* check for the media number in the fragment */
+ int l = strlen(base);
+ while (l && base[l - 1] >= '0' && base[l - 1] <= '9')
+   l--;
+ if (l && base[l - 1] == '#' && base[l])
+   medianr = atoi(base + l);
+   }
+ repodata_set_location(pd->data, handle, medianr, 0, str);
+ if (base)
+   repodata_set_poolstr(pd->data, handle, SOLVABLE_MEDIABASE, base);
}
   break;
 case STATE_CHECKSUM:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.18/package/libsolv.changes 
new/libsolv-0.6.19/package/libsolv.changes
--- old/libsolv-0.6.18/package/libsolv.changes  2016-01-29 14:20:43.0 
+0100
+++ new/libsolv-0.6.19/package/libsolv.changes  2016-02-15 16:50:44.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Mon Feb 15 16:46:31 CET 2016 - m...@suse.de
+
+- parse media number from baseurl
+- support susedata..xml language files
+- bump version to 0.6.19
+
+---
 Fri Jan 29 14:17:26 CET 2016 - m...@suse.de
 
 - fix rule generation for linked packages [bnc#961738]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.18/tools/repo2solv.sh 
new/libsolv-0.6.19/tools/repo2solv.sh
--- old/libsolv-0.6.18/tools/repo2solv.sh   2015-07-06 11:05:04.0 
+0200
+++ new/libsolv-0.6.19/tools/repo2solv.sh   2016-02-11 17:01:33.0 
+0100
@@ -28,7 +28,7 @@
   local p=$2
   local f
   if test -n "$t" -a -s repomd.xml ; then
-f=`repomdxml2solv -q $t:location < repomd.xml 2>/dev/null`
+f=`repomdxml2solv -q "$t:location" < repomd.xml 2>/dev/null`
 f=${f##*/}
 if test -f "$f" ; then
   echo "$f"
@@ -44,6 +44,10 @@
   fi
 }
 
+repomd_types() {
+  test -s repomd.xml && repomdxml2solv -q type < repomd.xml
+}
+
 repomd_decompress() {
   case $1 in
*.gz) gzip -dc "$1" ;;
@@ -147,6 +151,17 @@
  if test -f "$susedataxml" ; then
repomd_decompress "$susedataxml"
  fi
+ # all the languages as well
+ for t in `repomd_types` ; do
+   case "$t" in
+   susedata.*)
+   

commit libsolv for openSUSE:Factory

2016-02-07 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-02-07 09:21:32

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2016-01-05 
09:40:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-02-07 
09:21:32.0 +0100
@@ -1,0 +2,7 @@
+Fri Jan 29 14:17:26 CET 2016 - m...@suse.de
+
+- fix rule generation for linked packages [bnc#961738]
+- add hash method in bindings for some classes
+- bump version to 0.6.18
+
+---

Old:

  libsolv-0.6.17.tar.bz2

New:

  libsolv-0.6.18.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.AJLFCh/_old  2016-02-07 09:21:33.0 +0100
+++ /var/tmp/diff_new_pack.AJLFCh/_new  2016-02-07 09:21:33.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.17
+Version:0.6.18
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.17.tar.bz2 -> libsolv-0.6.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.17/VERSION.cmake 
new/libsolv-0.6.18/VERSION.cmake
--- old/libsolv-0.6.17/VERSION.cmake2015-12-22 11:50:56.0 +0100
+++ new/libsolv-0.6.18/VERSION.cmake2016-01-29 14:20:43.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "17")
+SET(LIBSOLV_PATCH "18")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.17/bindings/solv.i 
new/libsolv-0.6.18/bindings/solv.i
--- old/libsolv-0.6.17/bindings/solv.i  2015-09-21 13:50:30.0 +0200
+++ new/libsolv-0.6.18/bindings/solv.i  2016-01-29 14:10:44.0 +0100
@@ -2189,6 +2189,11 @@
   bool __ne__(Repo *repo) {
 return $self != repo;
   }
+#if defined(SWIGPYTHON)
+  int __hash__() {
+return $self->repoid;
+  }
+#endif
 #if defined(SWIGPERL) || defined(SWIGTCL)
   %rename("str") __str__;
 #endif
@@ -2708,6 +2713,11 @@
   bool __ne__(Dep *s) {
 return !Dep___eq__($self, s);
   }
+#if defined(SWIGPYTHON)
+  int __hash__() {
+return $self->id;
+  }
+#endif
 #if defined(SWIGPERL) || defined(SWIGTCL)
   %rename("str") __str__;
 #endif
@@ -2955,6 +2965,11 @@
   bool __ne__(XSolvable *s) {
 return !XSolvable___eq__($self, s);
   }
+#if defined(SWIGPYTHON)
+  int __hash__() {
+return $self->id;
+  }
+#endif
 #if defined(SWIGPERL) || defined(SWIGTCL)
   %rename("str") __str__;
 #endif
@@ -3629,6 +3644,11 @@
   bool __ne__(XRule *xr) {
 return !XRule___eq__($self, xr);
   }
+#if defined(SWIGPYTHON)
+  int __hash__() {
+return $self->id;
+  }
+#endif
 #if defined(SWIGPERL) || defined(SWIGTCL)
   %rename("repr") __repr__;
 #endif
@@ -3754,6 +3774,11 @@
   bool __ne__(XRepodata *xr) {
 return !XRepodata___eq__($self, xr);
   }
+#if defined(SWIGPYTHON)
+  int __hash__() {
+return $self->id;
+  }
+#endif
 #if defined(SWIGPERL) || defined(SWIGTCL)
   %rename("repr") __repr__;
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.17/package/libsolv.changes 
new/libsolv-0.6.18/package/libsolv.changes
--- old/libsolv-0.6.17/package/libsolv.changes  2015-12-22 11:50:56.0 
+0100
+++ new/libsolv-0.6.18/package/libsolv.changes  2016-01-29 14:20:43.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Fri Jan 29 14:17:26 CET 2016 - m...@suse.de
+
+- fix rule generation for linked packages [bnc#961738]
+- add hash method in bindings for some classes
+- bump version to 0.6.18
+
+---
 Tue Dec 22 11:49:02 CET 2015 - m...@suse.de
 
 - fix update handling of multiversion packages [bnc#957606]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.17/src/rules.c 
new/libsolv-0.6.18/src/rules.c
--- old/libsolv-0.6.17/src/rules.c  2015-12-22 11:50:56.0 +0100
+++ new/libsolv-0.6.18/src/rules.c  2016-01-15 16:20:57.0 +0100
@@ -417,6 +417,19 @@
 
 #ifdef ENABLE_LINKED_PKGS

commit libsolv for openSUSE:Factory

2016-01-05 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2016-01-05 09:39:41

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-10-19 
22:15:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2016-01-05 
09:40:31.0 +0100
@@ -1,0 +2,23 @@
+Tue Dec 22 11:49:02 CET 2015 - m...@suse.de
+
+- fix update handling of multiversion packages [bnc#957606]
+- bump version to 0.6.17
+
+---
+Mon Dec 21 12:59:19 CET 2015 - m...@suse.de
+
+- fix orphan handling for dup with keeporphans set [bnc#957606]
+- bump version to 0.6.16
+
+---
+Mon Dec 14 15:48:01 CET 2015 - m...@suse.de
+
+- change product links to also look at timestamps [bnc#956443]
+- rework multiversion orphaned handling [bnc#957606]
+- support key type changes in repodata_internalize()
+- allow serialization of REPOKEY_TYPE_DELETED
+- improve appdata handling of installed packages
+- improve performance when run under xen
+- bump version to 0.6.15
+
+---

Old:

  libsolv-0.6.14.tar.bz2

New:

  libsolv-0.6.17.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.1o4cYV/_old  2016-01-05 09:40:34.0 +0100
+++ /var/tmp/diff_new_pack.1o4cYV/_new  2016-01-05 09:40:34.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.14
+Version:0.6.17
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.14.tar.bz2 -> libsolv-0.6.17.tar.bz2 ++
 3321 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-10-19 22:15:09

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-09-27 
08:38:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-10-19 
22:15:10.0 +0200
@@ -1,0 +2,8 @@
+Mon Oct  5 13:27:25 CEST 2015 - m...@suse.de
+
+- fix bug in recommends handling [bnc#948482]
+- also check installed packages in multiversion handling
+- fix build on Mageia
+- bump version to 0.6.14
+
+---

Old:

  libsolv-0.6.13.tar.bz2

New:

  libsolv-0.6.14.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.TZZ7ez/_old  2015-10-19 22:15:11.0 +0200
+++ /var/tmp/diff_new_pack.TZZ7ez/_new  2015-10-19 22:15:11.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.13
+Version:0.6.14
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.13.tar.bz2 -> libsolv-0.6.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.13/VERSION.cmake 
new/libsolv-0.6.14/VERSION.cmake
--- old/libsolv-0.6.13/VERSION.cmake2015-09-25 12:00:28.0 +0200
+++ new/libsolv-0.6.14/VERSION.cmake2015-10-05 13:35:27.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR "0")
 SET(LIBSOLV_MINOR "6")
-SET(LIBSOLV_PATCH "13")
+SET(LIBSOLV_PATCH "14")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.13/bindings/perl/CMakeLists.txt 
new/libsolv-0.6.14/bindings/perl/CMakeLists.txt
--- old/libsolv-0.6.13/bindings/perl/CMakeLists.txt 2015-07-06 
11:05:04.0 +0200
+++ new/libsolv-0.6.14/bindings/perl/CMakeLists.txt 2015-10-05 
13:15:27.0 +0200
@@ -28,7 +28,7 @@
 LINK_DIRECTORIES (${PERL_CORE_DIR})
 INCLUDE_DIRECTORIES (${PERL_INCLUDE_PATH} ${PERL_CORE_DIR})
 
-ADD_LIBRARY (bindings_perl SHARED solv_perl.c)
+ADD_LIBRARY (bindings_perl MODULE solv_perl.c)
 SET_TARGET_PROPERTIES (bindings_perl PROPERTIES PREFIX "" OUTPUT_NAME "solv")
 SET_TARGET_PROPERTIES (bindings_perl PROPERTIES LINK_FLAGS "${PERL_CCLDFLAGS}")
 TARGET_LINK_LIBRARIES (bindings_perl libsolvext libsolv ${SYSTEM_LIBRARIES})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.13/bindings/python/CMakeLists.txt 
new/libsolv-0.6.14/bindings/python/CMakeLists.txt
--- old/libsolv-0.6.13/bindings/python/CMakeLists.txt   2015-08-04 
14:35:29.0 +0200
+++ new/libsolv-0.6.14/bindings/python/CMakeLists.txt   2015-10-05 
13:15:27.0 +0200
@@ -24,7 +24,7 @@
 ADD_DEFINITIONS(-Wno-unused)
 INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
 
-ADD_LIBRARY (bindings_python SHARED solv_python.c)
+ADD_LIBRARY (bindings_python MODULE solv_python.c)
 SET_TARGET_PROPERTIES (bindings_python PROPERTIES PREFIX "" OUTPUT_NAME 
"_solv")
 TARGET_LINK_LIBRARIES (bindings_python libsolvext libsolv ${SYSTEM_LIBRARIES})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.13/bindings/ruby/CMakeLists.txt 
new/libsolv-0.6.14/bindings/ruby/CMakeLists.txt
--- old/libsolv-0.6.13/bindings/ruby/CMakeLists.txt 2015-07-06 
11:05:04.0 +0200
+++ new/libsolv-0.6.14/bindings/ruby/CMakeLists.txt 2015-10-05 
13:15:27.0 +0200
@@ -19,7 +19,7 @@
 ADD_DEFINITIONS(-Wno-unused)
 INCLUDE_DIRECTORIES (${RUBY_INCLUDE_PATH})
 
-ADD_LIBRARY (bindings_ruby SHARED solv_ruby.c)
+ADD_LIBRARY (bindings_ruby MODULE solv_ruby.c)
 SET_TARGET_PROPERTIES (bindings_ruby PROPERTIES PREFIX "" OUTPUT_NAME "solv")
 TARGET_LINK_LIBRARIES (bindings_ruby libsolvext libsolv ${SYSTEM_LIBRARIES})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.13/examples/solv/solv.c 
new/libsolv-0.6.14/examples/solv/solv.c
--- old/libsolv-0.6.13/examples/solv/solv.c 2015-09-14 15:30:27.0 
+0200
+++ new/libsolv-0.6.14/examples/solv/solv.c 2015-10-05 11:50:28.0 
+0200
@@ -661,7 +661,7 @@
   queue_push2(, SOLVER_ERASE|SOLVER_CLEANDEPS|SOLVER_SOLVABLE_PROVIDES, 
pool_rel2id(pool, NAMESPACE_LANGUAGE, 0, REL_NAMESPACE, 1));
 #endif
 
-#if defined(ENABLE_RPMDB) && (defined(SUSE) || defined(FEDORA))
+#if defined(ENABLE_RPMDB) && (defined(SUSE) || defined(FEDORA) || 
defined(MANDRIVA) || defined(MAGEIA))
 rerunsolver:
 #endif
   solv = solver_create(pool);
diff -urN 

commit libsolv for openSUSE:Factory

2015-09-27 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-09-27 08:39:12

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is "libsolv"

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-06-04 
08:52:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-09-27 
08:38:33.0 +0200
@@ -1,0 +2,21 @@
+Fri Sep 25 11:54:02 CEST 2015 - m...@suse.de
+
+- support a generic string for pattern-visible() [bnc#900769]
+- add a SOLVER_ALLOWUNINSTALL job type
+- add ordercycle introspection
+- fix mkmask handling of a zero size
+- support 'recommends' in repo_mdk.c
+- support filelist parsing in installcheck
+- bump version to 0.6.13
+
+---
+Tue Sep  1 13:37:11 CEST 2015 - m...@suse.de
+
+- added tcl bindings
+- improve debian ar archive handling
+- bindings: set the CLOEXEC flags in xfopen
+- bindings: support testcase writing [bnc#946752]
+- support REL_ELSE as evr of REL_COND
+- bump version to 0.6.12
+
+---

Old:

  libsolv-0.6.11.tar.bz2

New:

  libsolv-0.6.13.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.wgFlVH/_old  2015-09-27 08:38:34.0 +0200
+++ /var/tmp/diff_new_pack.wgFlVH/_new  2015-09-27 08:38:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.11
+Version:0.6.13
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
@@ -35,7 +35,7 @@
 BuildRequires:  libneon0.26-devel
 %endif
 %if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 
600
-BuildRequires:  db4-devel
+BuildRequires:  db-devel
 %endif
 %if 0%{?suse_version}
 %if 0%{?suse_version} < 1030
@@ -170,7 +170,7 @@
 CMAKE_FLAGS="-DFEDORA=1"
 %endif
 %if 0%{?suse_version}
-CMAKE_FLAGS="-DSUSE=1 -DENABLE_APPDATA=1"
+CMAKE_FLAGS="-DSUSE=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1"
 %endif
 
 cmake   $CMAKE_FLAGS \
@@ -244,6 +244,7 @@
 %{_mandir}/man1/helix2solv*
 %endif
 %{_datadir}/cmake/Modules/*
+%{_libdir}/pkgconfig/libsolv.pc
 %{_mandir}/man3/*
 
 %files demo

++ libsolv-0.6.11.tar.bz2 -> libsolv-0.6.13.tar.bz2 ++
 15312 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2015-06-04 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-06-04 08:52:19

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-05-07 
08:28:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-06-04 
08:52:19.0 +0200
@@ -1,0 +2,10 @@
+Tue Jun  2 11:41:10 CEST 2015 - m...@suse.de
+
+- add forgotten sha-512 support to data_skip
+- speed up whatprovides lookup with a new helper array
+- fix dup with allowuninstall
+- improve alreadyinstalled handling of supplements
+- some code cleanup
+- bump version to 0.6.11
+
+---

Old:

  libsolv-0.6.10.tar.bz2

New:

  libsolv-0.6.11.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.7BuqUd/_old  2015-06-04 08:52:20.0 +0200
+++ /var/tmp/diff_new_pack.7BuqUd/_new  2015-06-04 08:52:20.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.10
+Version:0.6.11
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.10.tar.bz2 - libsolv-0.6.11.tar.bz2 ++
 2851 lines of diff (skipped)




commit libsolv for openSUSE:Factory

2015-05-07 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-05-07 08:28:08

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-04-02 
16:02:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-05-07 
08:28:10.0 +0200
@@ -1,0 +2,5 @@
+Sat May  2 11:44:08 UTC 2015 - mrueck...@suse.de
+
+- you really want to use rbconfig there
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.SWI6lP/_old  2015-05-07 08:28:10.0 +0200
+++ /var/tmp/diff_new_pack.SWI6lP/_new  2015-05-07 08:28:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -65,7 +65,7 @@
 BuildRequires:  swig
 %endif
 %if %{with ruby_binding}
-%global ruby_vendorarch %(ruby  -r rbconfig -e puts 
Config::CONFIG['vendorarchdir'].nil? ? Config::CONFIG['sitearchdir'] : 
Config::CONFIG['vendorarchdir'])
+%global ruby_vendorarch %(ruby  -r rbconfig -e puts 
RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : 
RbConfig::CONFIG['vendorarchdir'])
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  swig

++ libsolv-0.6.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.10/bindings/solv.i 
new/libsolv-0.6.10/bindings/solv.i
--- old/libsolv-0.6.10/bindings/solv.i  2015-03-04 13:30:37.0 +0100
+++ new/libsolv-0.6.10/bindings/solv.i  2015-04-07 16:36:13.0 +0200
@@ -2801,6 +2801,7 @@
   static const int SOLVER_FLAG_BREAK_ORPHANS = SOLVER_FLAG_BREAK_ORPHANS;
   static const int SOLVER_FLAG_FOCUS_INSTALLED = SOLVER_FLAG_FOCUS_INSTALLED;
   static const int SOLVER_FLAG_YUM_OBSOLETES = SOLVER_FLAG_YUM_OBSOLETES;
+  static const int SOLVER_FLAG_NEED_UPDATEPROVIDE = 
SOLVER_FLAG_NEED_UPDATEPROVIDE;
 
   static const int SOLVER_REASON_UNRELATED = SOLVER_REASON_UNRELATED;
   static const int SOLVER_REASON_UNIT_RULE = SOLVER_REASON_UNIT_RULE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.10/cmake/modules/FindRuby.cmake 
new/libsolv-0.6.10/cmake/modules/FindRuby.cmake
--- old/libsolv-0.6.10/cmake/modules/FindRuby.cmake 2014-07-01 
11:09:49.0 +0200
+++ new/libsolv-0.6.10/cmake/modules/FindRuby.cmake 2015-05-05 
17:40:56.0 +0200
@@ -112,7 +112,7 @@
_RUBY_CONFIG_VAR(sitelibdir RUBY_SITELIB_DIR)
 
# vendor_ruby available ?
-   EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e print 'true' 
unless Config::CONFIG['vendorarchdir'].nil?
+   EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e print 'true' 
unless RbConfig::CONFIG['vendorarchdir'].nil?
   OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY  ERROR_QUIET)
 
IF(RUBY_HAS_VENDOR_RUBY)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.10/ext/testcase.c 
new/libsolv-0.6.10/ext/testcase.c
--- old/libsolv-0.6.10/ext/testcase.c   2015-03-23 15:16:12.0 +0100
+++ new/libsolv-0.6.10/ext/testcase.c   2015-04-07 16:36:13.0 +0200
@@ -109,6 +109,7 @@
   { SOLVER_FLAG_BREAK_ORPHANS,  breakorphans, 0 },
   { SOLVER_FLAG_FOCUS_INSTALLED,focusinstalled, 0 },
   { SOLVER_FLAG_YUM_OBSOLETES,  yumobsoletes, 0 },
+  { SOLVER_FLAG_NEED_UPDATEPROVIDE, needupdateprovide, 0 },
   { 0, 0, 0 }
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.10/package/libsolv.changes 
new/libsolv-0.6.10/package/libsolv.changes
--- old/libsolv-0.6.10/package/libsolv.changes  2015-03-18 11:11:12.0 
+0100
+++ new/libsolv-0.6.10/package/libsolv.changes  2015-05-05 17:40:56.0 
+0200
@@ -1,4 +1,9 @@
 ---
+Sat May  2 11:44:08 UTC 2015 - mrueck...@suse.de
+
+- you really want to use rbconfig there
+
+---
 Wed Mar 18 11:04:34 CET 2015 - m...@suse.de
 
 - fix bug in dislike_old_versions that could lead to a segfault
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.10/package/libsolv.spec.in 

commit libsolv for openSUSE:Factory

2015-04-02 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-04-02 16:02:01

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-03-16 
06:57:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-04-02 
16:02:02.0 +0200
@@ -1,0 +2,7 @@
+Wed Mar 18 11:04:34 CET 2015 - m...@suse.de
+
+- fix bug in dislike_old_versions that could lead to a segfault
+  [bnc#922352]
+- bump version to 0.6.10
+
+---

Old:

  libsolv-0.6.9.tar.bz2

New:

  libsolv-0.6.10.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.aKIwya/_old  2015-04-02 16:02:02.0 +0200
+++ /var/tmp/diff_new_pack.aKIwya/_new  2015-04-02 16:02:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.9
+Version:0.6.10
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.9.tar.bz2 - libsolv-0.6.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.9/VERSION.cmake 
new/libsolv-0.6.10/VERSION.cmake
--- old/libsolv-0.6.9/VERSION.cmake 2015-03-09 16:50:37.0 +0100
+++ new/libsolv-0.6.10/VERSION.cmake2015-03-18 11:11:12.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 9)
+SET(LIBSOLV_PATCH 10)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.9/doc/libsolv-constantids.3 
new/libsolv-0.6.10/doc/libsolv-constantids.3
--- old/libsolv-0.6.9/doc/libsolv-constantids.3 2014-09-22 17:46:10.0 
+0200
+++ new/libsolv-0.6.10/doc/libsolv-constantids.32015-03-19 
13:26:11.0 +0100
@@ -2,12 +2,12 @@
 .\ Title: Libsolv-Constantids
 .\Author: [see the Author section]
 .\ Generator: DocBook XSL Stylesheets v1.78.0 http://docbook.sf.net/
-.\  Date: 01/21/2014
+.\  Date: 03/19/2015
 .\Manual: LIBSOLV
 .\Source: libsolv
 .\  Language: English
 .\
-.TH LIBSOLV\-CONSTANTIDS 3 01/21/2014 libsolv LIBSOLV
+.TH LIBSOLV\-CONSTANTIDS 3 03/19/2015 libsolv LIBSOLV
 .\ -
 .\ * Define some portability stuff
 .\ -
@@ -89,7 +89,7 @@
 .PP
 \fBSOLVABLE_RECOMMENDS solvable:recommends\fR
 .RS 4
-Stores an array of dependency Ids that describe the capabilities that also 
should be installed when this package is installed\. It\(cqs not an error if 
not all capabilities can be met\.
+Stores an array of dependency Ids that describe the capabilities that also 
should be installed when this package is installed\. It\(cqs not an error if 
not all capabilites can be met\.
 .RE
 .PP
 \fBSOLVABLE_SUGGESTS solvable:suggests\fR
@@ -541,11 +541,6 @@
 .sp
 The dependency markers partition the dependency array in two parts with 
different semantics\.
 .PP
-\fBNAMESPACE_INSTALLED namespace:installed\fR
-.RS 4
-The dependency only selects installed packages\.
-.RE
-.PP
 \fBNAMESPACE_MODALIAS namespace:modalias\fR
 .RS 4
 The dependency is a special modalias dependency that matches installed 
hardware\.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.9/doc/libsolv-constantids.txt 
new/libsolv-0.6.10/doc/libsolv-constantids.txt
--- old/libsolv-0.6.9/doc/libsolv-constantids.txt   2014-07-01 
11:09:49.0 +0200
+++ new/libsolv-0.6.10/doc/libsolv-constantids.txt  2015-03-19 
13:26:11.0 +0100
@@ -400,9 +400,6 @@
 The dependency markers partition the dependency array in two parts with
 different semantics.
 
-*NAMESPACE_INSTALLED namespace:installed*::
-  The dependency only selects installed packages.
-
 *NAMESPACE_MODALIAS namespace:modalias*::
   The dependency is a special modalias dependency that matches installed
   hardware.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.9/ext/repo_deb.c 
new/libsolv-0.6.10/ext/repo_deb.c
--- old/libsolv-0.6.9/ext/repo_deb.c2015-02-25 12:06:00.0 +0100
+++ new/libsolv-0.6.10/ext/repo_deb.c   2015-03-23 12:51:10.0 +0100
@@ -655,7 +655,9 @@
  l = 0;
  if (name  autoinstalled  0)
{
- if ((flags  GET_USERINSTALLED_NAMES) != 0)
+ if ((flags  GET_USERINSTALLED_NAMEARCH) != 0)
+   queue_push2(q, name, arch);
+ 

commit libsolv for openSUSE:Factory

2015-03-15 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-03-16 06:57:54

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2015-01-20 
19:11:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-03-16 
06:57:55.0 +0100
@@ -1,0 +2,12 @@
+Mon Mar  9 16:42:35 CET 2015 - m...@suse.de
+
+- rework splitprovides handling [bnc#921332]
+- improve package choosing code
+- new testcase dependency format
+- add alternatives introspection
+- make reorder_dq_for_jobrules also look at recommends/suggests
+- rework branch handling
+- add parser for rpm rich deps
+- bump version to 0.6.9
+
+---

Old:

  libsolv-0.6.8.tar.bz2

New:

  libsolv-0.6.9.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.oq3ps8/_old  2015-03-16 06:57:56.0 +0100
+++ /var/tmp/diff_new_pack.oq3ps8/_new  2015-03-16 06:57:56.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.8
+Version:0.6.9
 Release:0
 Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.8.tar.bz2 - libsolv-0.6.9.tar.bz2 ++
 2678 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2015-01-20 19:11:38

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-12-21 
12:01:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2015-01-20 
19:11:40.0 +0100
@@ -1,0 +2,6 @@
+Wed Jan 14 08:58:46 CET 2015 - m...@suse.de
+
+- fixes to build with swig 3.0.3
+- bump version to 0.6.8
+
+---

Old:

  libsolv-0.6.7.tar.bz2

New:

  libsolv-0.6.8.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.6jK2hs/_old  2015-01-20 19:11:41.0 +0100
+++ /var/tmp/diff_new_pack.6jK2hs/_new  2015-01-20 19:11:41.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,9 +17,9 @@
 
 
 Name:   libsolv
-Version:0.6.7
+Version:0.6.8
 Release:0
-Url:git://gitorious.org/opensuse/libsolv.git
+Url:https://github.com/openSUSE/libsolv
 Source: libsolv-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 

++ libsolv-0.6.7.tar.bz2 - libsolv-0.6.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.7/VERSION.cmake 
new/libsolv-0.6.8/VERSION.cmake
--- old/libsolv-0.6.7/VERSION.cmake 2014-12-19 11:51:00.0 +0100
+++ new/libsolv-0.6.8/VERSION.cmake 2015-01-14 09:06:00.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 7)
+SET(LIBSOLV_PATCH 8)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.7/bindings/solv.i 
new/libsolv-0.6.8/bindings/solv.i
--- old/libsolv-0.6.7/bindings/solv.i   2014-09-29 11:31:12.0 +0200
+++ new/libsolv-0.6.8/bindings/solv.i   2015-01-14 08:21:01.0 +0100
@@ -1,8 +1,8 @@
-#
-# WARNING: for perl iterator/array support you need to run
-#   sed -i -e 's/SvTYPE(tsv) == SVt_PVHV/SvTYPE(tsv) == SVt_PVHV || 
SvTYPE(tsv) == SVt_PVAV/'
-# on the generated c code
-#
+/*
+ * WARNING: for perl iterator/array support you need to run
+ *   sed -i -e 's/SvTYPE(tsv) == SVt_PVHV/SvTYPE(tsv) == SVt_PVHV || 
SvTYPE(tsv) == SVt_PVAV/'
+ * on the generated c code
+ */
 
 %module solv
 
@@ -10,9 +10,9 @@
 %markfunc Pool mark_Pool;
 #endif
 
-#
-# binaryblob handling
-#
+/*
+ * binaryblob handling
+ */
 
 %{
 typedef struct {
@@ -131,10 +131,10 @@
 queue_push($1, v);
   }
 }
-# AV *o = newAV();
-# av_push(o, SvREFCNT_inc(SWIG_From_int($1.elements[i])));
-# $result = newRV_noinc((SV*)o); argvi++;
-#
+/* AV *o = newAV();
+ * av_push(o, SvREFCNT_inc(SWIG_From_int($1.elements[i])));
+ * $result = newRV_noinc((SV*)o); argvi++;
+ */
 %typemap(out) Queue {
   int i;
   if (argvi + $1.count + 1 = items) {
@@ -233,7 +233,7 @@
 
 #if defined(SWIGPERL)
 
-# work around a swig bug
+/* work around a swig bug */
 %{
 #undef SWIG_CALLXS
 #ifdef PERL_OBJECT
@@ -628,7 +628,7 @@
 
 %include knownid.h
 
-# from repodata.h
+/* from repodata.h */
 %constant Id SOLVID_META;
 %constant Id SOLVID_POS;
 
@@ -646,7 +646,7 @@
   Id const id;
 } Dep;
 
-# put before pool/repo so we can access the constructor
+/* put before pool/repo so we can access the constructor */
 %nodefaultdtor Dataiterator;
 typedef struct {} Dataiterator;
 
@@ -1627,7 +1627,7 @@
   bool write(FILE *fp) {
 return repo_write($self, fp) == 0;
   }
-  # HACK, remove if no longer needed!
+  /* HACK, remove if no longer needed! */
   bool write_first_repodata(FILE *fp) {
 int oldnrepodata = $self-nrepodata;
 int res;
@@ -2923,7 +2923,7 @@
 return q;
   }
 
-  # deprecated, use newsolvables instead
+  /* deprecated, use newsolvables instead */
   %typemap(out) Queue newpackages Queue2Array(XSolvable *, 1, 
new_XSolvable(arg1-pool, id));
   %newobject newpackages;
   Queue newpackages() {
@@ -2935,7 +2935,7 @@
 return q;
   }
 
-  # deprecated, use keptsolvables instead
+  /* deprecated, use keptsolvables instead */
   %typemap(out) Queue keptpackages Queue2Array(XSolvable *, 1, 
new_XSolvable(arg1-pool, id));
   %newobject keptpackages;
   Queue keptpackages() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit libsolv for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-12-21 12:02:08

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-10-14 
07:09:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-12-21 
12:01:02.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 19 08:59:27 CET 2014 - m...@suse.de
+
+- add product:regflavor attribute [bnc#896224]
+- bump version to 0.6.7
+
+---

Old:

  libsolv-0.6.6.tar.bz2

New:

  libsolv-0.6.7.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.wWX33m/_old  2014-12-21 12:01:03.0 +0100
+++ /var/tmp/diff_new_pack.wWX33m/_new  2014-12-21 12:01:03.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.6
+Version:0.6.7
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.6.tar.bz2 - libsolv-0.6.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.6/CMakeLists.txt 
new/libsolv-0.6.7/CMakeLists.txt
--- old/libsolv-0.6.6/CMakeLists.txt2014-09-22 17:46:10.0 +0200
+++ new/libsolv-0.6.7/CMakeLists.txt2014-11-07 16:25:42.0 +0100
@@ -129,7 +129,6 @@
 
 IF (${have_system} STREQUAL x)
 MESSAGE (STATUS Building for no system)
-ADD_DEFINITIONS (-DNOSYSTEM)
 ENDIF (${have_system} STREQUAL x)
 IF (${have_system} STRGREATER xx)
 MESSAGE (FATAL_ERROR Can only compile for one system type.)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.6/VERSION.cmake 
new/libsolv-0.6.7/VERSION.cmake
--- old/libsolv-0.6.6/VERSION.cmake 2014-10-07 14:46:09.0 +0200
+++ new/libsolv-0.6.7/VERSION.cmake 2014-12-19 11:51:00.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 6)
+SET(LIBSOLV_PATCH 7)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.6/examples/CMakeLists.txt 
new/libsolv-0.6.7/examples/CMakeLists.txt
--- old/libsolv-0.6.6/examples/CMakeLists.txt   2014-07-01 11:09:49.0 
+0200
+++ new/libsolv-0.6.7/examples/CMakeLists.txt   2014-11-07 16:25:42.0 
+0100
@@ -1,6 +1,10 @@
+IF (SUSE OR FEDORA OR DEBIAN)
+
 ADD_EXECUTABLE (solv solv.c)
 TARGET_LINK_LIBRARIES (solv libsolvext libsolv ${SYSTEM_LIBRARIES})
 
 INSTALL(TARGETS
 solv
 DESTINATION ${BIN_INSTALL_DIR})
+
+ENDIF (SUSE OR FEDORA OR DEBIAN)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.6/examples/solv.c 
new/libsolv-0.6.7/examples/solv.c
--- old/libsolv-0.6.6/examples/solv.c   2014-09-16 10:56:09.0 +0200
+++ new/libsolv-0.6.7/examples/solv.c   2014-11-07 16:25:42.0 +0100
@@ -216,7 +216,6 @@
 #define TYPE_PLAINDIR  3
 #define TYPE_DEBIAN 4
 
-#ifndef NOSYSTEM
 static int
 read_repoinfos_sort(const void *ap, const void *bp)
 {
@@ -224,7 +223,6 @@
   const struct repoinfo *b = bp;
   return strcmp(a-alias, b-alias);
 }
-#endif
 
 #if defined(SUSE) || defined(FEDORA)
 
@@ -478,15 +476,6 @@
 
 #endif
 
-#ifdef NOSYSTEM
-struct repoinfo *
-read_repoinfos(Pool *pool, int *nrepoinfosp)
-{
-  *nrepoinfosp = 0;
-  return 0;
-}
-#endif
-
 
 void
 free_repoinfos(struct repoinfo *repoinfos, int nrepoinfos)
@@ -1733,6 +1722,7 @@
 #endif
 
   repo = repo_create(pool, @System);
+  memset(stb, 0, sizeof(stb));
 #if defined(ENABLE_RPMDB)  (defined(SUSE) || defined(FEDORA))
   printf(rpm database:);
   if (stat(pool_prepend_rootdir_tmp(pool, /var/lib/rpm/Packages), stb))
@@ -1743,10 +1733,6 @@
   if (stat(pool_prepend_rootdir_tmp(pool, /var/lib/dpkg/status), stb))
 memset(stb, 0, sizeof(stb));
 #endif
-#ifdef NOSYSTEM
-  printf(no installed database:);
-  memset(stb, 0, sizeof(stb));
-#endif
   calc_checksum_stat(stb, REPOKEY_TYPE_SHA256, 0, installedcookie);
   if (usecachedrepo(repo, 0, installedcookie, 0))
 printf( cached\n);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.6/ext/repo_autopattern.c 
new/libsolv-0.6.7/ext/repo_autopattern.c
--- old/libsolv-0.6.6/ext/repo_autopattern.c2014-07-01 11:09:49.0 
+0200
+++ new/libsolv-0.6.7/ext/repo_autopattern.c2014-12-19 11:51:00.0 
+0100
@@ -377,6 +377,8 @@
repodata_set_str(data, s2 - pool-solvables, PRODUCT_SHORTLABEL, 
newname);
  else if 

commit libsolv for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-10-14 07:09:01

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-09-17 
17:42:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-10-14 
07:09:04.0 +0200
@@ -1,0 +2,9 @@
+Tue Oct  7 14:39:23 CEST 2014 - m...@suse.de
+
+- fix bug in reorder_dq_for_jobrules leading to crashes
+  [bnc#899907]
+- rename rpm rules to pkg rules
+- add manpages for the tools
+- bump version to 0.6.6
+
+---

Old:

  libsolv-0.6.5.tar.bz2

New:

  libsolv-0.6.6.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.jHAbPN/_old  2014-10-14 07:09:05.0 +0200
+++ /var/tmp/diff_new_pack.jHAbPN/_new  2014-10-14 07:09:05.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.5
+Version:0.6.6
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2
@@ -95,7 +95,6 @@
 %package devel
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
-Requires:   libsolv-tools = %version
 %if !%{with disable_shared}
 Requires:   libsolv0 = %version
 %endif
@@ -223,9 +222,11 @@
 %defattr(-,root,root)
 %if 0%{?suse_version}
 %exclude %{_bindir}/helix2solv
+%exclude %{_mandir}/man1/helix2solv*
 %endif
 %exclude %{_bindir}/solv
 %{_bindir}/*
+%{_mandir}/man1/*
 
 %files devel
 %defattr(-,root,root)
@@ -240,9 +241,10 @@
 %{_includedir}/solv
 %if 0%{?suse_version}
 %{_bindir}/helix2solv
+%{_mandir}/man1/helix2solv*
 %endif
 %{_datadir}/cmake/Modules/*
-%{_mandir}/man?/*
+%{_mandir}/man3/*
 
 %files demo
 %defattr(-,root,root)

++ libsolv-0.6.5.tar.bz2 - libsolv-0.6.6.tar.bz2 ++
 3219 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-09-17 17:41:57

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-07-16 
16:49:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-09-17 
17:42:13.0 +0200
@@ -1,0 +2,11 @@
+Thu Sep 11 17:33:04 CEST 2014 - m...@suse.de
+
+- support DUCHANGES_ONLYADD flag in diskusage calculation
+  [bnc#783100]
+- add whatmatchesdep to bindings
+- support pool-considered in testcases
+- always call selection_filelist if SELECTION_FILELIST is set
+- support yum style obsolete handling for package splits
+- bump version to 0.6.5
+
+---

Old:

  libsolv-0.6.4.tar.bz2

New:

  libsolv-0.6.5.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.T4nOev/_old  2014-09-17 17:42:13.0 +0200
+++ /var/tmp/diff_new_pack.T4nOev/_new  2014-09-17 17:42:13.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.4
+Version:0.6.5
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.4.tar.bz2 - libsolv-0.6.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.4/VERSION.cmake 
new/libsolv-0.6.5/VERSION.cmake
--- old/libsolv-0.6.4/VERSION.cmake 2014-07-08 14:16:15.0 +0200
+++ new/libsolv-0.6.5/VERSION.cmake 2014-09-16 10:56:09.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 4)
+SET(LIBSOLV_PATCH 5)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.4/bindings/solv.i 
new/libsolv-0.6.5/bindings/solv.i
--- old/libsolv-0.6.4/bindings/solv.i   2014-07-01 11:09:49.0 +0200
+++ new/libsolv-0.6.5/bindings/solv.i   2014-09-05 15:41:25.0 +0200
@@ -1397,6 +1397,15 @@
 return pool_queuetowhatprovides($self, q);
   }
 
+  %typemap(out) Queue whatmatchesdep Queue2Array(XSolvable *, 1, 
new_XSolvable(arg1, id));
+  %newobject whatmatchesdep;
+  Queue whatmatchesdep(Id keyname, DepId dep, Id marker = -1) {
+Queue q;
+queue_init(q);
+pool_whatmatchesdep($self, keyname, dep, q, marker);
+return q;
+  }
+
 #ifdef SWIGRUBY
   %rename(isknownarch?) isknownarch;
 #endif
@@ -2769,6 +2778,7 @@
   static const int SOLVER_FLAG_KEEP_ORPHANS = SOLVER_FLAG_KEEP_ORPHANS;
   static const int SOLVER_FLAG_BREAK_ORPHANS = SOLVER_FLAG_BREAK_ORPHANS;
   static const int SOLVER_FLAG_FOCUS_INSTALLED = SOLVER_FLAG_FOCUS_INSTALLED;
+  static const int SOLVER_FLAG_YUM_OBSOLETES = SOLVER_FLAG_YUM_OBSOLETES;
 
   static const int SOLVER_REASON_UNRELATED = SOLVER_REASON_UNRELATED;
   static const int SOLVER_REASON_UNIT_RULE = SOLVER_REASON_UNIT_RULE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.4/examples/solv.c 
new/libsolv-0.6.5/examples/solv.c
--- old/libsolv-0.6.4/examples/solv.c   2014-07-01 11:09:49.0 +0200
+++ new/libsolv-0.6.5/examples/solv.c   2014-09-16 10:56:09.0 +0200
@@ -2464,6 +2464,7 @@
   int i;
 
   /* XXX: use mountpoints here */
+  memset(duc, 0, sizeof(duc));
   duc[0].path = /;
   duc[1].path = /usr/share/man;
   duc[2].path = /sbin;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.4/ext/repo_arch.c 
new/libsolv-0.6.5/ext/repo_arch.c
--- old/libsolv-0.6.4/ext/repo_arch.c   2014-07-01 11:09:49.0 +0200
+++ new/libsolv-0.6.5/ext/repo_arch.c   2014-07-25 17:56:13.0 +0200
@@ -294,13 +294,13 @@
   char *p;
   Id id;
 
-  while (*line == ' '  *line == '\t')
+  while (*line == ' ' || *line == '\t')
 line++;
   p = line;
   while (*p  *p != ' '  *p != '\t'  *p != ''  *p != '='  *p != '')
 p++;
   id = pool_strn2id(pool, line, p - line, 1);
-  while (*p == ' '  *p == '\t')
+  while (*p == ' ' || *p == '\t')
 p++;
   if (*p == '' || *p == '=' || *p == '')
 {
@@ -316,7 +316,7 @@
  else
break;
}
-  while (*p == ' '  *p == '\t')
+  while (*p == ' ' || *p == '\t')
 p++;
   line = p;
   while (*p  *p != ' '  *p != '\t')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.4/ext/testcase.c 
new/libsolv-0.6.5/ext/testcase.c
--- old/libsolv-0.6.4/ext/testcase.c2014-07-01 11:09:49.0 +0200
+++ 

commit libsolv for openSUSE:Factory

2014-07-16 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-07-16 16:49:15

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-06-23 
11:06:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-07-16 
16:49:17.0 +0200
@@ -1,0 +2,9 @@
+Tue Jul  8 14:13:40 CEST 2014 - m...@suse.de
+
+- expand solver_identical fix to applications [bnc#885830]
+- fix instbuddy generation code
+- improve autominimizing implementation to also look at
+  supplements
+- bump version to 0.6.4
+
+---

Old:

  libsolv-0.6.3.tar.bz2

New:

  libsolv-0.6.4.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.WUBjgq/_old  2014-07-16 16:49:18.0 +0200
+++ /var/tmp/diff_new_pack.WUBjgq/_new  2014-07-16 16:49:18.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.3
+Version:0.6.4
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.3.tar.bz2 - libsolv-0.6.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.3/VERSION.cmake 
new/libsolv-0.6.4/VERSION.cmake
--- old/libsolv-0.6.3/VERSION.cmake 2014-06-13 12:21:20.0 +0200
+++ new/libsolv-0.6.4/VERSION.cmake 2014-07-08 14:16:15.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 3)
+SET(LIBSOLV_PATCH 4)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.3/bindings/solv.i 
new/libsolv-0.6.4/bindings/solv.i
--- old/libsolv-0.6.3/bindings/solv.i   2014-05-15 14:50:50.0 +0200
+++ new/libsolv-0.6.4/bindings/solv.i   2014-07-01 11:09:49.0 +0200
@@ -497,6 +497,9 @@
 #ifdef ENABLE_ARCHREPO
 #include repo_arch.h
 #endif
+#ifdef SUSE
+#include repo_autopattern.h
+#endif
 #include solv_xfopen.h
 
 /* for old ruby versions */
@@ -1604,6 +1607,11 @@
 return new_XSolvable($self-pool, repo_add_arch_pkg($self, name, flags));
   }
 #endif
+#ifdef SUSE
+  bool add_autopattern(int flags = 0) {
+return repo_add_autopattern($self, flags) == 0;
+  }
+#endif
   void internalize() {
 repo_internalize($self);
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.3/package/libsolv.changes 
new/libsolv-0.6.4/package/libsolv.changes
--- old/libsolv-0.6.3/package/libsolv.changes   2014-06-13 12:21:20.0 
+0200
+++ new/libsolv-0.6.4/package/libsolv.changes   2014-07-08 14:16:15.0 
+0200
@@ -1,4 +1,13 @@
 ---
+Tue Jul  8 14:13:40 CEST 2014 - m...@suse.de
+
+- expand solver_identical fix to applications [bnc#885830]
+- fix instbuddy generation code
+- improve autominimizing implementation to also look at
+  supplements
+- bump version to 0.6.4
+
+---
 Fri Jun 13 08:28:12 CEST 2014 - m...@suse.de
 
 - quick fix for [bnc#881320]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.3/src/policy.c 
new/libsolv-0.6.4/src/policy.c
--- old/libsolv-0.6.3/src/policy.c  2014-04-07 13:50:11.0 +0200
+++ new/libsolv-0.6.4/src/policy.c  2014-07-01 11:09:49.0 +0200
@@ -331,34 +331,14 @@
 
 #endif
 
-/*
- * prune to recommended/suggested packages.
- * does not prune installed packages (they are also somewhat recommended).
- */
 
-static void
-prune_to_recommended(Solver *solv, Queue *plist)
+void
+policy_update_recommendsmap(Solver *solv)
 {
   Pool *pool = solv-pool;
-  int i, j, k, ninst;
   Solvable *s;
   Id p, pp, rec, *recp, sug, *sugp;
 
-  ninst = 0;
-  if (pool-installed)
-{
-  for (i = 0; i  plist-count; i++)
-   {
- p = plist-elements[i];
- s = pool-solvables + p;
- if (pool-installed  s-repo == pool-installed)
-   ninst++;
-   }
-}
-  if (plist-count - ninst  2)
-return;
-
-  /* update our recommendsmap/suggestsmap */
   if (solv-recommends_index  0)
 {
   MAPZERO(solv-recommendsmap);
@@ -424,6 +404,38 @@
}
}
 }
+}
+
+/*
+ * prune to recommended/suggested packages.
+ * does not prune installed packages (they are also somewhat recommended).
+ */
+
+static void
+prune_to_recommended(Solver *solv, Queue *plist)
+{
+  Pool *pool = solv-pool;
+  int i, 

commit libsolv for openSUSE:Factory

2014-06-23 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-06-23 11:06:18

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-04-25 
11:33:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-06-23 
11:06:23.0 +0200
@@ -1,0 +2,12 @@
+Fri Jun 13 08:28:12 CEST 2014 - m...@suse.de
+
+- quick fix for [bnc#881320]
+- bump version to 0.6.3
+
+---
+Fri Jun  6 11:37:00 CEST 2014 - m...@suse.de
+
+- Provide PRODUCT_REGISTER_TARGET for available products [bnc#881320]
+- bump version to 0.6.2
+
+---

Old:

  libsolv-0.6.1.tar.bz2

New:

  libsolv-0.6.3.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.6Af8Ko/_old  2014-06-23 11:06:24.0 +0200
+++ /var/tmp/diff_new_pack.6Af8Ko/_new  2014-06-23 11:06:24.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.1
+Version:0.6.3
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.1.tar.bz2 - libsolv-0.6.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.1/VERSION.cmake 
new/libsolv-0.6.3/VERSION.cmake
--- old/libsolv-0.6.1/VERSION.cmake 2014-04-17 14:50:44.0 +0200
+++ new/libsolv-0.6.3/VERSION.cmake 2014-06-13 12:21:20.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 1)
+SET(LIBSOLV_PATCH 3)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.1/bindings/solv.i 
new/libsolv-0.6.3/bindings/solv.i
--- old/libsolv-0.6.1/bindings/solv.i   2014-04-08 11:45:12.0 +0200
+++ new/libsolv-0.6.3/bindings/solv.i   2014-05-15 14:50:50.0 +0200
@@ -2758,6 +2758,9 @@
   static const int SOLVER_FLAG_DUP_ALLOW_ARCHCHANGE = 
SOLVER_FLAG_DUP_ALLOW_ARCHCHANGE;
   static const int SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE = 
SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE;
   static const int SOLVER_FLAG_DUP_ALLOW_NAMECHANGE = 
SOLVER_FLAG_DUP_ALLOW_NAMECHANGE;
+  static const int SOLVER_FLAG_KEEP_ORPHANS = SOLVER_FLAG_KEEP_ORPHANS;
+  static const int SOLVER_FLAG_BREAK_ORPHANS = SOLVER_FLAG_BREAK_ORPHANS;
+  static const int SOLVER_FLAG_FOCUS_INSTALLED = SOLVER_FLAG_FOCUS_INSTALLED;
 
   static const int SOLVER_REASON_UNRELATED = SOLVER_REASON_UNRELATED;
   static const int SOLVER_REASON_UNIT_RULE = SOLVER_REASON_UNIT_RULE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.1/doc/libsolv-bindings.txt 
new/libsolv-0.6.3/doc/libsolv-bindings.txt
--- old/libsolv-0.6.1/doc/libsolv-bindings.txt  2014-04-04 14:10:12.0 
+0200
+++ new/libsolv-0.6.3/doc/libsolv-bindings.txt  2014-05-15 14:50:50.0 
+0200
@@ -2081,6 +2081,21 @@
 Do not enable auto-targeting up update and distupgrade jobs. See
 the section on targeted updates for more information.
 
+*SOLVER_FLAG_KEEP_ORPHANS*::
+Do not allow orphaned packages to be deinstalled if they get
+in the way of resolving other packages.
+
+*SOLVER_FLAG_BREAK_ORPHANS*::
+Ignore dependencies of orphaned packages that get in the way
+of resolving non-orphaned ones. Setting the flag might result
+in no longer working packages in case they are orphaned.
+
+*SOLVER_FLAG_FOCUS_INSTALLED*::
+Resolve installed packages before resolving the given job.
+Setting this flag means that the solver will prefer picking
+a package version that fits the other installed packages
+over updating installed packages.
+
 Basic rule types:
 
 *SOLVER_RULE_UNKNOWN*::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.1/ext/repo_appdata.c 
new/libsolv-0.6.3/ext/repo_appdata.c
--- old/libsolv-0.6.1/ext/repo_appdata.c2014-04-17 11:25:45.0 
+0200
+++ new/libsolv-0.6.3/ext/repo_appdata.c2014-05-16 16:55:50.0 
+0200
@@ -436,6 +436,7 @@
 case STATE_PKGNAME:
   id = pool_str2id(pd-pool, pd-content, 1);
   s-requires = repo_addid_dep(pd-repo, s-requires, id, 0);
+  break;
 case STATE_KEYWORD:
   repodata_add_poolstr_array(pd-data, pd-handle, SOLVABLE_KEYWORDS, 
pd-content);
   break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.1/ext/repo_autopattern.c 
new/libsolv-0.6.3/ext/repo_autopattern.c
--- 

commit libsolv for openSUSE:Factory

2014-04-25 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-04-25 11:33:40

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-04-13 
13:13:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-04-25 
11:33:41.0 +0200
@@ -1,0 +2,9 @@
+Thu Apr 17 14:47:42 CEST 2014 - m...@suse.de
+
+- support BREAK_ORPHANS and KEEP_ORPHANS solver flags
+- adapt to AppStream 0.6
+- reduce memory usage in repo_write and repodata_internalize
+- make repodata_stringify return the result string
+- bump version to 0.6.1
+
+---

Old:

  libsolv-0.6.0.tar.bz2

New:

  libsolv-0.6.1.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.aZtVY8/_old  2014-04-25 11:33:42.0 +0200
+++ /var/tmp/diff_new_pack.aZtVY8/_new  2014-04-25 11:33:42.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.6.0
+Version:0.6.1
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.6.0.tar.bz2 - libsolv-0.6.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.0/VERSION.cmake 
new/libsolv-0.6.1/VERSION.cmake
--- old/libsolv-0.6.0/VERSION.cmake 2014-04-07 15:45:11.0 +0200
+++ new/libsolv-0.6.1/VERSION.cmake 2014-04-17 14:50:44.0 +0200
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 6)
-SET(LIBSOLV_PATCH 0)
+SET(LIBSOLV_PATCH 1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.0/ext/repo_appdata.c 
new/libsolv-0.6.1/ext/repo_appdata.c
--- old/libsolv-0.6.0/ext/repo_appdata.c2014-03-05 15:50:54.0 
+0100
+++ new/libsolv-0.6.1/ext/repo_appdata.c2014-04-17 11:25:45.0 
+0200
@@ -62,7 +62,9 @@
 /* !! must be sorted by first column !! */
 static struct stateswitch stateswitches[] = {
   { STATE_START,   applications,  STATE_START, 0 },
+  { STATE_START,   components,STATE_START, 0 },
   { STATE_START,   application,   STATE_APPLICATION,   0 },
+  { STATE_START,   component, STATE_APPLICATION,   0 },
   { STATE_APPLICATION, id,STATE_ID,1 },
   { STATE_APPLICATION, pkgname,   STATE_PKGNAME,   1 },
   { STATE_APPLICATION, product_license, STATE_LICENCE, 1 },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.0/ext/repo_content.c 
new/libsolv-0.6.1/ext/repo_content.c
--- old/libsolv-0.6.0/ext/repo_content.c2014-03-12 15:35:49.0 
+0100
+++ new/libsolv-0.6.1/ext/repo_content.c2014-04-16 14:00:44.0 
+0200
@@ -408,7 +408,6 @@
}
  /* create new solvable */
  s = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, s - pool-solvables);
  handle = s - pool-solvables;
  s-name = pool_str2id(pool, join(pd, product, :, value), 1);
  if (datadir)
@@ -425,7 +424,6 @@
  if (!s)
{
  s = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, s - pool-solvables);
  handle = s - pool-solvables;
}
 
@@ -546,7 +544,6 @@
   for (i = 0; i  numotherarchs; ++i)
{
  Solvable *p = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, p - pool-solvables);
  p-name = s-name;
  p-evr = s-evr;
  p-vendor = s-vendor;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.6.0/ext/repo_rpmdb.c 
new/libsolv-0.6.1/ext/repo_rpmdb.c
--- old/libsolv-0.6.0/ext/repo_rpmdb.c  2014-04-07 13:07:13.0 +0200
+++ new/libsolv-0.6.1/ext/repo_rpmdb.c  2014-04-15 18:15:59.0 +0200
@@ -1045,6 +1045,7 @@
   DB_ENV *dbenv;   /* database environment */
   DB *db;  /* packages database */
   int byteswapped; /* endianess of packages database */
+  int is_ostree;   /* read-only db that lives in /usr/share/rpm */
 };
 
 struct rpmdbentry {
@@ -1135,6 +1136,10 @@
   snprintf(dbpath, PATH_MAX, %s/var/lib/rpm, rootdir ? rootdir : );
   if (access(dbpath, W_OK) == -1)
 {
+  snprintf(dbpath, PATH_MAX, %s/usr/share/rpm/Packages, rootdir ? 
rootdir : );
+  if (access(dbpath, R_OK) == 0)
+   state-is_ostree = 1;
+  

commit libsolv for openSUSE:Factory

2014-04-13 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-04-13 13:13:24

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-02-28 
16:25:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-04-13 
13:13:36.0 +0200
@@ -1,0 +2,22 @@
+Mon Apr  7 15:36:07 CEST 2014 - m...@suse.de
+
+- add support for sha224/sha384/sha512
+- add userinstalled helper functions
+- improve dataiterator bindings (in an incompatible way)
+- automatically free pool in bindings
+- bump version to 0.6.0 (ABI + bindings API breakage)
+
+---
+Wed Mar 26 15:08:46 CET 2014 - m...@suse.de
+
+- fix handling of packages with no update/feature rule [bnc#870195]
+- fix crash when in internalize() when the schemadata gets
+  reallocated
+- fix access to uninitialized memory in repo_empty()
+- a couple of optimizations
+- support REPOKEYWORDS in content parser
+- bindings: don't let str(Datamatch) change the strings
+- fix basename optimization for STRINGEND
+- bump version to 0.5.1
+
+---

Old:

  libsolv-0.5.0.tar.bz2

New:

  libsolv-0.6.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.i7ejM2/_old  2014-04-13 13:13:37.0 +0200
+++ /var/tmp/diff_new_pack.i7ejM2/_new  2014-04-13 13:13:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.5.0
+Version:0.6.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.5.0.tar.bz2 - libsolv-0.6.0.tar.bz2 ++
 5167 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2014-02-28 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-02-28 16:25:13

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-02-16 
09:10:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-02-28 
16:25:14.0 +0100
@@ -1,0 +2,17 @@
+Wed Feb 26 15:08:35 CET 2014 - m...@suse.de
+
+- improve appdata.xml parsing [bnc#865293]
+- repo_helix: parse application elements
+- bump version to 0.5.0
+
+---
+Fri Feb 21 16:23:58 CET 2014 - m...@suse.de
+
+- fix bug in solver_get_unneeded that could lead to an
+  endless loop [bnc#828764]
+- adapt to new rpm tags for weak dependencies
+- fix pseudo packages obsoleting other pseudo packages
+- optimize unfulfilled rule handling a bit
+- bump version to 0.4.5
+
+---

Old:

  libsolv-0.4.4.tar.bz2

New:

  libsolv-0.5.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.qUyx8u/_old  2014-02-28 16:25:14.0 +0100
+++ /var/tmp/diff_new_pack.qUyx8u/_new  2014-02-28 16:25:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.4.4
+Version:0.5.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.4.4.tar.bz2 - libsolv-0.5.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.4/VERSION.cmake 
new/libsolv-0.5.0/VERSION.cmake
--- old/libsolv-0.4.4/VERSION.cmake 2014-02-14 11:05:52.0 +0100
+++ new/libsolv-0.5.0/VERSION.cmake 2014-02-26 15:20:18.0 +0100
@@ -48,6 +48,6 @@
 SET(LIBSOLVEXT_SOVERSION 0)
 
 SET(LIBSOLV_MAJOR 0)
-SET(LIBSOLV_MINOR 4)
-SET(LIBSOLV_PATCH 4)
+SET(LIBSOLV_MINOR 5)
+SET(LIBSOLV_PATCH 0)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.4/bindings/CMakeLists.txt 
new/libsolv-0.5.0/bindings/CMakeLists.txt
--- old/libsolv-0.4.4/bindings/CMakeLists.txt   2013-10-04 11:23:38.0 
+0200
+++ new/libsolv-0.5.0/bindings/CMakeLists.txt   2014-02-27 16:20:52.0 
+0100
@@ -6,8 +6,15 @@
 SET (SWIG_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/solv.i)
 
 IF (ENABLE_PYTHON)
+IF (ENABLE_PYTHON3)
+# build for both python and python3
+SET (PythonLibs_FIND_VERSION 2)
+ENDIF (ENABLE_PYTHON3)
 ADD_SUBDIRECTORY (python)
 ENDIF (ENABLE_PYTHON)
+IF (ENABLE_PYTHON3)
+ADD_SUBDIRECTORY (python3)
+ENDIF (ENABLE_PYTHON3)
 IF (ENABLE_PERL)
 ADD_SUBDIRECTORY (perl)
 ENDIF (ENABLE_PERL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.4/bindings/solv.i 
new/libsolv-0.5.0/bindings/solv.i
--- old/libsolv-0.4.4/bindings/solv.i   2014-01-09 13:30:53.0 +0100
+++ new/libsolv-0.5.0/bindings/solv.i   2014-02-27 16:20:52.0 +0100
@@ -1752,11 +1752,9 @@
 }
   }
 #endif
-
 #ifdef SWIGPERL
   perliter(solv::Dataiterator)
 #endif
-
   %newobject __next__;
   Datamatch *__next__() {
 Dataiterator *ndi;
@@ -1986,7 +1984,6 @@
 }
   }
 #endif
-
 #ifdef SWIGPERL
   perliter(solv::Pool_solvable_iterator)
 #endif
@@ -2046,6 +2043,9 @@
 }
   }
 #endif
+#ifdef SWIGPERL
+  perliter(solv::Pool_repo_iterator)
+#endif
   %newobject __next__;
   Repo *__next__() {
 Pool *pool = $self-pool;
@@ -2103,6 +2103,9 @@
 }
   }
 #endif
+#ifdef SWIGPERL
+  perliter(solv::Repo_solvable_iterator)
+#endif
   %newobject __next__;
   XSolvable *__next__() {
 Repo *repo = $self-repo;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.4/ext/repo_appdata.c 
new/libsolv-0.5.0/ext/repo_appdata.c
--- old/libsolv-0.4.4/ext/repo_appdata.c2013-10-09 13:21:32.0 
+0200
+++ new/libsolv-0.5.0/ext/repo_appdata.c2014-02-27 15:55:52.0 
+0100
@@ -61,7 +61,7 @@
   { STATE_START,   applications,  STATE_START,   0 },
   { STATE_START,   application,   STATE_APPLICATION,   0 },
   { STATE_APPLICATION, id,STATE_ID,1 },
-  { STATE_APPLICATION, licence,   STATE_LICENCE,   1 },
+  { STATE_APPLICATION, product_license, STATE_LICENCE,   1 },
   { STATE_APPLICATION, name,  STATE_NAME,  1 },
   { STATE_APPLICATION, summary,   STATE_SUMMARY,   1 },
   { STATE_APPLICATION, description,   STATE_DESCRIPTION,   0 },
@@ -95,6 +95,13 @@
 
   char *description;
   

commit libsolv for openSUSE:Factory

2014-02-16 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-02-16 09:10:31

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-01-29 
07:16:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-02-16 
09:10:33.0 +0100
@@ -1,0 +2,12 @@
+Fri Feb 14 11:03:18 CET 2014 - m...@suse.de
+
+- always keep job/jobflags in selection_filter()
+- implement COND handling in supplements/enhances
+- improve OR handling in supplements/enhances
+- fix typo in application backlink creation
+- support PRODUCT_ENDOFLIFE
+- store repoid as flexarray
+- also translate autoproduct strings
+- bump version to 0.4.4
+
+---

Old:

  libsolv-0.4.3.tar.bz2

New:

  libsolv-0.4.4.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.em5v54/_old  2014-02-16 09:10:34.0 +0100
+++ /var/tmp/diff_new_pack.em5v54/_new  2014-02-16 09:10:34.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.4.3
+Version:0.4.4
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.4.3.tar.bz2 - libsolv-0.4.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.3/VERSION.cmake 
new/libsolv-0.4.4/VERSION.cmake
--- old/libsolv-0.4.3/VERSION.cmake 2014-01-27 17:15:52.0 +0100
+++ new/libsolv-0.4.4/VERSION.cmake 2014-02-14 11:05:52.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 4)
-SET(LIBSOLV_PATCH 3)
+SET(LIBSOLV_PATCH 4)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.3/ext/repo_autopattern.c 
new/libsolv-0.4.4/ext/repo_autopattern.c
--- old/libsolv-0.4.3/ext/repo_autopattern.c2014-01-27 16:30:52.0 
+0100
+++ new/libsolv-0.4.4/ext/repo_autopattern.c2014-01-30 17:10:53.0 
+0100
@@ -5,6 +5,9 @@
  * for further information
  */
 
+#define _GNU_SOURCE
+#define _XOPEN_SOURCE
+#include time.h
 #include sys/types.h
 #include sys/stat.h
 #include stdio.h
@@ -55,6 +58,30 @@
   *q = 0;
 }
 
+static time_t
+datestr2timestamp(const char *date)
+{
+  const char *p; 
+  struct tm tm; 
+
+  if (!date || !*date)
+return 0;
+  for (p = date; *p = '0'  *p = '9'; p++)
+;   
+  if (!*p)
+return atoi(date);
+  memset(tm, 0, sizeof(tm));
+  p = strptime(date, %F%T, tm);
+  if (!p)
+{   
+  memset(tm, 0, sizeof(tm));
+  p = strptime(date, %F, tm);
+  if (!p || *p) 
+return 0;
+}   
+  return timegm(tm);
+}
+
 int
 repo_add_autopattern(Repo *repo, int flags)
 {
@@ -73,6 +100,9 @@
   queue_init(prdq);
   queue_init(prdq2);
 
+  if (repo == pool-installed)
+flags |= ADD_NO_AUTOPRODUCTS;  /* no auto products for installed repos 
*/
+
   pattern_id = pool_str2id(pool, pattern(), 9);
   product_id = pool_str2id(pool, product(), 9);
   FOR_REPO_SOLVABLES(repo, p, s)
@@ -226,8 +256,8 @@
   queue_free(patq);
   queue_free(patq2);
 
-  if (repo == pool-installed)
-queue_empty(prdq2);   /* no auto products for installed repos */
+  if ((flags  ADD_NO_AUTOPRODUCTS) != 0)
+queue_empty(prdq2);
 
   for (i = 0; i  prdq2.count; i += 2)
 {
@@ -336,7 +366,17 @@
  else if (!strcmp(pn, product-flags())  evr)
repodata_add_poolstr_array(data, s2 - pool-solvables, 
PRODUCT_FLAGS, newname);
  else if (!strcmp(pn, product-updates-repoid())  evr)
-   repodata_add_poolstr_array(data, s2 - pool-solvables, 
PRODUCT_UPDATES_REPOID, newname);
+   {
+ Id h = repodata_new_handle(data);
+ repodata_set_str(data, h, PRODUCT_UPDATES_REPOID, newname);
+ repodata_add_flexarray(data, s2 - pool-solvables, 
PRODUCT_UPDATES, h);
+   }
+ else if (!strcmp(pn, product-endoflife())  evr)
+   {
+ time_t t = datestr2timestamp(newname);
+ if (t)
+   repodata_set_num(data, s2 - pool-solvables, PRODUCT_ENDOFLIFE, 
t);
+   }
  else if (!strncmp(pn, product-url(, 12)  evr  pn[12]  pn[13] 
 strlen(pn + 12)  32)
{
  char type[34];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.3/ext/repo_autopattern.h 
new/libsolv-0.4.4/ext/repo_autopattern.h
--- old/libsolv-0.4.3/ext/repo_autopattern.h2013-10-16 16:31:42.0 
+0200
+++ 

commit libsolv for openSUSE:Factory

2014-01-28 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-01-29 07:16:07

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2014-01-27 
15:29:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-01-29 
07:16:09.0 +0100
@@ -1,0 +2,7 @@
+Mon Jan 27 17:15:41 CET 2014 - m...@suse.de
+
+- add support for autogenerated products
+- support repoid array in product definition
+- bump version to 0.4.3
+
+---

Old:

  libsolv-0.4.2.tar.bz2

New:

  libsolv-0.4.3.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.szE6Kv/_old  2014-01-29 07:16:10.0 +0100
+++ /var/tmp/diff_new_pack.szE6Kv/_new  2014-01-29 07:16:10.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.4.2
+Version:0.4.3
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.4.2.tar.bz2 - libsolv-0.4.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.2/VERSION.cmake 
new/libsolv-0.4.3/VERSION.cmake
--- old/libsolv-0.4.2/VERSION.cmake 2014-01-24 14:03:41.0 +0100
+++ new/libsolv-0.4.3/VERSION.cmake 2014-01-27 17:15:52.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 4)
-SET(LIBSOLV_PATCH 2)
+SET(LIBSOLV_PATCH 3)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.2/ext/repo_autopattern.c 
new/libsolv-0.4.3/ext/repo_autopattern.c
--- old/libsolv-0.4.2/ext/repo_autopattern.c2013-12-13 14:51:43.0 
+0100
+++ new/libsolv-0.4.3/ext/repo_autopattern.c2014-01-27 16:30:52.0 
+0100
@@ -61,37 +61,59 @@
   Pool *pool = repo-pool;
   Repodata *data = 0;
   Solvable *s, *s2;
-  Queue q, q2;
+  Queue patq, patq2;
+  Queue prdq, prdq2;
   Id p;
-  Id pattern_id;
-  Id autopattern_id = 0;
+  Id pattern_id, product_id;
+  Id autopattern_id = 0, autoproduct_id = 0;
   int i, j;
 
-  queue_init(q);
-  queue_init(q2);
+  queue_init(patq);
+  queue_init(patq2);
+  queue_init(prdq);
+  queue_init(prdq2);
 
   pattern_id = pool_str2id(pool, pattern(), 9);
+  product_id = pool_str2id(pool, product(), 9);
   FOR_REPO_SOLVABLES(repo, p, s)
 {
   const char *n = pool_id2str(pool, s-name);
-  if (!strncmp(pattern:, n, 8))
-   queue_push(q, p);
-  else if (s-provides)
+  if (*n == 'p')
+   {
+ if (!strncmp(pattern:, n, 8))
+   {
+ queue_push(patq, p);
+ continue;
+   }
+ else if (!strncmp(product:, n, 8))
+   {
+ queue_push(prdq, p);
+ continue;
+   }
+   }
+  if (s-provides)
{
  Id prv, *prvp = repo-idarraydata + s-provides;
  while ((prv = *prvp++) != 0)/* go through all provides */
if (ISRELDEP(prv))
  {
Reldep *rd = GETRELDEP(pool, prv);
-   if (rd-name == pattern_id  rd-flags == REL_EQ)
+   if (rd-flags != REL_EQ)
+ continue;
+   if (rd-name == pattern_id)
  {
-   queue_push2(q2, p, rd-evr);
+   queue_push2(patq2, p, rd-evr);
+   break;
+ }
+   if (rd-name == product_id)
+ {
+   queue_push2(prdq2, p, rd-evr);
break;
  }
  }
}
 }
-  for (i = 0; i  q2.count; i += 2)
+  for (i = 0; i  patq2.count; i += 2)
 {
   const char *pn = 0;
   char *newname;
@@ -99,21 +121,21 @@
   const char *str;
   unsigned long long num;
 
-  s = pool-solvables + q2.elements[i];
+  s = pool-solvables + patq2.elements[i];
   /* construct new name */
-  newname = pool_tmpjoin(pool, pattern:, pool_id2str(pool, q2.elements[i 
+ 1]), 0);
+  newname = pool_tmpjoin(pool, pattern:, pool_id2str(pool, 
patq2.elements[i + 1]), 0);
   unescape(newname);
   name = pool_str2id(pool, newname, 0);
   if (name)
{
  /* check if we already have that pattern */
- for (j = 0; j  q.count; j++)
+ for (j = 0; j  patq.count; j++)
{
- s2 = pool-solvables + q.elements[j];
+ s2 = pool-solvables + patq.elements[j];
  if (s2-name == name  s2-arch == s-arch  s2-evr == s-evr)
   

commit libsolv for openSUSE:Factory

2014-01-27 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2014-01-27 15:28:59

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-12-10 
09:07:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2014-01-27 
15:29:01.0 +0100
@@ -1,0 +2,14 @@
+Fri Jan 24 13:50:03 CET 2014 - m...@suse.de
+
+- add -X option to susetags2solv [bnc#860271]
+- fix typos in pool_job2str
+- support DISTRO in content parser
+- make addfilelist more resistant against corrupt rpms
+- encode flags into rpmdb cookie
+- add identical and evrcmp methods in bindings
+- copy checksums in repo_add_rpmdb_reffp
+- repo_autopattern: make sure that the category is valid utf8
+- fix double-free if the number of languages is reduced to zero
+- bump version to 0.4.2
+
+---

Old:

  libsolv-0.4.1.tar.bz2

New:

  libsolv-0.4.2.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.vstvIC/_old  2014-01-27 15:29:02.0 +0100
+++ /var/tmp/diff_new_pack.vstvIC/_new  2014-01-27 15:29:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.4.1
+Version:0.4.2
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.4.1.tar.bz2 - libsolv-0.4.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/CMakeLists.txt 
new/libsolv-0.4.2/CMakeLists.txt
--- old/libsolv-0.4.1/CMakeLists.txt2013-10-15 13:01:33.0 +0200
+++ new/libsolv-0.4.2/CMakeLists.txt2014-01-24 16:10:51.0 +0100
@@ -288,7 +288,7 @@
 set (CMAKE_C_FLAGS_RELWITHDEBINFO ${CMAKE_C_FLAGS} -g -O3)
 set (CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS} -g3 -O0)
 
-SET (SYSTEM_LIBRARIES -Wl,--as-needed ${EXPAT_LIBRARY} ${ZLIB_LIBRARY})
+SET (SYSTEM_LIBRARIES ${EXPAT_LIBRARY} ${ZLIB_LIBRARY})
 IF (ENABLE_LZMA_COMPRESSION)
 SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${LZMA_LIBRARY})
 ENDIF (ENABLE_LZMA_COMPRESSION)
@@ -301,6 +301,7 @@
 IF (ENABLE_HAIKU)
 SET (SYSTEM_LIBRARIES ${HAIKU_SYSTEM_LIBRARIES} ${SYSTEM_LIBRARIES})
 ENDIF (ENABLE_HAIKU)
+SET (SYSTEM_LIBRARIES -Wl,--as-needed ${SYSTEM_LIBRARIES})
 
 ADD_SUBDIRECTORY (src)
 ADD_SUBDIRECTORY (ext)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/VERSION.cmake 
new/libsolv-0.4.2/VERSION.cmake
--- old/libsolv-0.4.1/VERSION.cmake 2013-12-03 14:36:45.0 +0100
+++ new/libsolv-0.4.2/VERSION.cmake 2014-01-24 14:03:41.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 4)
-SET(LIBSOLV_PATCH 1)
+SET(LIBSOLV_PATCH 2)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/bindings/python/CMakeLists.txt 
new/libsolv-0.4.2/bindings/python/CMakeLists.txt
--- old/libsolv-0.4.1/bindings/python/CMakeLists.txt2013-11-20 
13:01:43.0 +0100
+++ new/libsolv-0.4.2/bindings/python/CMakeLists.txt2014-01-24 
15:10:51.0 +0100
@@ -5,6 +5,9 @@
 FIND_PACKAGE (PythonInterp REQUIRED)
 EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c from sys import stdout; from 
distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True)) 
OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
 
+IF (NOT DEFINED PYTHON_VERSION_MAJOR)
+SET (PYTHON_VERSION_MAJOR 2)
+ENDIF (NOT DEFINED PYTHON_VERSION_MAJOR)
 IF (${PYTHON_VERSION_MAJOR} GREATER 2)
 SET (SWIG_PY_FLAGS -DPYTHON3=1)
 ENDIF (${PYTHON_VERSION_MAJOR} GREATER 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/bindings/solv.i 
new/libsolv-0.4.2/bindings/solv.i
--- old/libsolv-0.4.1/bindings/solv.i   2013-11-20 13:01:43.0 +0100
+++ new/libsolv-0.4.2/bindings/solv.i   2014-01-09 13:30:53.0 +0100
@@ -448,6 +448,7 @@
 
 #include pool.h
 #include poolarch.h
+#include evr.h
 #include solver.h
 #include policy.h
 #include solverdebug.h
@@ -2411,6 +2412,16 @@
 return sel;
   }
 
+#ifdef SWIGRUBY
+  %rename(identical?) identical;
+#endif
+  bool identical(XSolvable *s2) {
+return 

commit libsolv for openSUSE:Factory

2013-12-10 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-12-10 09:07:50

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-12-03 
16:11:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-12-10 
09:07:51.0 +0100
@@ -1,0 +2,6 @@
+Mon Dec  9 11:53:06 CET 2013 - m...@suse.de
+
+- make repo2solv.sh work when appdata support is off
+- enable appdata support for SUSE
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.kQ3lNA/_old  2013-12-10 09:07:52.0 +0100
+++ /var/tmp/diff_new_pack.kQ3lNA/_new  2013-12-10 09:07:52.0 +0100
@@ -171,7 +171,7 @@
 CMAKE_FLAGS=-DFEDORA=1
 %endif
 %if 0%{?suse_version}
-CMAKE_FLAGS=-DSUSE=1
+CMAKE_FLAGS=-DSUSE=1 -DENABLE_APPDATA=1
 %endif
 
 cmake   $CMAKE_FLAGS \

++ libsolv-0.4.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/examples/solv.c 
new/libsolv-0.4.1/examples/solv.c
--- old/libsolv-0.4.1/examples/solv.c   2013-11-14 16:36:43.0 +0100
+++ new/libsolv-0.4.1/examples/solv.c   2013-12-06 15:36:44.0 +0100
@@ -84,6 +84,9 @@
 #include repo_susetags.h
 #include repo_content.h
 #endif
+#ifdef SUSE
+#include repo_autopattern.h
+#endif
 #include solv_xfopen.h
 
 #ifdef FEDORA
@@ -2385,6 +2388,17 @@
 
 #endif
 
+#ifdef SUSE
+static void
+add_autopackages(Pool *pool)
+{
+  int i;
+  Repo *repo;
+  FOR_REPOS(i, repo)
+repo_add_autopattern(repo, 0);
+}
+#endif
+
 #if defined(SUSE) || defined(FEDORA)
 static void
 add_patchjobs(Pool *pool, Queue *job)
@@ -2928,6 +2942,9 @@
   if (pool-disttype == DISTTYPE_RPM)
 addfileprovides(pool);
 #endif
+#ifdef SUSE
+  add_autopackages(pool);
+#endif
   pool_createwhatprovides(pool);
 
   if (keyname)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/package/libsolv.changes 
new/libsolv-0.4.1/package/libsolv.changes
--- old/libsolv-0.4.1/package/libsolv.changes   2013-12-03 14:36:45.0 
+0100
+++ new/libsolv-0.4.1/package/libsolv.changes   2013-12-09 13:51:27.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Mon Dec  9 11:53:06 CET 2013 - m...@suse.de
+
+- make repo2solv.sh work when appdata support is off
+- enable appdata support for SUSE
+
+---
 Tue Dec  3 14:30:17 CET 2013 - m...@suse.de
 
 - support appdata parsing and auto-pattern generation in tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/package/libsolv.spec.in 
new/libsolv-0.4.1/package/libsolv.spec.in
--- old/libsolv-0.4.1/package/libsolv.spec.in   2013-10-04 11:23:38.0 
+0200
+++ new/libsolv-0.4.1/package/libsolv.spec.in   2013-12-09 13:51:27.0 
+0100
@@ -167,7 +167,7 @@
 CMAKE_FLAGS=-DFEDORA=1
 %endif
 %if 0%{?suse_version}
-CMAKE_FLAGS=-DSUSE=1
+CMAKE_FLAGS=-DSUSE=1 -DENABLE_APPDATA=1
 %endif
 
 cmake   $CMAKE_FLAGS \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.1/src/rules.c 
new/libsolv-0.4.1/src/rules.c
--- old/libsolv-0.4.1/src/rules.c   2013-10-17 17:21:43.0 +0200
+++ new/libsolv-0.4.1/src/rules.c   2013-12-04 18:41:47.0 +0100
@@ -1181,9 +1181,11 @@
   Id p, pp, a, aa, bestarch;
   Solvable *s, *ps, *bests;
   Queue badq, allowedarchs;
+  Queue lsq;
 
   queue_init(badq);
   queue_init(allowedarchs);
+  queue_init(lsq);
   solv-infarchrules = solv-nrules;
   for (i = 1; i  pool-nsolvables; i++)
 {
@@ -1253,9 +1255,26 @@
   for (j = 0; j  badq.count; j++)
{
  p = badq.elements[j];
- solver_addrule(solv, -p, 0);
+ /* lock-step */
+ if (pool-implicitobsoleteusescolors)
+   {
+ Id p2;
+ queue_empty(lsq);
+ FOR_PROVIDES(p2, pp, s-name)
+   {
+ Solvable *s2 = pool-solvables + p2;
+ if (p2 == p || s2-name != s-name || s2-evr != 
pool-solvables[p].evr || s2-arch == pool-solvables[p].arch)
+   continue;
+ a = s2-arch;
+ a = (a = pool-lastarch) ? pool-id2arch[a] : 0;
+ if (a  (a == 1 || a == bestarch))
+   queue_push(lsq, p2);
+   }
+   }
+ solver_addrule(solv, -p, lsq.count ? pool_queuetowhatprovides(pool, 
lsq) : 

commit libsolv for openSUSE:Factory

2013-12-03 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-12-03 16:11:33

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-09-25 
14:32:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-12-03 
16:11:34.0 +0100
@@ -1,0 +2,12 @@
+Tue Dec  3 14:30:17 CET 2013 - m...@suse.de
+
+- support appdata parsing and auto-pattern generation in tools
+- adapt to python3
+- tweak findproblemrule heuristic for conflicts
+- add m68k/ppc64le architectures
+- plug weakrulemap memory hole
+- support debian multiarch annotation
+- support product/pattern/application links
+- bump version to 0.4.1
+
+---

Old:

  libsolv-0.4.0.tar.bz2

New:

  libsolv-0.4.1.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.3ursad/_old  2013-12-03 16:11:34.0 +0100
+++ /var/tmp/diff_new_pack.3ursad/_new  2013-12-03 16:11:34.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.4.0
+Version:0.4.1
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.4.0.tar.bz2 - libsolv-0.4.1.tar.bz2 ++
 8138 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2013-09-25 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-09-25 14:32:44

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-09-23 
15:25:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-09-25 
14:32:46.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 24 11:14:25 CEST 2013 - m...@suse.de
+
+- do not add back cleandeps_updatepkgs packages [bnc#841781]
+
+---



Other differences:
--
++ libsolv-0.4.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.0/doc/filters/xcode.pl 
new/libsolv-0.4.0/doc/filters/xcode.pl
--- old/libsolv-0.4.0/doc/filters/xcode.pl  2013-06-07 09:07:56.0 
+0200
+++ new/libsolv-0.4.0/doc/filters/xcode.pl  2013-09-24 13:16:42.0 
+0200
@@ -35,14 +35,15 @@
   if (!/^[a-zA-Z0-9_]+$/) {
 $_ =  $_;
 $_ = $_ ;
-
s/(?=[^a-zA-Z_\:\.\'\;])(?!solv\W|Solv\W|Pool\W)([\$\@[a-zA-Z_][a-zA-Z0-9_]*)(?=[^a-zA-Z0-9_\(;\[])(?!::)(?!
 [^=])/-SI$1-IS/g;
-# small fixup for perl bare words
+
s/(?=[^a-zA-Z_\:\.\'\;])(?!solv\W|Solv\W|Pool\W)([\$\@a-zA-Z_][a-zA-Z0-9_]*)(?=[^a-zA-Z0-9_\(;\[])(?!::)(?!
 [^=])/-SI$1-IS/g;
+# fixup for perl bare words
 s/{-SI([a-zA-Z_][a-zA-Z0-9]*)-IS}/{$1}/g;
-# small fixup for callbackfunctions
+# fixup for callbackfunctions
 s/\\(amp;[a-zA-Z_]+)/\\-SI$1-IS/;
-# small fixup for stringification
+# fixup for stringification
 s/\$-SI/-SI\$/g;
-# small fixup for %d
+# fixup for %d
+s/%-SId-IS\/%d\/;
 s/%-SId-IS\\-SIn-IS/%d\\n/;
 # iterators
 s/^ //;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.0/doc/libsolv-bindings.3 
new/libsolv-0.4.0/doc/libsolv-bindings.3
--- old/libsolv-0.4.0/doc/libsolv-bindings.32013-09-20 15:16:43.0 
+0200
+++ new/libsolv-0.4.0/doc/libsolv-bindings.32013-09-24 13:29:05.0 
+0200
@@ -2,12 +2,12 @@
 .\ Title: Libsolv-Bindings
 .\Author: [see the Author section]
 .\ Generator: DocBook XSL Stylesheets v1.78.0 http://docbook.sf.net/
-.\  Date: 09/20/2013
+.\  Date: 09/24/2013
 .\Manual: LIBSOLV
 .\Source: libsolv
 .\  Language: English
 .\
-.TH LIBSOLV\-BINDINGS 3 09/20/2013 libsolv LIBSOLV
+.TH LIBSOLV\-BINDINGS 3 09/24/2013 libsolv LIBSOLV
 .\ -
 .\ * Define some portability stuff
 .\ -
@@ -156,7 +156,7 @@
 .\}
 .nf
 \fIpool\fR\fB\.appdata = 42\fR
-\fBprint appdata is %\fR\fId\fR\fB % (\fR\fIpool\fR\fB\.appdata)\fR
+\fBprint appdata is %d % (\fR\fIpool\fR\fB\.appdata)\fR
 .fi
 .if n \{\
 .RE
@@ -180,7 +180,7 @@
 .RS 4
 .\}
 .nf
-\fIjobs\fR \fB=\fR \fI[\fR\fB]\fR
+\fIjobs\fR \fB= []\fR
 \fIproblems\fR \fB=\fR \fIsolver\fR\fB\.solve(\fR\fIjobs\fR\fB)\fR
 .fi
 .if n \{\
@@ -269,7 +269,7 @@
 .RS 4
 .\}
 .nf
-\fIjobs\fR \fB=\fR \fI[\fR\fB]\fR
+\fIjobs\fR \fB= []\fR
 \fIproblems\fR \fB=\fR \fIsolver\fR\fB\.solve(\fR\fIjobs\fR\fB)\fR
 .fi
 .if n \{\
@@ -4938,7 +4938,7 @@
 .\}
 .sp
 The id of the repodata area\. Repodata ids of different repositories 
overlap\.
-.SS METHODS 
+.SS METHODS
 .sp
 .if n \{\
 .RS 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.0/doc/libsolv-bindings.txt 
new/libsolv-0.4.0/doc/libsolv-bindings.txt
--- old/libsolv-0.4.0/doc/libsolv-bindings.txt  2013-09-20 15:16:43.0 
+0200
+++ new/libsolv-0.4.0/doc/libsolv-bindings.txt  2013-09-24 13:29:05.0 
+0200
@@ -3052,7 +3052,7 @@
 
 The id of the repodata area. Repodata ids of different repositories overlap.
 
-=== METHODS 
+=== METHODS ===
 
internalize();
$data-internalize();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.4.0/package/libsolv.changes 
new/libsolv-0.4.0/package/libsolv.changes
--- old/libsolv-0.4.0/package/libsolv.changes   2013-09-23 11:46:43.0 
+0200
+++ new/libsolv-0.4.0/package/libsolv.changes   2013-09-24 11:16:42.0 
+0200
@@ -1,4 +1,9 @@
 ---
+Tue Sep 24 11:14:25 CEST 2013 - m...@suse.de
+
+- do not add back cleandeps_updatepkgs packages [bnc#841781]
+
+---
 Mon Sep 23 11:31:28 CEST 2013 - m...@suse.de
 
 - added repodata_lookup_binary
diff -urN 

commit libsolv for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-09-23 15:25:07

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-08-23 
11:05:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-09-23 
15:25:08.0 +0200
@@ -1,0 +2,9 @@
+Mon Sep 23 11:31:28 CEST 2013 - m...@suse.de
+
+- added repodata_lookup_binary
+- fix pattern obsoleting real packages [bnc#834376]
+- add selection_make_matchdeps function to query dependencies
+  other than provides
+- bump version to 0.4.0
+
+---

Old:

  libsolv-0.3.0.tar.bz2

New:

  libsolv-0.4.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.vDtWoz/_old  2013-09-23 15:25:09.0 +0200
+++ /var/tmp/diff_new_pack.vDtWoz/_new  2013-09-23 15:25:09.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libsolv
-Version:0.3.0
+Version:0.4.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.3.0.tar.bz2 - libsolv-0.4.0.tar.bz2 ++
 2333 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2013-08-23 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-08-23 11:05:38

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-06-18 
21:53:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-08-23 
11:05:40.0 +0200
@@ -1,0 +2,10 @@
+Wed Aug 21 14:39:54 CEST 2013 - m...@suse.de
+
+- add describe_decision() and unset() methods to bindings
+- do recommends pruning after selecting the highest versions
+- improve filelist handling
+- be more tolerant about bad xml: an empty epoch attribute means no epoch
+- fix another edge case will dup mode and multiversion packages [bnc#828389]
+- bring installcheck up to speed
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.3Ktr1O/_old  2013-08-23 11:05:41.0 +0200
+++ /var/tmp/diff_new_pack.3Ktr1O/_new  2013-08-23 11:05:41.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   libsolv
 Version:0.3.0
 Release:0
@@ -110,7 +111,10 @@
 Obsoletes:  satsolver-tools  0.18
 Provides:   satsolver-tools = 0.18
 Conflicts:  satsolver-tools-obsolete
-Requires:   gzip bzip2 coreutils findutils
+Requires:   bzip2
+Requires:   coreutils
+Requires:   findutils
+Requires:   gzip
 
 %description tools
 A new approach to package dependency solving.

++ libsolv-0.3.0.tar.bz2 ++
 4306 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-06-18 21:53:13

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-03-08 
09:21:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-06-18 
21:53:14.0 +0200
@@ -1,0 +2,8 @@
+Mon Jun 17 15:54:44 CEST 2013 - m...@suse.de
+
+- add SOLVER_RULE_JOB_UNSUPPORTED and SOLVER_RULE_JOB_UNKNOWN_PACKAGE
+  for better problem reporting
+- start with library documentation
+- adapt to obsoletes handling of new rpm versions
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.cNSBXz/_old  2013-06-18 21:53:15.0 +0200
+++ /var/tmp/diff_new_pack.cNSBXz/_new  2013-06-18 21:53:15.0 +0200
@@ -27,6 +27,7 @@
 %bcond_without perl_binding
 %bcond_without python_binding
 %bcond_without ruby_binding
+%bcond_with zypp
 
 %if 0%{?mandriva_version}
 # force this version on mandriva
@@ -98,6 +99,7 @@
 Requires:   libsolv0 = %version
 %endif
 Requires:   rpm-devel
+Conflicts:  libsatsolver-devel
 
 %description devel
 Development files for libsolv, a new approach to package dependency solving
@@ -107,6 +109,7 @@
 Group:  Development/Libraries/C and C++
 Obsoletes:  satsolver-tools  0.18
 Provides:   satsolver-tools = 0.18
+Conflicts:  satsolver-tools-obsolete
 Requires:   gzip bzip2 coreutils findutils
 
 %description tools
@@ -122,6 +125,7 @@
 %if 0%{?suse_version}
 Requires:   gpg2
 %endif
+Conflicts:  libsatsolver-demo
 
 %description demo
 Applications demoing the libsolv library.
@@ -134,7 +138,7 @@
 Ruby bindings for sat solver.
 
 %package -n python-solv
-%if 0%{?py_requires:1}
+%if 0%{?py_requires:1}  %{with python_binding}
 %py_requires
 %endif
 Summary:Python bindings for the libsolv library
@@ -176,6 +180,7 @@
%{?with_perl_binding:-DENABLE_PERL=1} \
%{?with_python_binding:-DENABLE_PYTHON=1} \
%{?with_ruby_binding:-DENABLE_RUBY=1} \
+   %{?with_zypp:-DENABLE_SUSEREPO=1 -DENABLE_HELIXREPO=1} \
-DUSE_VENDORDIRS=1 \
-DCMAKE_SKIP_RPATH=1
 make %{?jobs:-j %jobs}
@@ -190,8 +195,10 @@
 popd
 %endif
 %endif
+%if %{with disable_shared}
 # we want to leave the .a file untouched
 export NO_BRP_STRIP_DEBUG=true
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -231,6 +238,7 @@
 %{_bindir}/helix2solv
 %endif
 %{_datadir}/cmake/Modules/*
+%{_mandir}/man?/*
 
 %files demo
 %defattr(-,root,root)

++ libsolv-0.3.0.tar.bz2 ++
 27027 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2013-03-08 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-03-08 09:21:56

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2013-01-20 
07:58:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-03-08 
09:21:57.0 +0100
@@ -1,0 +2,9 @@
+Wed Mar  6 16:55:57 CET 2013 - m...@suse.de
+
+- fix dataiterator returning random data in some cases
+- add changelog parser
+- fix nasty bug in selection_filter_rel
+- allow re-run of an existing solver
+- bump version to 0.3.0
+
+---

Old:

  libsolv-0.2.4.tar.bz2

New:

  libsolv-0.3.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.DmBUFY/_old  2013-03-08 09:21:58.0 +0100
+++ /var/tmp/diff_new_pack.DmBUFY/_new  2013-03-08 09:21:58.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.2.4
+Version:0.3.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.2.4.tar.bz2 - libsolv-0.3.0.tar.bz2 ++
 2035 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2013-01-19 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2013-01-20 07:57:59

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-12-21 
10:15:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2013-01-20 
07:58:01.0 +0100
@@ -1,0 +2,8 @@
+Mon Jan 14 16:01:04 CET 2013 - m...@suse.de
+
+- trivial_installable: check vendor of affected package to see if
+  a patch should be ignored [bnc#736100]
+- fix trivial installable requires handling
+- bump version to 0.2.4
+
+---

Old:

  libsolv-0.2.3.tar.bz2

New:

  libsolv-0.2.4.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.pLe9Gb/_old  2013-01-20 07:58:03.0 +0100
+++ /var/tmp/diff_new_pack.pLe9Gb/_new  2013-01-20 07:58:03.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.2.3
+Version:0.2.4
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.2.3.tar.bz2 - libsolv-0.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.3/README new/libsolv-0.2.4/README
--- old/libsolv-0.2.3/README2012-12-19 15:41:18.0 +0100
+++ new/libsolv-0.2.4/README2013-01-14 16:06:16.0 +0100
@@ -1,5 +1,5 @@
 This is libsolv, a free package dependency solver using a satisfiability
-algorihtm.
+algorithm.
 
 This code is based on two major, but independent, blocks:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.3/VERSION.cmake 
new/libsolv-0.2.4/VERSION.cmake
--- old/libsolv-0.2.3/VERSION.cmake 2012-12-19 15:41:18.0 +0100
+++ new/libsolv-0.2.4/VERSION.cmake 2013-01-14 16:06:16.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 2)
-SET(LIBSOLV_PATCH 3)
+SET(LIBSOLV_PATCH 4)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.3/bindings/solv.i 
new/libsolv-0.2.4/bindings/solv.i
--- old/libsolv-0.2.3/bindings/solv.i   2012-12-19 15:41:18.0 +0100
+++ new/libsolv-0.2.4/bindings/solv.i   2013-01-14 16:06:16.0 +0100
@@ -1329,6 +1329,49 @@
 sel-flags = selection_make($self, sel-q, name, flags);
 return sel;
   }
+
+  void setpooljobs_helper(Queue jobs) {
+queue_free($self-pooljobs);
+queue_init_clone($self-pooljobs, jobs);
+  }
+  %typemap(out) Queue getpooljobs Queue2Array(Job *, 2, new_Job(arg1, id, 
idp[1]));
+  %newobject getpooljobs;
+  Queue getpooljobs() {
+Queue q;
+queue_init_clone(q, $self-pooljobs);
+return q;
+  }
+
+#if defined(SWIGPYTHON)
+  %pythoncode {
+def setpooljobs(self, jobs):
+  j = []
+  for job in jobs: j += [job.how, job.what]
+  self.setpooljobs_helper(j)
+  }
+#endif
+#if defined(SWIGPERL)
+  %perlcode {
+sub solv::Solver::setpooljobs {
+  my ($self, $jobs) = @_;
+  my @j = map {($_-{'how'}, $_-{'what'})} @$jobs;
+  return $self-setpooljobs_helper(\@j);
+}
+  }
+#endif
+#if defined(SWIGRUBY)
+%init %{
+rb_eval_string(
+class Solv::Pool\n
+  def setpooljobs(jobs)\n
+jl = []\n
+jobs.each do |j| ; jl  j.how  j.what ; end\n
+setpooljobs_helper(jl)\n
+  end\n
+end\n
+  );
+%}
+#endif
 }
 
 %extend Repo {
@@ -2466,6 +2509,7 @@
   static const int SOLVER_RULE_LEARNT = SOLVER_RULE_LEARNT;
 
   static const int SOLVER_SOLUTION_JOB = SOLVER_SOLUTION_JOB;
+  static const int SOLVER_SOLUTION_POOLJOB = SOLVER_SOLUTION_POOLJOB;
   static const int SOLVER_SOLUTION_INFARCH = SOLVER_SOLUTION_INFARCH;
   static const int SOLVER_SOLUTION_DISTUPGRADE = SOLVER_SOLUTION_DISTUPGRADE;
   static const int SOLVER_SOLUTION_BEST = SOLVER_SOLUTION_BEST;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.3/examples/solv.c 
new/libsolv-0.2.4/examples/solv.c
--- old/libsolv-0.2.3/examples/solv.c   2012-12-19 15:41:18.0 +0100
+++ new/libsolv-0.2.4/examples/solv.c   2013-01-14 16:06:16.0 +0100
@@ -2744,7 +2744,7 @@
 }
   queue_free(repofilter);
 
-  if (!job.count  MODE_PATCH)
+  if (!job.count  mainmode != MODE_PATCH)
 {
   printf(no package matched\n);
   exit(1);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.3/ext/CMakeLists.txt 
new/libsolv-0.2.4/ext/CMakeLists.txt
--- 

commit libsolv for openSUSE:Factory

2012-12-21 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-12-21 10:15:45

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-12-07 
14:42:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-12-21 
10:15:47.0 +0100
@@ -1,0 +2,8 @@
+Tue Dec 18 19:20:19 CET 2012 - m...@suse.de
+
+- fix potential access to freed memory
+- improve find_problemrule speed
+- add support for special namespaceprovides jobs
+- bump version to 0.2.3
+
+---

Old:

  libsolv-0.2.2.tar.bz2

New:

  libsolv-0.2.3.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.VIU2iq/_old  2012-12-21 10:15:48.0 +0100
+++ /var/tmp/diff_new_pack.VIU2iq/_new  2012-12-21 10:15:48.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.2.2
+Version:0.2.3
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2
@@ -63,11 +63,7 @@
 BuildRequires:  swig
 %endif
 %if %{with ruby_binding}
-%if 0%{?fedora_version} || 0%{?rhel_version} = 600 || 0%{?centos_version} = 
600
-%global ruby_vendorarch %(ruby -rrbconfig -e 'puts 
Config::CONFIG[sitearchdir]')
-%else
-%global ruby_vendorarch %(ruby -rrbconfig -e 'puts 
Config::CONFIG[vendorarchdir]')
-%endif
+%global ruby_vendorarch %(ruby  -r rbconfig -e puts 
Config::CONFIG['vendorarchdir'].nil? ? Config::CONFIG['sitearchdir'] : 
Config::CONFIG['vendorarchdir'])
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  swig

++ libsolv-0.2.2.tar.bz2 - libsolv-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.2/VERSION.cmake 
new/libsolv-0.2.3/VERSION.cmake
--- old/libsolv-0.2.2/VERSION.cmake 2012-12-05 14:38:04.0 +0100
+++ new/libsolv-0.2.3/VERSION.cmake 2012-12-19 15:41:18.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 2)
-SET(LIBSOLV_PATCH 2)
+SET(LIBSOLV_PATCH 3)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.2/bindings/solv.i 
new/libsolv-0.2.3/bindings/solv.i
--- old/libsolv-0.2.2/bindings/solv.i   2012-12-05 14:38:04.0 +0100
+++ new/libsolv-0.2.3/bindings/solv.i   2012-12-19 15:41:18.0 +0100
@@ -2459,6 +2459,7 @@
   static const int SOLVER_RULE_FEATURE = SOLVER_RULE_FEATURE;
   static const int SOLVER_RULE_JOB = SOLVER_RULE_JOB;
   static const int SOLVER_RULE_JOB_NOTHING_PROVIDES_DEP = 
SOLVER_RULE_JOB_NOTHING_PROVIDES_DEP;
+  static const int SOLVER_RULE_JOB_PROVIDED_BY_SYSTEM = 
SOLVER_RULE_JOB_PROVIDED_BY_SYSTEM;
   static const int SOLVER_RULE_DISTUPGRADE = SOLVER_RULE_DISTUPGRADE;
   static const int SOLVER_RULE_INFARCH = SOLVER_RULE_INFARCH;
   static const int SOLVER_RULE_CHOICE = SOLVER_RULE_CHOICE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.2/examples/pysolv 
new/libsolv-0.2.3/examples/pysolv
--- old/libsolv-0.2.2/examples/pysolv   2012-12-05 14:38:04.0 +0100
+++ new/libsolv-0.2.3/examples/pysolv   2012-12-19 15:41:18.0 +0100
@@ -762,7 +762,7 @@
 if not problems:
 break
 for problem in problems:
-print Problem %d: % problem.id
+print Problem %d/%d: % (problem.id, len(problems))
 r = problem.findproblemrule()
 ri = r.info()
 print ri.problemstr()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.2/examples/rbsolv 
new/libsolv-0.2.3/examples/rbsolv
--- old/libsolv-0.2.2/examples/rbsolv   2012-12-05 14:38:04.0 +0100
+++ new/libsolv-0.2.3/examples/rbsolv   2012-12-19 15:41:18.0 +0100
@@ -638,7 +638,7 @@
   problems = solver.solve(jobs)
   break if problems.empty?
   for problem in problems
-puts Problem #{problem.id}:
+puts Problem #{problem.id}/#{problems.count}:
 puts problem.findproblemrule.info.problemstr
 solutions = problem.solutions
 for solution in solutions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.2/examples/solv.c 
new/libsolv-0.2.3/examples/solv.c
--- old/libsolv-0.2.2/examples/solv.c   2012-12-05 14:38:04.0 +0100
+++ new/libsolv-0.2.3/examples/solv.c   2012-12-19 15:41:18.0 +0100
@@ -2214,6 +2214,19 @@
 }
   return bestp;
 }
+#if 0
+  if (name == NAMESPACE_LANGUAGE)

commit libsolv for openSUSE:Factory

2012-12-07 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-12-07 14:41:57

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-12-05 
13:57:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-12-07 
14:42:06.0 +0100
@@ -1,0 +2,9 @@
+Wed Dec  5 14:37:39 CET 2012 - m...@suse.de
+
+- many Selection improvements
+- fix perl binding memory issue
+- improve file list matching
+- support targeted up/dup with cleandeps
+- bump version to 0.2.2
+
+---

Old:

  libsolv-0.2.1.tar.bz2

New:

  libsolv-0.2.2.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.tJwpCE/_old  2012-12-07 14:42:07.0 +0100
+++ /var/tmp/diff_new_pack.tJwpCE/_new  2012-12-07 14:42:07.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.2.1
+Version:0.2.2
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.2.1.tar.bz2 - libsolv-0.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.1/VERSION.cmake 
new/libsolv-0.2.2/VERSION.cmake
--- old/libsolv-0.2.1/VERSION.cmake 2012-11-30 16:53:53.0 +0100
+++ new/libsolv-0.2.2/VERSION.cmake 2012-12-05 14:38:04.0 +0100
@@ -49,5 +49,5 @@
 
 SET(LIBSOLV_MAJOR 0)
 SET(LIBSOLV_MINOR 2)
-SET(LIBSOLV_PATCH 1)
+SET(LIBSOLV_PATCH 2)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.2.1/bindings/solv.i 
new/libsolv-0.2.2/bindings/solv.i
--- old/libsolv-0.2.1/bindings/solv.i   2012-11-30 16:53:53.0 +0100
+++ new/libsolv-0.2.2/bindings/solv.i   2012-12-05 14:38:04.0 +0100
@@ -777,11 +777,14 @@
   static const Id SOLVER_WEAK = SOLVER_WEAK;
   static const Id SOLVER_ESSENTIAL = SOLVER_ESSENTIAL;
   static const Id SOLVER_CLEANDEPS = SOLVER_CLEANDEPS;
+  static const Id SOLVER_FORCEBEST = SOLVER_FORCEBEST;
+  static const Id SOLVER_TARGETED = SOLVER_TARGETED;
   static const Id SOLVER_SETEV = SOLVER_SETEV;
   static const Id SOLVER_SETEVR = SOLVER_SETEVR;
   static const Id SOLVER_SETARCH = SOLVER_SETARCH;
   static const Id SOLVER_SETVENDOR = SOLVER_SETVENDOR;
   static const Id SOLVER_SETREPO = SOLVER_SETREPO;
+  static const Id SOLVER_SETNAME = SOLVER_SETNAME;
   static const Id SOLVER_NOAUTOSET = SOLVER_NOAUTOSET;
   static const Id SOLVER_SETMASK = SOLVER_SETMASK;
 
@@ -830,10 +833,13 @@
   static const Id SELECTION_NAME = SELECTION_NAME;
   static const Id SELECTION_PROVIDES = SELECTION_PROVIDES;
   static const Id SELECTION_FILELIST = SELECTION_FILELIST;
-  static const Id SELECTION_GLOB = SELECTION_GLOB;
-  static const Id SELECTION_NOCASE = SELECTION_NOCASE;
+  static const Id SELECTION_CANON = SELECTION_CANON;
+  static const Id SELECTION_DOTARCH = SELECTION_DOTARCH;
+  static const Id SELECTION_REL = SELECTION_REL;
   static const Id SELECTION_INSTALLED_ONLY = SELECTION_INSTALLED_ONLY;
+  static const Id SELECTION_GLOB = SELECTION_GLOB;
   static const Id SELECTION_FLAT = SELECTION_FLAT;
+  static const Id SELECTION_NOCASE = SELECTION_NOCASE;
   static const Id SELECTION_SOURCE_ONLY = SELECTION_SOURCE_ONLY;
   static const Id SELECTION_WITH_SOURCE = SELECTION_WITH_SOURCE;
 
@@ -860,11 +866,11 @@
   bool isempty() {
 return $self-q.count == 0;
   }
-  void limit(Selection *lsel) {
+  void filter(Selection *lsel) {
 if ($self-pool != lsel-pool)
   queue_empty($self-q);
 else
-  selection_limit($self-pool, $self-q, lsel-q);
+  selection_filter($self-pool, $self-q, lsel-q);
   }
   void add(Selection *lsel) {
 if ($self-pool == lsel-pool)
@@ -1311,6 +1317,12 @@
   Selection *Selection() {
 return new_Selection($self);
   }
+  %newobject Selection_all;
+  Selection *Selection_all(int setflags=0) {
+Selection *sel = new_Selection($self);
+queue_push2(sel-q, SOLVER_SOLVABLE_ALL | setflags, 0);
+return sel;
+  }
   %newobject select;
   Selection *select(const char *name, int flags) {
 Selection *sel = new_Selection($self);
@@ -1506,6 +1518,14 @@
 return new_XRepodata($self, 1);
   }
 
+  %newobject Selection;
+  Selection *Selection(int setflags=0) {
+Selection *sel = new_Selection($self-pool);
+setflags |= SOLVER_SETREPO;
+queue_push2(sel-q, SOLVER_SOLVABLE_REPO | setflags, $self-repoid);
+return sel;
+  }
+
   bool __eq__(Repo *repo) {
 return $self == 

commit libsolv for openSUSE:Factory

2012-12-05 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-12-05 13:57:32

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-11-14 
16:51:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-12-05 
13:57:34.0 +0100
@@ -1,0 +2,10 @@
+Fri Nov 23 13:57:19 CET 2012 - m...@suse.de
+
+- support targeted up/dup
+- support best rules to enforce the installation of the best package
+- implement selection class to ease package selection
+- fix obsolete handling for debian packages
+- add pool_lookup_deltalocation helper
+- bump version to 0.2.1
+
+---

Old:

  libsolv-0.2.0.tar.bz2

New:

  libsolv-0.2.1.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.trsf1H/_old  2012-12-05 13:57:35.0 +0100
+++ /var/tmp/diff_new_pack.trsf1H/_new  2012-12-05 13:57:35.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.2.0
+Version:0.2.1
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.2.0.tar.bz2 - libsolv-0.2.1.tar.bz2 ++
 4936 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2012-11-14 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-11-14 16:51:31

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-06-26 
17:45:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-11-14 
16:51:33.0 +0100
@@ -1,0 +2,8 @@
+Thu Oct 18 16:58:10 CEST 2012 - m...@suse.de
+
+- fix susetags parser, it ignored the filelist of the last
+  solvable 
+- fix encoding of large values
+- bump version to 0.2.0
+
+---

Old:

  libsolv-0.1.0.tar.bz2

New:

  libsolv-0.2.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.aoX28j/_old  2012-11-14 16:51:34.0 +0100
+++ /var/tmp/diff_new_pack.aoX28j/_new  2012-11-14 16:51:34.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.1.0
+Version:0.2.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2

++ libsolv-0.1.0.tar.bz2 - libsolv-0.2.0.tar.bz2 ++
 7809 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-06-26 17:45:45

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-06-01 
07:21:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-06-26 
17:45:46.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 25 13:40:58 CEST 2012 - m...@suse.de
+
+- fix typo in repodata_merge_attrs [bnc#767510]
+
+---



Other differences:
--
++ libsolv-0.1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/.travis.yml 
new/libsolv-0.1.0/.travis.yml
--- old/libsolv-0.1.0/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/libsolv-0.1.0/.travis.yml   2012-06-25 14:17:22.0 +0200
@@ -0,0 +1,5 @@
+language: C
+before_script: sudo apt-get install cmake
+script: mkdir build  cd build  cmake -DDEBIAN=1 -DMULTI_SEMANTICS=1 ..  
make  make test
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/CMakeLists.txt 
new/libsolv-0.1.0/CMakeLists.txt
--- old/libsolv-0.1.0/CMakeLists.txt2012-05-31 12:11:34.0 +0200
+++ new/libsolv-0.1.0/CMakeLists.txt2012-06-25 14:17:22.0 +0200
@@ -20,8 +20,10 @@
 OPTION (ENABLE_DEBIAN Build with debian database/repository support? OFF)
 OPTION (ENABLE_MDKREPO Build with mandriva/mageia repository support? OFF)
 OPTION (ENABLE_ARCHREPO Build with archlinux repository support? OFF)
+OPTION (ENABLE_CUDFREPO Build with cudf repository support? OFF)
 
 OPTION (ENABLE_LZMA_COMPRESSION Build with lzma/xz compression support? OFF)
+OPTION (ENABLE_BZIP2_COMPRESSION Build with bzip2 compression support? OFF)
 
 #IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
 #ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
@@ -112,6 +114,9 @@
 IF (ENABLE_LZMA_COMPRESSION)
 FIND_PACKAGE (LZMA REQUIRED)
 ENDIF (ENABLE_LZMA_COMPRESSION)
+IF (ENABLE_BZIP2_COMPRESSION)
+FIND_PACKAGE (BZip2 REQUIRED)
+ENDIF (ENABLE_BZIP2_COMPRESSION)
 
 IF (RPM5)
 MESSAGE (STATUS Enabling RPM 5 support)
@@ -167,7 +172,7 @@
 FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
   ENABLE_RPMDB ENABLE_RPMDB_PUBKEY ENABLE_RPMMD ENABLE_SUSEREPO ENABLE_COMPS
   ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_ARCHREPO ENABLE_DEBIAN
-  ENABLE_LZMA_COMPRESSION)
+  ENABLE_LZMA_COMPRESSION ENABLE_BZIP2_COMPRESSION)
   IF(${VAR})
 ADD_DEFINITIONS (-D${VAR}=1)
 SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/bindings/CMakeLists.txt 
new/libsolv-0.1.0/bindings/CMakeLists.txt
--- old/libsolv-0.1.0/bindings/CMakeLists.txt   2012-05-31 12:11:34.0 
+0200
+++ new/libsolv-0.1.0/bindings/CMakeLists.txt   2012-06-25 14:17:22.0 
+0200
@@ -3,6 +3,9 @@
 IF (ENABLE_LZMA_COMPRESSION)
 SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${LZMA_LIBRARY})
 ENDIF (ENABLE_LZMA_COMPRESSION)
+IF (ENABLE_BZIP2_COMPRESSION)
+SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${BZIP2_LIBRARIES})
+ENDIF (ENABLE_BZIP2_COMPRESSION)
 IF (NOT DEBIAN)
 SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES})
 ENDIF (NOT DEBIAN)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/examples/CMakeLists.txt 
new/libsolv-0.1.0/examples/CMakeLists.txt
--- old/libsolv-0.1.0/examples/CMakeLists.txt   2012-05-31 12:11:34.0 
+0200
+++ new/libsolv-0.1.0/examples/CMakeLists.txt   2012-06-25 14:17:23.0 
+0200
@@ -3,6 +3,9 @@
 IF (ENABLE_LZMA_COMPRESSION)
 SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${LZMA_LIBRARY})
 ENDIF (ENABLE_LZMA_COMPRESSION)
+IF (ENABLE_BZIP2_COMPRESSION)
+SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${BZIP2_LIBRARIES})
+ENDIF (ENABLE_BZIP2_COMPRESSION)
 IF (NOT DEBIAN)
 SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES})
 ENDIF (NOT DEBIAN)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/examples/solv.c 
new/libsolv-0.1.0/examples/solv.c
--- old/libsolv-0.1.0/examples/solv.c   2012-05-31 12:11:34.0 +0200
+++ new/libsolv-0.1.0/examples/solv.c   2012-06-25 14:17:23.0 +0200
@@ -1494,15 +1494,19 @@
 load_stub(Pool *pool, Repodata *data, void *dp)
 {
   struct repoinfo *cinfo = data-repo-appdata;
+  switch (cinfo-type)
+{
 #ifdef ENABLE_SUSEREPO
-  if (cinfo-type == TYPE_SUSETAGS)
-return susetags_load_ext(data-repo, 

commit libsolv for openSUSE:Factory

2012-05-31 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-06-01 07:20:54

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-05-08 
11:51:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-06-01 
07:21:01.0 +0200
@@ -1,0 +2,7 @@
+Wed May 30 14:46:48 CEST 2012 - m...@suse.de
+
+- fix build for older suse versions
+- fix memory corruption in unneeded calculation when there are
+  product buddies
+
+---



Other differences:
--
++ libsolv-0.1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/bindings/ruby/CMakeLists.txt 
new/libsolv-0.1.0/bindings/ruby/CMakeLists.txt
--- old/libsolv-0.1.0/bindings/ruby/CMakeLists.txt  2012-05-08 
11:14:22.0 +0200
+++ new/libsolv-0.1.0/bindings/ruby/CMakeLists.txt  2012-05-31 
12:11:34.0 +0200
@@ -1,10 +1,10 @@
 FIND_PACKAGE (Ruby)
 
-IF (USE_VENDORDIRS)
+IF (USE_VENDORDIRS AND RUBY_VENDORARCH_DIR)
 SET (RUBY_INSTALL_DIR ${RUBY_VENDORARCH_DIR})
-ELSE (USE_VENDORDIRS)
+ELSE (USE_VENDORDIRS AND RUBY_VENDORARCH_DIR)
 SET (RUBY_INSTALL_DIR ${RUBY_SITEARCH_DIR})
-ENDIF (USE_VENDORDIRS)
+ENDIF (USE_VENDORDIRS AND RUBY_VENDORARCH_DIR)
 
 MESSAGE (STATUS Ruby executable: ${RUBY_EXECUTABLE})
 MESSAGE (STATUS Ruby installation dir: ${RUBY_INSTALL_DIR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/bindings/solv.i 
new/libsolv-0.1.0/bindings/solv.i
--- old/libsolv-0.1.0/bindings/solv.i   2012-05-08 11:14:23.0 +0200
+++ new/libsolv-0.1.0/bindings/solv.i   2012-05-31 12:11:34.0 +0200
@@ -143,9 +143,9 @@
   int size, i;
   VALUE *o;
   queue_init($1);
-  size = RARRAY($input)-len;
+  size = RARRAY_LEN($input);
   i = 0;
-  o = RARRAY($input)-ptr;
+  o = RARRAY_PTR($input);
   for (i = 0; i  size; i++, o++) {
 int v;
 int e = SWIG_AsVal_int(*o, v);
@@ -370,6 +370,14 @@
 #endif
 #include solv_xfopen.h
 
+/* for old ruby versions */
+#ifndef RARRAY_PTR
+#define RARRAY_PTR(ary) (RARRAY(ary)-ptr)
+#endif
+#ifndef RARRAY_LEN
+#define RARRAY_LEN(ary) (RARRAY(ary)-len)
+#endif
+
 #define true 1
 #define false 1
 
@@ -835,7 +843,8 @@
   %}
   void set_loadcallback(PyObject *callable) {
 if ($self-loadcallback == loadcallback) {
-  Py_DECREF($self-loadcallbackdata);
+  PyObject *obj = $self-loadcallbackdata;
+  Py_DECREF(obj);
 }
 if (callable) {
   Py_INCREF(callable);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libsolv-0.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake 
new/libsolv-0.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake
--- old/libsolv-0.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake 
1970-01-01 01:00:00.0 +0100
+++ new/libsolv-0.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake 
2012-05-31 12:11:34.0 +0200
@@ -0,0 +1,296 @@
+# FIND_PACKAGE_HANDLE_STANDARD_ARGS(name ... )
+#
+# This function is intended to be used in FindXXX.cmake modules files.
+# It handles the REQUIRED, QUIET and version-related arguments to 
FIND_PACKAGE().
+# It also sets the UPPERCASED_NAME_FOUND variable.
+# The package is considered found if all variables var1... listed contain
+# valid results, e.g. valid filepaths.
+#
+# There are two modes of this function. The first argument in both modes is
+# the name of the Find-module where it is called (in original casing).
+#
+# The first simple mode looks like this:
+#FIND_PACKAGE_HANDLE_STANDARD_ARGS(name (DEFAULT_MSG|Custom failure 
message) var1...varN )
+# If the variables var1 to varN are all valid, then UPPERCASED_NAME_FOUND
+# will be set to TRUE.
+# If DEFAULT_MSG is given as second argument, then the function will generate
+# itself useful success and error messages. You can also supply a custom error 
message
+# for the failure case. This is not recommended.
+#
+# The second mode is more powerful and also supports version checking:
+#FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [REQUIRED_VARS var1...varN]
+#   [VERSION_VAR   versionvar]
+#   [HANDLE_COMPONENTS]
+#   [CONFIG_MODE]
+#   [FAIL_MESSAGE Custom failure 
message] )
+#
+# As above, if var1 through varN are all valid, UPPERCASED_NAME_FOUND
+# will be set to TRUE.
+# After 

commit libsolv for openSUSE:Factory

2012-05-08 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-05-08 11:49:59

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-05-08 
06:46:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-05-08 
11:51:25.0 +0200
@@ -1,0 +2,5 @@
+Tue May  8 10:59:39 CEST 2012 - m...@suse.de
+
+- build with swig-2.0.6
+
+---



Other differences:
--
++ libsolv-0.1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/bindings/solv.i 
new/libsolv-0.1.0/bindings/solv.i
--- old/libsolv-0.1.0/bindings/solv.i   2012-04-24 16:34:48.0 +0200
+++ new/libsolv-0.1.0/bindings/solv.i   2012-05-08 11:14:23.0 +0200
@@ -548,7 +548,7 @@
 
 %nodefaultctor Repo;
 %nodefaultdtor Repo;
-typedef struct _Repo {
+typedef struct {
   Pool * const pool;
   const char * const name;
   int priority;
@@ -563,7 +563,7 @@
   Pool * const pool;
 } Solver;
 
-typedef struct chksum {
+typedef struct {
 } Chksum;
 
 %rename(xfopen) solv_xfopen;
@@ -1078,7 +1078,7 @@
   static const int REPO_USE_LOADING = REPO_USE_LOADING;
   static const int REPO_EXTEND_SOLVABLES = REPO_EXTEND_SOLVABLES;
   static const int SOLV_ADD_NO_STUBS = SOLV_ADD_NO_STUBS;   /* repo_solv */
-#ifdef ENABLE_SUSETAGS
+#ifdef ENABLE_SUSEREPO
   static const int SUSETAGS_RECORD_SHARES = SUSETAGS_RECORD_SHARES; /* 
repo_susetags */
 #endif
 
@@ -1561,7 +1561,7 @@
   void each() {
 Repo *n;
 while ((n = Pool_repo_iterator___next__($self)) != 0) {
-  rb_yield(SWIG_NewPointerObj(SWIG_as_voidptr(n), SWIGTYPE_p__Repo, 
SWIG_POINTER_OWN | 0));
+  rb_yield(SWIG_NewPointerObj(SWIG_as_voidptr(n), SWIGTYPE_p_Repo, 
SWIG_POINTER_OWN | 0));
 }
   }
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.1.0/package/libsolv.changes 
new/libsolv-0.1.0/package/libsolv.changes
--- old/libsolv-0.1.0/package/libsolv.changes   2012-04-24 16:34:48.0 
+0200
+++ new/libsolv-0.1.0/package/libsolv.changes   2012-05-08 11:14:23.0 
+0200
@@ -1,4 +1,9 @@
 ---
+Tue May  8 10:59:39 CEST 2012 - m...@suse.de
+
+- build with swig-2.0.6
+
+---
 Mon Apr 23 15:52:26 CEST 2012 - m...@suse.de
 
 - added testcase framework

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-05-08 06:46:18

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2012-02-08 
16:05:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-05-08 
06:46:45.0 +0200
@@ -1,0 +2,14 @@
+Mon Apr 23 15:52:26 CEST 2012 - m...@suse.de
+
+- added testcase framework
+- add solver_get_unneeded() to get a list of no longer needed
+  installed packages
+- changed duprule generation to ignore uninstallable packages [bnc#750485]
+- fix memory leaks
+- speed up whatprovides generation
+- support 64bit nums, return files sizes in bytes
+- return errors instead of calling exit()
+- support tilde in rpm version comparison [bnc#466994]
+- 0.1.0
+
+---

Old:

  libsolv-0.0.0.tar.bz2

New:

  libsolv-0.1.0.tar.bz2



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.SLfca9/_old  2012-05-08 06:46:49.0 +0200
+++ /var/tmp/diff_new_pack.SLfca9/_new  2012-05-08 06:46:49.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   libsolv
-Version:0.0.0
+Version:0.1.0
 Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2
@@ -166,6 +166,9 @@
 %if 0%{?fedora_version} || 0%{?rhel_version} = 600 || 0%{?centos_version} = 
600
 CMAKE_FLAGS=-DFEDORA=1
 %endif
+%if 0%{?suse_version}
+CMAKE_FLAGS=-DSUSE=1
+%endif
 
 cmake   $CMAKE_FLAGS \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -211,7 +214,9 @@
 
 %files tools
 %defattr(-,root,root)
+%if 0%{?suse_version}
 %exclude %{_bindir}/helix2solv
+%endif
 %exclude %{_bindir}/solv
 %{_bindir}/*
 
@@ -226,7 +231,9 @@
 %{_libdir}/libsolvext.so
 %endif
 %{_includedir}/solv
+%if 0%{?suse_version}
 %{_bindir}/helix2solv
+%endif
 %{_datadir}/cmake/Modules/*
 
 %files demo

++ libsolv-0.0.0.tar.bz2 - libsolv-0.1.0.tar.bz2 ++
 20528 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2012-02-08 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2012-02-08 16:05:31

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2011-10-24 
15:36:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2012-02-08 
16:05:32.0 +0100
@@ -1,0 +2,20 @@
+Tue Feb  7 16:33:10 CET 2012 - m...@suse.de
+
+- add findutils to the requires of libsolv-tools [bnc#743634]
+
+---
+Wed Feb  1 14:06:59 CET 2012 - m...@suse.de
+
+- add cleandeps support for install/update
+- check for cleandeps mistakes (untested)
+
+---
+Fri Jan 27 14:10:34 CET 2012 - m...@suse.de
+
+- make repo type code selection modular
+- add more solvable_ functions
+- add dependency getter/setter code to bindings
+- cleanup dup handling
+- hide more internals
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.Xjou2C/_old  2012-02-08 16:05:33.0 +0100
+++ /var/tmp/diff_new_pack.Xjou2C/_new  2012-02-08 16:05:33.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsolv
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -17,12 +17,10 @@
 
 Name:   libsolv
 Version:0.0.0
-Release:1
-License:BSD 3-Clause
+Release:0
 Url:git://gitorious.org/opensuse/libsolv.git
 Source: libsolv-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Group:  Development/Libraries/C and C++
 
 %bcond_without enable_static
 %bcond_without disable_shared
@@ -52,7 +50,9 @@
 %else
 BuildRequires:  expat-devel
 %endif
-BuildRequires:  cmake rpm-devel gcc-c++
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  rpm-devel
 BuildRequires:  zlib-devel
 
 %if %{with perl_binding}
@@ -68,7 +68,8 @@
 %else
 %global ruby_vendorarch %(ruby -rrbconfig -e 'puts 
Config::CONFIG[vendorarchdir]')
 %endif
-BuildRequires: ruby ruby-devel
+BuildRequires:  ruby
+BuildRequires:  ruby-devel
 BuildRequires: swig
 %endif
 %if %{with python_binding}
@@ -78,7 +79,8 @@
 %endif
 
 Summary:A new approach to package dependency solving
-
+License:BSD-3-Clause
+Group:  Development/Libraries/C and C++
 
 %description
 A new approach to package dependency solving
@@ -109,7 +111,7 @@
 Group:  Development/Libraries/C and C++
 Obsoletes:  satsolver-tools  0.18
 Provides:   satsolver-tools = 0.18
-Requires:   gzip bzip2 coreutils
+Requires:   gzip bzip2 coreutils findutils
 
 %description tools
 A new approach to package dependency solving.
@@ -169,7 +171,7 @@
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-   -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
%{?with_enable_static:-DENABLE_STATIC=1} \
%{?with_disable_shared:-DDISABLE_SHARED=1} \
%{?with_perl_binding:-DENABLE_PERL=1} \

++ libsolv-0.0.0.tar.bz2 ++
 9477 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsolv for openSUSE:Factory

2011-10-24 Thread h_root
Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory checked 
in at 2011-10-24 15:36:07

Comparing /work/SRC/openSUSE:Factory/libsolv (Old)
 and  /work/SRC/openSUSE:Factory/.libsolv.new (New)


Package is libsolv, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libsolv/libsolv.changes  2011-10-21 
16:32:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsolv.new/libsolv.changes 2011-10-24 
15:36:09.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 24 13:26:18 CEST 2011 - m...@suse.de
+
+- mls fixed package provides/obsoletes, but forgot to write 
+  a changes entry.
+
+---



Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.BEOusO/_old  2011-10-24 15:36:12.0 +0200
+++ /var/tmp/diff_new_pack.BEOusO/_new  2011-10-24 15:36:12.0 +0200
@@ -23,7 +23,6 @@
 Source: libsolv-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Group:  Development/Libraries/C and C++
-Prefix: /usr
 
 %bcond_without enable_static
 %bcond_without disable_shared
@@ -84,14 +83,6 @@
 %description
 A new approach to package dependency solving
 
-Authors:
-
-Michael Schroeder m...@suse.de
-Klaus Kaempf kkae...@suse.de
-Stephan Kulow co...@suse.de
-Michael Matz m...@suse.de
-Duncan Mac-Vicar P. dmacvi...@suse.de
-
 %if !%{with disable_shared}
 %package -n libsolv0
 Summary:A new approach to package dependency solving
@@ -100,20 +91,10 @@
 %description -n libsolv0
 A new approach to package dependency solving
 
-Authors:
-
-Michael Schroeder m...@suse.de
-Klaus Kaempf kkae...@suse.de
-Stephan Kulow co...@suse.de
-Michael Matz m...@suse.de
-Duncan Mac-Vicar P. dmacvi...@suse.de
-
 %endif
 %package devel
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
-Obsoletes:  libsatsolver-devel  0.18
-Provides:   libsatsolver-devel = 0.18
 Requires:   libsolv-tools = %version
 %if !%{with disable_shared}
 Requires:   libsolv0 = %version
@@ -123,14 +104,6 @@
 %description devel
 Development files for libsolv, a new approach to package dependency solving
 
-Authors:
-
-Michael Schroeder m...@suse.de
-Klaus Kaempf kkae...@suse.de
-Stephan Kulow co...@suse.de
-Michael Matz m...@suse.de
-Duncan Mac-Vicar P. dmacvi...@suse.de
-
 %package tools
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++

++ libsolv-0.0.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.0.0/README new/libsolv-0.0.0/README
--- old/libsolv-0.0.0/README2011-10-19 10:52:59.0 +0200
+++ new/libsolv-0.0.0/README2011-10-24 13:38:09.0 +0200
@@ -1,11 +1,11 @@
-This is libsolv, a free package dependency solver using a satisfyability
+This is libsolv, a free package dependency solver using a satisfiability
 algorihtm.
 
 This code is based on two major, but independent, blocks:
 
 1. Using a dictionary approach to store and retrieve package
and dependency information.
-   
+
 2. Using satisfiability, a well known and researched topic, for
resolving package dependencies.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.0.0/doc/libsolv.3 
new/libsolv-0.0.0/doc/libsolv.3
--- old/libsolv-0.0.0/doc/libsolv.3 2011-10-19 10:52:59.0 +0200
+++ new/libsolv-0.0.0/doc/libsolv.3 2011-10-24 13:38:09.0 +0200
@@ -2,90 +2,79 @@
 .TH LIBSOLV 7 May 2011
 .SH NAME
 libsolv \- package dependency solver library using a satisfiability algorithm
-
 .SH HISTORY
 This project was started in May 2007 when the zypp folks decided to switch
-to a database to speed up installation. As I'm not a big fan of databases,
-I wondered if there would be really some merit of using one for solving,
+to a database to speed up installation. As I am not a big fan of databases,
+I (mls) wondered if there would be really some merit of using one for solving,
 as package dependencies of all packages have to be read in anyway.
 .PP
-Back in 2002 I researched that using a dictionary approach for storing
+Back in 2002, I researched that using a dictionary approach for storing
 dependencies can reduce the packages file to 1/3 of its size. Extending
 this idea a bit more, I decided to store all strings and relations
-as unique 32bit numbers. This has three big advantages:
+as unique 32-bit numbers. This has three big advantages:
 .IP - 2
-because of the unification, testing if two strings are equal is the same 

commit libsolv for openSUSE:Factory

2011-10-13 Thread h_root

Hello community,

here is the log from the commit of package libsolv for openSUSE:Factory
checked in at Thu Oct 13 16:20:01 CEST 2011.





calling whatdependson for head-i586




Other differences:
--
++ libsolv.spec ++
--- /var/tmp/diff_new_pack.2tuqsw/_old  2011-10-13 16:19:57.0 +0200
+++ /var/tmp/diff_new_pack.2tuqsw/_new  2011-10-13 16:19:57.0 +0200
@@ -1,3 +1,22 @@
+#
+# spec file for package libsolv
+#
+# Copyright (c) 2011 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An Open Source License is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+
 Name:   libsolv
 Version:0.0.0
 Release:1
@@ -36,7 +55,7 @@
 %else
 BuildRequires:  expat-devel
 %endif
-BuildRequires:  cmake rpm-devel gcc-c++
+BuildRequires:  cmake gcc-c++ rpm-devel
 BuildRequires:  zlib-devel
 
 %if %{with perl_binding}
@@ -63,7 +82,6 @@
 
 Summary:A new approach to package dependency solving
 
-
 %description
 A new approach to package dependency solving
 
@@ -76,6 +94,7 @@
 Duncan Mac-Vicar P. dmacvi...@suse.de
 
 %if !%{with disable_shared}
+
 %package -n libsolv0
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
@@ -92,9 +111,12 @@
 Duncan Mac-Vicar P. dmacvi...@suse.de
 
 %endif
+
 %package devel
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
+Obsoletes:  libsatsolver-devel  0.18
+Provides:   libsatsolver-devel = 0.18
 Requires:   libsolv-tools = %version
 %if !%{with disable_shared}
 Requires:   libsolv0 = %version
@@ -115,8 +137,8 @@
 %package tools
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
-Obsoletes:  libsatsolver = 0.0.15
-Provides:   libsatsolver = %{version}-%{release}
+Obsoletes:  satsolver-tools  0.18
+Provides:   satsolver-tools = 0.18
 Requires:   gzip bzip2 coreutils
 
 %description tools
@@ -204,6 +226,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %if !%{with disable_shared}
+
 %post -n libsolv0 -p /sbin/ldconfig
 
 %postun -n libsolv0 -p /sbin/ldconfig
@@ -240,18 +263,21 @@
 %{_bindir}/solv
 
 %if %{with perl_binding}
+
 %files -n perl-solv
 %defattr(-,root,root)
 %{perl_vendorarch}/*
 %endif
 
 %if %{with ruby_binding}
+
 %files -n ruby-solv
 %defattr(-,root,root)
 %{ruby_vendorarch}/*
 %endif
 
 %if %{with python_binding}
+
 %files -n python-solv
 %defattr(-,root,root)
 %{python_sitearch}/*

++ libsolv-0.0.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsolv-0.0.0/package/libsolv.spec.in 
new/libsolv-0.0.0/package/libsolv.spec.in
--- old/libsolv-0.0.0/package/libsolv.spec.in   2011-10-10 14:56:48.0 
+0200
+++ new/libsolv-0.0.0/package/libsolv.spec.in   2011-10-13 10:43:37.0 
+0200
@@ -95,6 +95,8 @@
 %package devel
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
+Obsoletes:  libsatsolver-devel  0.18
+Provides:   libsatsolver-devel = 0.18
 Requires:   libsolv-tools = %version
 %if !%{with disable_shared}
 Requires:   libsolv@LIBSOLV_SOVERSION@ = %version
@@ -115,8 +117,8 @@
 %package tools
 Summary:A new approach to package dependency solving
 Group:  Development/Libraries/C and C++
-Obsoletes:  libsatsolver = 0.0.15
-Provides:   libsatsolver = %{version}-%{release}
+Obsoletes:  satsolver-tools  0.18
+Provides:   satsolver-tools = 0.18
 Requires:   gzip bzip2 coreutils
 
 %description tools

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org