Hello community,

here is the log from the commit of package dnf for openSUSE:Factory checked in 
at 2018-01-05 01:02:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnf (Old)
 and      /work/SRC/openSUSE:Factory/.dnf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnf"

Fri Jan  5 01:02:25 2018 rev:7 rq:561503 version:2.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dnf/dnf.changes  2017-11-14 12:59:57.236955395 
+0100
+++ /work/SRC/openSUSE:Factory/.dnf.new/dnf.changes     2018-01-05 
01:02:33.521267103 +0100
@@ -1,0 +2,6 @@
+Thu Jan  4 00:36:12 UTC 2018 - ngomp...@gmail.com
+
+- Ensure DNF can recognize SUSE distro-release and kernel packages properly
+  * Add patch: 0001-Add-additional-default-distroverpkg-and-installonlyp.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Add-additional-default-distroverpkg-and-installonlyp.patch

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

Other differences:
------------------
++++++ dnf.spec ++++++
--- /var/tmp/diff_new_pack.xQhBBQ/_old  2018-01-05 01:02:35.524600568 +0100
+++ /var/tmp/diff_new_pack.xQhBBQ/_new  2018-01-05 01:02:35.528599237 +0100
@@ -2,7 +2,7 @@
 # spec file for package dnf
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2017 Neal Gompa <ngomp...@gmail.com>.
+# Copyright (c) 2018 Neal Gompa <ngomp...@gmail.com>.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,6 +52,10 @@
 Url:            https://github.com/rpm-software-management/dnf
 Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
+# PATCH-FIX-UPSTREAM: Ensure DNF can recognize SUSE distro-release and kernel 
packages properly
+# Proposed upstream: https://github.com/rpm-software-management/dnf/pull/1007
+Patch0001:      0001-Add-additional-default-distroverpkg-and-installonlyp.patch
+
 # PATCH-FIX-OPENSUSE 
dnf-2.6.3-Switch-default-reposdir-to-etc-dnf-repos.d.patch  ngomp...@gmail.com 
-- Switch default reposdir to /etc/dnf/repos.d
 Patch1000:      dnf-2.6.3-Switch-default-reposdir-to-etc-dnf-repos.d.patch
 

++++++ 0001-Add-additional-default-distroverpkg-and-installonlyp.patch ++++++
>From b103053b71bfabadfee0129558e788e59d4f7665 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngomp...@gmail.com>
Date: Wed, 3 Jan 2018 19:10:34 -0500
Subject: [PATCH] Add additional default distroverpkg and installonlypkg names

The additional distroverpkg and installonlypkg names allow for
DNF to properly recognize variations from other distribution families,
notably the SUSE Linux distribution family.
---
 dnf/const.py.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dnf/const.py.in b/dnf/const.py.in
index 4f47ea70..44a204a4 100644
--- a/dnf/const.py.in
+++ b/dnf/const.py.in
@@ -23,12 +23,15 @@ import distutils.sysconfig
 
 CONF_FILENAME='/etc/dnf/dnf.conf' # :api
 CONF_AUTOMATIC_FILENAME='/etc/dnf/automatic.conf'
-DISTROVERPKG=('system-release(releasever)', 'redhat-release')
+DISTROVERPKG=('system-release(releasever)', 'system-release',
+              'distribution-release(releasever)', 'distribution-release',
+              'redhat-release', 'suse-release')
 GROUP_PACKAGE_TYPES = ('mandatory', 'default', 'conditional') # :api
 INSTALLONLYPKGS=['kernel', 'kernel-PAE',
                  'installonlypkg(kernel)',
                  'installonlypkg(kernel-module)',
-                 'installonlypkg(vm)']
+                 'installonlypkg(vm)',
+                 'multiversion(kernel)']
 LOG='dnf.log'
 LOG_HAWKEY='hawkey.log'
 LOG_LIBREPO='dnf.librepo.log'
-- 
2.15.1


Reply via email to