diff --git a/0035-base-set-priority-to-hawkey-repo-as-well-RhBug-14700.patch b/0035-base-set-priority-to-hawkey-repo-as-well-RhBug-14700.patch new file mode 100644 index 0000000..a6c905e --- /dev/null +++ b/0035-base-set-priority-to-hawkey-repo-as-well-RhBug-14700.patch @@ -0,0 +1,28 @@ +From d068279fa27d063745544bbe009d10422eae5327 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Sun, 27 Aug 2017 22:12:36 +0200 +Subject: [PATCH 35/50] base: set priority to hawkey repo as well + (RhBug:1470050) + +References: https://bugzilla.redhat.com/show_bug.cgi?id=1470050 +Reported-by: Pavel Raiskup +Signed-off-by: Igor Gnatenko +--- + dnf/base.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dnf/base.py b/dnf/base.py +index ab8812dd..0ea2f4d8 100644 +--- a/dnf/base.py ++++ b/dnf/base.py +@@ -118,6 +118,7 @@ class Base(object): + hrepo.primary_fn = repo._primary_fn + hrepo.filelists_fn = repo._filelists_fn + hrepo.cost = repo.cost ++ hrepo.priority = repo.priority + if repo._presto_fn: + hrepo.presto_fn = repo._presto_fn + else: +-- +2.13.5 + diff --git a/dnf.spec b/dnf.spec index a4ccfe0..8bdd3db 100644 --- a/dnf.spec +++ b/dnf.spec @@ -51,7 +51,7 @@ Name: dnf Version: 2.6.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Package manager forked from Yum, using libsolv as a dependency resolver # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ and GPLv2 and GPL @@ -62,6 +62,8 @@ URL: https://github.com/rpm-software-management/dnf Source0: %{name}-%{version}.tar.gz Patch0: %{name}-nose-use-module.patch Patch1: 0001-Re-introduce-dnf-automatic.-service-timer.patch +Patch35: 0035-base-set-priority-to-hawkey-repo-as-well-RhBug-14700.patch + BuildArch: noarch BuildRequires: cmake BuildRequires: gettext @@ -522,6 +524,9 @@ popd %endif %changelog +* Wed Sep 13 2017 Jeroen van Meeuwen - 2.6.3-11 +- Added patch to obey repository priority configuration + * Wed Sep 13 2017 Jaroslav Mracek - 2.6.3-10 - Added patch to add services for dnf-automatic that were previously removed