Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package microdnf for openSUSE:Factory 
checked in at 2021-04-22 18:03:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/microdnf (Old)
 and      /work/SRC/openSUSE:Factory/.microdnf.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "microdnf"

Thu Apr 22 18:03:05 2021 rev:6 rq:885034 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/microdnf/microdnf.changes        2021-02-17 
18:09:51.629858162 +0100
+++ /work/SRC/openSUSE:Factory/.microdnf.new.12324/microdnf.changes     
2021-04-22 18:03:08.830430761 +0200
@@ -1,0 +2,7 @@
+Tue Apr 13 14:31:58 UTC 2021 - Neal Gompa <ngomp...@gmail.com>
+
+- Update to 3.8.0
+  + Add "makecache" command
+  + Add "distro-sync" command
+
+-------------------------------------------------------------------

Old:
----
  microdnf-3.7.1.tar.gz

New:
----
  microdnf-3.8.0.tar.gz

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

Other differences:
------------------
++++++ microdnf.spec ++++++
--- /var/tmp/diff_new_pack.StTh3I/_old  2021-04-22 18:03:09.234431385 +0200
+++ /var/tmp/diff_new_pack.StTh3I/_new  2021-04-22 18:03:09.238431392 +0200
@@ -15,10 +15,10 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%global libdnf_version 0.56.0
+%global libdnf_version 0.62.0
 
 Name:           microdnf
-Version:        3.7.1
+Version:        3.8.0
 Release:        0
 Summary:        Lightweight implementation of DNF in C
 Group:          System/Packages

++++++ microdnf-3.7.1.tar.gz -> microdnf-3.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/.github/workflows/ci.yml 
new/microdnf-3.8.0/.github/workflows/ci.yml
--- old/microdnf-3.7.1/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 
+0100
+++ new/microdnf-3.8.0/.github/workflows/ci.yml 2021-04-13 14:37:08.000000000 
+0200
@@ -0,0 +1,55 @@
+---
+name: DNF CI
+on: pull_request_target
+
+jobs:
+  copr-build:
+    name: Copr Build
+    runs-on: ubuntu-latest
+    container:
+      image: ghcr.io/rpm-software-management/dnf-ci-host
+    outputs:
+      package-urls: ${{steps.copr-build.outputs.package-urls}}
+    steps:
+      - name: Check out ci-dnf-stack
+        uses: actions/checkout@v2
+        with:
+          repository: rpm-software-management/ci-dnf-stack
+
+      - name: Setup CI
+        id: setup-ci
+        uses: ./.github/actions/setup-ci
+        with:
+          copr-user: ${{secrets.COPR_USER}}
+          copr-api-token: ${{secrets.COPR_API_TOKEN}}
+
+      - name: Check out sources
+        uses: actions/checkout@v2
+        with:
+          path: gits/${{github.event.repository.name}}
+          ref: ${{github.event.pull_request.head.sha}}  # check out the PR HEAD
+          fetch-depth: 0
+
+      - name: Run Copr Build
+        id: copr-build
+        uses: ./.github/actions/copr-build
+        with:
+          copr-user: ${{steps.setup-ci.outputs.copr-user}}
+
+  integration-tests:
+    name: DNF Integration Tests
+    needs: copr-build
+    runs-on: ubuntu-latest
+    container:
+      image: ghcr.io/rpm-software-management/dnf-ci-host
+      options: --privileged
+    steps:
+      - name: Check out ci-dnf-stack
+        uses: actions/checkout@v2
+        with:
+          repository: rpm-software-management/ci-dnf-stack
+
+      - name: Run Integration Tests
+        uses: ./.github/actions/integration-tests
+        with:
+          package-urls: ${{needs.copr-build.outputs.package-urls}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/CMakeLists.txt 
new/microdnf-3.8.0/CMakeLists.txt
--- old/microdnf-3.7.1/CMakeLists.txt   2021-02-12 00:45:26.000000000 +0100
+++ new/microdnf-3.8.0/CMakeLists.txt   2021-04-13 14:37:08.000000000 +0200
@@ -1,6 +1,6 @@
 cmake_minimum_required (VERSION 2.8.5)
 project (microdnf C)
-set (PROJECT_VERSION 3.7.1)
+set (PROJECT_VERSION 3.8.0)
 
 list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
 
@@ -18,7 +18,7 @@
 pkg_check_modules (GLIB REQUIRED glib-2.0>=2.44.0)
 pkg_check_modules (GOBJECT REQUIRED gobject-2.0>=2.44.0)
 pkg_check_modules (PEAS REQUIRED libpeas-1.0>=1.20.0)
-pkg_check_modules (LIBDNF REQUIRED libdnf>=0.56.0)
+pkg_check_modules (LIBDNF REQUIRED libdnf>=0.62.0)
 pkg_check_modules (SCOLS REQUIRED smartcols)
 
 set (PKG_LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR}/dnf)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/bors.toml new/microdnf-3.8.0/bors.toml
