Summary: Package manager
Summary(pl.UTF-8): Zarządca pakietów
Name: dnf
-Version: 4.6.1
-Release: 7
+Version: 4.12.0
+Release: 0.1
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)
Source0: https://github.com/rpm-software-management/dnf/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 21880d44905d6aa67ab6bee1e86380b3
+# Source0-md5: 0e0242e443f87290efd16226b056f18c
Source1: pld.repo
Source2: pld-archive.repo
Source3: pld-debuginfo.repo
ENDIF()
+IF (NOT PYTHON_INSTALL_DIR)
- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+ EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('purelib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+ENDIF()
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
clean_requirements_on_remove=True
--- dnf-4.6.1/etc/dnf/dnf.conf~ 2021-03-02 21:05:07.000000000 +0700
+++ dnf-4.6.1/etc/dnf/dnf.conf 2022-05-11 22:11:47.577573922 +0700
-@@ -1,4 +1,5 @@
+@@ -1,6 +1,7 @@
+ # see `man dnf.conf` for defaults and possible options
+
[main]
+reposdir=/etc/dnf/repos.d
gpgcheck=1