diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-04-25 19:28:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-02 09:08:52 +0100 |
commit | 4d8df76f401c7dde7dcb851e2536c7c00eb155eb (patch) | |
tree | 176ca3cdd0277e716f04c37850693dfb61414c1b /meta/recipes-devtools/dnf | |
parent | 7add0b8b4db11309f59cbea4490e0e0549951f86 (diff) | |
download | poky-4d8df76f401c7dde7dcb851e2536c7c00eb155eb.tar.gz |
dnf: upgrade 4.2.2 -> 4.2.21
Drop upstreamed patches.
(From OE-Core rev: 7828bf903001413cb38d34f4a2525f718380b88f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dnf')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf/Fix-SyntaxWarning.patch | 34 | ||||
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_4.2.21.bb (renamed from meta/recipes-devtools/dnf/dnf_4.2.2.bb) | 3 |
2 files changed, 1 insertions, 36 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/Fix-SyntaxWarning.patch b/meta/recipes-devtools/dnf/dnf/Fix-SyntaxWarning.patch deleted file mode 100644 index 1bd8b09594..0000000000 --- a/meta/recipes-devtools/dnf/dnf/Fix-SyntaxWarning.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 23c5b15efe42e5e6ee695e54798bac248532d8d6 Mon Sep 17 00:00:00 2001 | ||
2 | |||
3 | Date: Tue, 28 May 2019 13:14:51 +0200 | ||
4 | Subject: [oe-core][PATCH 1/1] Fix SyntaxWarning: "is" with a literal. Did you | ||
5 | mean "=="? | ||
6 | |||
7 | --- | ||
8 | dnf/cli/commands/repoquery.py | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | --- | ||
11 | |||
12 | Unchanged. Appears in version 4.2.7. | ||
13 | |||
14 | Upstream-Status: Backport [git://github.com/rpm-software-management/dnf.git] | ||
15 | |||
16 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
17 | |||
18 | |||
19 | diff --git a/dnf/cli/commands/repoquery.py b/dnf/cli/commands/repoquery.py | ||
20 | index 941a470..63fc668 100644 | ||
21 | --- a/dnf/cli/commands/repoquery.py | ||
22 | +++ b/dnf/cli/commands/repoquery.py | ||
23 | @@ -611,7 +611,7 @@ class RepoQueryCommand(commands.Command): | ||
24 | |||
25 | def tree_seed(self, query, aquery, opts, level=-1, usedpkgs=None): | ||
26 | for pkg in sorted(set(query.run()), key=lambda p: p.name): | ||
27 | - usedpkgs = set() if usedpkgs is None or level is -1 else usedpkgs | ||
28 | + usedpkgs = set() if usedpkgs is None or level == -1 else usedpkgs | ||
29 | if pkg.name.startswith("rpmlib") or pkg.name.startswith("solvable"): | ||
30 | return | ||
31 | self.grow_tree(level, pkg, opts) | ||
32 | -- | ||
33 | 2.7.4 | ||
34 | |||
diff --git a/meta/recipes-devtools/dnf/dnf_4.2.2.bb b/meta/recipes-devtools/dnf/dnf_4.2.21.bb index a046ffc05d..8f7757b72f 100644 --- a/meta/recipes-devtools/dnf/dnf_4.2.2.bb +++ b/meta/recipes-devtools/dnf/dnf_4.2.21.bb | |||
@@ -13,11 +13,10 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git \ | |||
13 | file://0005-Do-not-prepend-installroot-to-logdir.patch \ | 13 | file://0005-Do-not-prepend-installroot-to-logdir.patch \ |
14 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ | 14 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
15 | file://0030-Run-python-scripts-using-env.patch \ | 15 | file://0030-Run-python-scripts-using-env.patch \ |
16 | file://Fix-SyntaxWarning.patch \ | ||
17 | file://0001-set-python-path-for-completion_helper.patch \ | 16 | file://0001-set-python-path-for-completion_helper.patch \ |
18 | " | 17 | " |
19 | 18 | ||
20 | SRCREV = "9947306a55271b8b7c9e2b6e3b7d582885b6045d" | 19 | SRCREV = "864c381baabf024c299dca75abfda96139b8f583" |
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 20 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
22 | 21 | ||
23 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |