Summary(pl.UTF-8): Zarządca pakietów
Name: dnf
Version: 4.12.0
-Release: 1
+Release: 2
Group: Base
# GPL v2+ with GPL v2 and GPL parts; for a breakdown of the licensing, see PACKAGE-LICENSING
License: GPL v2 (parts on GPL v2+ or GPL)
Source4: pld-multilib.repo
Patch0: install.patch
Patch1: repos.d.patch
+Patch2: uname-cpuinfo-deps.patch
URL: https://github.com/rpm-software-management/dnf
BuildRequires: bash-completion-devel
BuildRequires: cmake >= 2.4
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
install -d build
--- /dev/null
+--- dnf-4.12.0/dnf/cli/commands/check.py~ 2022-04-27 11:46:45.000000000 +0200
++++ dnf-4.12.0/dnf/cli/commands/check.py 2022-05-13 12:17:21.812109592 +0200
+@@ -80,6 +80,10 @@
+ for require in set(pkg.regular_requires) | set(set(pkg.requires_pre) - set(pkg.prereq_ignoreinst)):
+ if str(require).startswith('rpmlib'):
+ continue
++ if str(require).startswith('uname('):
++ continue
++ if str(require).startswith('cpuinfo('):
++ continue
+ if not len(q.filter(provides=[require])):
+ if str(require).startswith('('):
+ # rich deps can be only tested by solver
+--- dnf-4.12.0/dnf/cli/commands/repoquery.py~ 2022-04-27 11:46:45.000000000 +0200
++++ dnf-4.12.0/dnf/cli/commands/repoquery.py 2022-05-13 12:18:24.088053591 +0200
+@@ -674,6 +674,8 @@
+ usedpkgs = set() if usedpkgs is None or level == -1 else usedpkgs
+ if pkg.name.startswith("rpmlib") or pkg.name.startswith("solvable"):
+ return
++ if pkg.name.startswith("uname(") or pkg.name.startswith("cpuinfo("):
++ return
+ self.grow_tree(level, pkg, opts)
+ if pkg not in usedpkgs:
+ usedpkgs.add(pkg)