--- old/microdnf-3.7.1/bors.toml        2021-02-12 00:45:26.000000000 +0100
+++ new/microdnf-3.8.0/bors.toml        1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-status = ["DNF CI"]
-timeout_sec = 10800  # 3 hours
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/dnf/CMakeLists.txt 
new/microdnf-3.8.0/dnf/CMakeLists.txt
--- old/microdnf-3.7.1/dnf/CMakeLists.txt       2021-02-12 00:45:26.000000000 
+0100
+++ new/microdnf-3.8.0/dnf/CMakeLists.txt       2021-04-13 14:37:08.000000000 
+0200
@@ -20,6 +20,11 @@
                         INTERNAL)
 list (APPEND DNF_COMMAND_UPGRADE "plugins/upgrade/dnf-command-upgrade.c")
 
+glib_compile_resources (DNF_COMMAND_DISTROSYNC 
plugins/distrosync/dnf-command-distrosync.gresource.xml
+                        C_PREFIX dnf_command_distrosync
+                        INTERNAL)
+list (APPEND DNF_COMMAND_DISTROSYNC 
"plugins/distrosync/dnf-command-distrosync.c")
+
 glib_compile_resources (DNF_COMMAND_REPOLIST 
plugins/repolist/dnf-command-repolist.gresource.xml
                         C_PREFIX dnf_command_repolist
                         INTERNAL)
@@ -40,6 +45,11 @@
                         INTERNAL)
 list (APPEND DNF_COMMAND_DOWNLOAD "plugins/download/dnf-command-download.c")
 
+glib_compile_resources (DNF_COMMAND_MAKECACHE 
plugins/makecache/dnf-command-makecache.gresource.xml
+                        C_PREFIX dnf_command_makecache
+                        INTERNAL)
+list (APPEND DNF_COMMAND_MAKECACHE "plugins/makecache/dnf-command-makecache.c")
+
 glib_compile_resources (DNF_COMMAND_MODULE_ENABLE 
plugins/module_enable/dnf-command-module_enable.gresource.xml
                         C_PREFIX dnf_command_module_enable
                         INTERNAL)
@@ -62,10 +72,12 @@
                 ${DNF_COMMAND_REINSTALL}
                 ${DNF_COMMAND_REMOVE}
                 ${DNF_COMMAND_UPGRADE}
+                ${DNF_COMMAND_DISTROSYNC}
                 ${DNF_COMMAND_REPOLIST}
                 ${DNF_COMMAND_REPOQUERY}
                 ${DNF_COMMAND_CLEAN}
                 ${DNF_COMMAND_DOWNLOAD}
+                ${DNF_COMMAND_MAKECACHE}
                 ${DNF_COMMAND_MODULE_ENABLE}
                 ${DNF_COMMAND_MODULE_DISABLE}
                 ${DNF_COMMAND_MODULE_RESET})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/dnf/meson.build 
new/microdnf-3.8.0/dnf/meson.build
--- old/microdnf-3.7.1/dnf/meson.build  2021-02-12 00:45:26.000000000 +0100
+++ new/microdnf-3.8.0/dnf/meson.build  2021-04-13 14:37:08.000000000 +0200
@@ -39,6 +39,15 @@
   ),
   'plugins/upgrade/dnf-command-upgrade.c',
 
+  # distro-sync
+  gnome.compile_resources(
+    'dnf-distrosync',
+    'plugins/distrosync/dnf-command-distrosync.gresource.xml',
+    c_name : 'dnf_command_distrosync',
+    source_dir : 'plugins/distrosync',
+  ),
+  'plugins/distrosync/dnf-command-distrosync.c',
+
   # repolist
   gnome.compile_resources(
     'dnf-repolist',
@@ -75,6 +84,15 @@
   ),
   'plugins/download/dnf-command-download.c',
 
+  # makecache
+  gnome.compile_resources(
+    'dnf-makecache',
+    'plugins/makecache/dnf-command-makecache.gresource.xml',
+    c_name : 'dnf_command_makecache',
+    source_dir : 'plugins/makecache',
+  ),
+  'plugins/makecache/dnf-command-makecache.c',
+
   # module enable
   gnome.compile_resources(
     'dnf-module_enable',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/distrosync/distrosync.plugin 
new/microdnf-3.8.0/dnf/plugins/distrosync/distrosync.plugin
--- old/microdnf-3.7.1/dnf/plugins/distrosync/distrosync.plugin 1970-01-01 
01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/distrosync/distrosync.plugin 2021-04-13 
14:37:08.000000000 +0200
@@ -0,0 +1,11 @@
+[Plugin]
+Module = command_distro-sync
+Embedded = dnf_command_distrosync_register_types
+Name = distro-sync
+Description = Upgrade/downgrade packages to match versions in repositories
+Authors = Neal Gompa <ngomp...@gmail.com>
+License = GPL-2.0+
+Copyright = Copyright ?? 2021 Neal Gompa
+X-Command-Syntax = distro-sync [PACKAGE???]
+X-Alias-Name = dsync
+X-Alias-Description = Compatibility alias for the "distro-sync" command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.c 
new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.c
--- old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.c  
1970-01-01 01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.c  
2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,117 @@
+/* dnf-command-distrosync.c
+ *
+ * Copyright ?? 2021 Neal Gompa <ngomp...@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "dnf-command-distrosync.h"
+#include "dnf-utils.h"
+
+struct _DnfCommandDistroSync
+{
+  PeasExtensionBase parent_instance;
+};
+
+static void dnf_command_distrosync_iface_init (DnfCommandInterface *iface);
+
+G_DEFINE_DYNAMIC_TYPE_EXTENDED (DnfCommandDistroSync,
+                                dnf_command_distrosync,
+                                PEAS_TYPE_EXTENSION_BASE,
+                                0,
+                                G_IMPLEMENT_INTERFACE (DNF_TYPE_COMMAND,
+                                                       
dnf_command_distrosync_iface_init))
+
+static void
+dnf_command_distrosync_init (DnfCommandDistroSync *self)
+{
+}
+
+static gboolean
+dnf_command_distrosync_run (DnfCommand      *cmd,
+                            int              argc,
+                            char            *argv[],
+                            GOptionContext  *opt_ctx,
+                            DnfContext      *ctx,
+                            GError         **error)
+{
+  g_auto(GStrv) pkgs = NULL;
+  const GOptionEntry opts[] = {
+    { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &pkgs, NULL, 
NULL },
+    { NULL }
+  };
+  g_option_context_add_main_entries (opt_ctx, opts, NULL);
+
+  if (!g_option_context_parse (opt_ctx, &argc, &argv, error))
+    return FALSE;
+
+  if (pkgs == NULL)
+    {
+      if (!dnf_context_distrosync_all (ctx, error))
+        return FALSE;
+    }
+  else
+    {
+      /* Sync each package */
+      for (GStrv pkg = pkgs; *pkg != NULL; pkg++)
+        {
+          if (!dnf_context_distrosync (ctx, *pkg, error))
+            return FALSE;
+        }
+    }
+  DnfGoalActions flags = 0;
+  if (dnf_context_get_best())
+    {
+      flags |= DNF_FORCE_BEST;
+    }
+  if (!dnf_context_get_install_weak_deps ())
+    flags |= DNF_IGNORE_WEAK_DEPS;
+  if (!dnf_goal_depsolve (dnf_context_get_goal (ctx), flags, error))
+    return FALSE;
+  if (!dnf_utils_print_transaction (ctx))
+    return TRUE;
+  if (!dnf_utils_userconfirm ())
+    return FALSE;
+  if (!dnf_context_run (ctx, NULL, error))
+    return FALSE;
+  g_print ("Complete.\n");
+
+  return TRUE;
+}
+
+static void
+dnf_command_distrosync_class_init (DnfCommandDistroSyncClass *klass)
+{
+}
+
+static void
+dnf_command_distrosync_iface_init (DnfCommandInterface *iface)
+{
+  iface->run = dnf_command_distrosync_run;
+}
+
+static void
+dnf_command_distrosync_class_finalize (DnfCommandDistroSyncClass *klass)
+{
+}
+
+G_MODULE_EXPORT void
+dnf_command_distrosync_register_types (PeasObjectModule *module)
+{
+  dnf_command_distrosync_register_type (G_TYPE_MODULE (module));
+
+  peas_object_module_register_extension_type (module,
+                                              DNF_TYPE_COMMAND,
+                                              DNF_TYPE_COMMAND_DISTROSYNC);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.gresource.xml 
new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.gresource.xml
--- 
old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.gresource.xml  
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.gresource.xml  
    2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+  <gresource prefix="/org/fedoraproject/dnf/plugins/distrosync">
+    <file>distrosync.plugin</file>
+  </gresource>
+</gresources>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.h 
new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.h
--- old/microdnf-3.7.1/dnf/plugins/distrosync/dnf-command-distrosync.h  
1970-01-01 01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/distrosync/dnf-command-distrosync.h  
2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,31 @@
+/* dnf-command-distrosync.h
+ *
+ * Copyright ?? 2021 Neal Gompa <ngomp...@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "dnf-command.h"
+#include <libpeas/peas.h>
+
+G_BEGIN_DECLS
+
+#define DNF_TYPE_COMMAND_DISTROSYNC dnf_command_distrosync_get_type ()
+G_DECLARE_FINAL_TYPE (DnfCommandDistroSync, dnf_command_distrosync, DNF, 
COMMAND_DISTROSYNC, PeasExtensionBase)
+
+G_MODULE_EXPORT void dnf_command_distrosync_register_types (PeasObjectModule 
*module);
+
+G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.c 
new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.c
--- old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.c    
1970-01-01 01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.c    
2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,95 @@
+/* dnf-command-makecache.c
+ *
+ * Copyright (C) 2021 Red Hat, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "dnf-command-makecache.h"
+
+struct _DnfCommandMakecache
+{
+  PeasExtensionBase parent_instance;
+};
+
+static void dnf_command_makecache_iface_init (DnfCommandInterface *iface);
+
+G_DEFINE_DYNAMIC_TYPE_EXTENDED (DnfCommandMakecache,
+                                dnf_command_makecache,
+                                PEAS_TYPE_EXTENSION_BASE,
+                                0,
+                                G_IMPLEMENT_INTERFACE (DNF_TYPE_COMMAND,
+                                                       
dnf_command_makecache_iface_init))
+
+static void
+dnf_command_makecache_init (DnfCommandMakecache *self)
+{
+}
+
+static gboolean
+dnf_command_makecache_run (DnfCommand      *cmd,
+                           int              argc,
+                           char            *argv[],
+                           GOptionContext  *opt_ctx,
+                           DnfContext      *ctx,
+                           GError         **error)
+{
+  const GOptionEntry opts[] = {
+    { NULL }
+  };
+  g_option_context_add_main_entries (opt_ctx, opts, NULL);
+
+  if (!g_option_context_parse (opt_ctx, &argc, &argv, error))
+    return FALSE;
+
+  if (argc > 1)
+    {
+      g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_UNKNOWN_OPTION, 
"Unknown argument %s", argv[1]);
+      return FALSE;
+    }
+
+  DnfState * state = dnf_context_get_state (ctx);
+  DnfContextSetupSackFlags sack_flags = DNF_CONTEXT_SETUP_SACK_FLAG_SKIP_RPMDB;
+  dnf_context_setup_sack_with_flags (ctx, state, sack_flags, error);
+
+  g_print ("Metadata cache created.\n");
+
+  return TRUE;
+}
+
+static void
+dnf_command_makecache_class_init (DnfCommandMakecacheClass *klass)
+{
+}
+
+static void
+dnf_command_makecache_iface_init (DnfCommandInterface *iface)
+{
+  iface->run = dnf_command_makecache_run;
+}
+
+static void
+dnf_command_makecache_class_finalize (DnfCommandMakecacheClass *klass)
+{
+}
+
+G_MODULE_EXPORT void
+dnf_command_makecache_register_types (PeasObjectModule *module)
+{
+  dnf_command_makecache_register_type (G_TYPE_MODULE (module));
+
+  peas_object_module_register_extension_type (module,
+                                              DNF_TYPE_COMMAND,
+                                              DNF_TYPE_COMMAND_MAKECACHE);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.gresource.xml 
new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.gresource.xml
--- 
old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.gresource.xml    
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.gresource.xml    
    2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+  <gresource prefix="/org/fedoraproject/dnf/plugins/makecache">
+    <file>makecache.plugin</file>
+  </gresource>
+</gresources>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.h 
new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.h
--- old/microdnf-3.7.1/dnf/plugins/makecache/dnf-command-makecache.h    
1970-01-01 01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/makecache/dnf-command-makecache.h    
2021-04-13 14:37:08.000000000 +0200
@@ -0,0 +1,31 @@
+/* dnf-command-makecache.h
+ *
+ * Copyright (C) 2021 Red Hat, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "dnf-command.h"
+#include <libpeas/peas.h>
+
+G_BEGIN_DECLS
+
+#define DNF_TYPE_COMMAND_MAKECACHE dnf_command_makecache_get_type ()
+G_DECLARE_FINAL_TYPE (DnfCommandMakecache, dnf_command_makecache, DNF, 
COMMAND_MAKECACHE, PeasExtensionBase)
+
+G_MODULE_EXPORT void dnf_command_makecache_register_types (PeasObjectModule 
*module);
+
+G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microdnf-3.7.1/dnf/plugins/makecache/makecache.plugin 
new/microdnf-3.8.0/dnf/plugins/makecache/makecache.plugin
--- old/microdnf-3.7.1/dnf/plugins/makecache/makecache.plugin   1970-01-01 
01:00:00.000000000 +0100
+++ new/microdnf-3.8.0/dnf/plugins/makecache/makecache.plugin   2021-04-13 
14:37:08.000000000 +0200
@@ -0,0 +1,9 @@
+[Plugin]
+Module = command_makecache
+Embedded = dnf_command_makecache_register_types
+Name = makecache
+Description = Generate the metadata cache
+Authors = Jaroslav Rohel <jro...@redhat.com>
+License = GPL-2.0+
+Copyright = Copyright (C) 2021 Red Hat, Inc.
+X-Command-Syntax = makecache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/meson.build 
new/microdnf-3.8.0/meson.build
--- old/microdnf-3.7.1/meson.build      2021-02-12 00:45:26.000000000 +0100
+++ new/microdnf-3.8.0/meson.build      2021-04-13 14:37:08.000000000 +0200
@@ -1,5 +1,5 @@
 project('microdnf', 'c',
-        version : '3.7.1',
+        version : '3.8.0',
         license : 'GPL-2.0+',
         default_options : [
           'b_asneeded=True',
@@ -32,7 +32,7 @@
 glib = dependency('glib-2.0', version : '>=2.44.0')
 gobject = dependency('gobject-2.0', version : '>=2.44.0')
 libpeas = dependency('libpeas-1.0', version : '>=1.20.0')
-libdnf = dependency('libdnf', version : '>=0.56.0')
+libdnf = dependency('libdnf', version : '>=0.62.0')
 scols = dependency('smartcols')
 
 pkg_libdir = join_paths(get_option('prefix'), get_option('libdir'), 'dnf')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microdnf-3.7.1/microdnf.spec 
new/microdnf-3.8.0/microdnf.spec
--- old/microdnf-3.7.1/microdnf.spec    2021-02-12 00:45:26.000000000 +0100
+++ new/microdnf-3.8.0/microdnf.spec    2021-04-13 14:37:08.000000000 +0200
@@ -1,7 +1,7 @@
-%global libdnf_version 0.56.0
+%global libdnf_version 0.62.0
 
 Name:           microdnf
-Version:        3.7.1
+Version:        3.8.0
 Release:        1%{?dist}
 Summary:        Lightweight implementation of DNF in C
 

Reply via email to