From 63d9dc7109db8b85ab6d7901fc7cbe5345c492d8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 14 Jan 2024 10:35:01 +0100 Subject: [PATCH] rebuilt with python3 [release 4.17.0-2mamba;Thu Jan 11 2024] --- dnf.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/dnf.spec b/dnf.spec index a3c82a3..d9a6029 100644 --- a/dnf.spec +++ b/dnf.spec @@ -1,6 +1,6 @@ Name: dnf Version: 4.17.0 -Release: 1mamba +Release: 2mamba Summary: Package manager based on libdnf and libsolv Group: System/Management Vendor: openmamba @@ -19,17 +19,17 @@ Patch7: dnf-4.2.18-arm-default-arch.patch Patch8: dnf-4.14.0-debuginfo-suffix-openmamba.patch License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython310-devel +BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libsystemd-devel >= 2:248 Requires: librepo Requires: libcomps Requires: libsolv -Requires: libdnf >= 0.70.0-2mamba -Requires: python-rpm-py310 -Requires: python-gpg-py310 -Requires: python-libcomps-py310 +Requires: libdnf >= 0.72.0-2mamba +Requires: python-rpm-py3 +Requires: python-gpg-py3 +Requires: python-libcomps-py3 %{?systemd_requires} Provides: dnf-command(alias) Provides: dnf-command(autoremove) @@ -82,7 +82,7 @@ This package provides a configuration compatibility layer with YUM. %build %cmake -d build \ - -DPYTHON_DESIRED=%{__python310} + -DPYTHON_DESIRED=%{__python3} %make make doc @@ -92,8 +92,8 @@ make doc %makeinstall -C build %ifarch x86_64 aarch64 -install -d %{buildroot}%{python310_sitearch} -mv %{buildroot}%{python310_sitelib}/dnf %{buildroot}%{python310_sitearch} +install -d %{buildroot}%{python3_sitearch} +mv %{buildroot}%{python3_sitelib}/dnf %{buildroot}%{python3_sitearch} %endif ln -s dnf-3 %{buildroot}%{_bindir}/dnf @@ -135,8 +135,8 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum %{_bindir}/dnf-automatic %{_bindir}/dnf-3 %{_bindir}/dnf-automatic-3 -%dir %{python310_sitearch}/dnf -%{python310_sitearch}/dnf/* +%dir %{python3_sitearch}/dnf +%{python3_sitearch}/dnf/* %{_unitdir}/dnf-automatic-download.service %{_unitdir}/dnf-automatic-download.timer %{_unitdir}/dnf-automatic-install.service @@ -167,6 +167,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum %{_mandir}/man8/yum.8* %changelog +* Thu Jan 11 2024 Silvan Calarco 4.17.0-2mamba +- rebuilt with python3 + * Sat Sep 02 2023 Silvan Calarco 4.17.0-1mamba - update to 4.17.0