adapt to changes in dnf5
This commit is contained in:
parent
c155436d21
commit
993f534ca4
2 changed files with 2 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ If it is not, it prints the list of dependent packages.
|
|||
## Requirements
|
||||
|
||||
- python3
|
||||
- DNF
|
||||
- DNF5 as dnf
|
||||
- internet connection
|
||||
|
||||
## Usage
|
||||
|
|
|
|||
3
leafdrop
3
leafdrop
|
|
@ -54,7 +54,7 @@ def get_b2s_mapping() -> dict[str, str]:
|
|||
"--repofrompath", "kojipkgs-source,https://kojipkgs.fedoraproject.org/repos/rawhide/latest/src/",
|
||||
"repoquery",
|
||||
"--arch", "i686,noarch",
|
||||
"--queryformat", "%{name} %{source_name}",
|
||||
"--queryformat", "%{name} %{source_name}\n",
|
||||
]
|
||||
|
||||
ret = subprocess.check_output(cmd, text=True)
|
||||
|
|
@ -105,7 +105,6 @@ def get_requires(package: str) -> tuple[list[str], list[str]]:
|
|||
"--repofrompath", "kojipkgs-source,https://kojipkgs.fedoraproject.org/repos/rawhide/latest/src/",
|
||||
"repoquery",
|
||||
"--arch", "src,i686,noarch",
|
||||
"--alldeps",
|
||||
"--whatrequires", package
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue