From c321c7834ff87cdbb4a5f3a3a43b8f2d3502f7dd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 14 Jan 2024 10:35:24 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 0.3.22-4mamba;Thu Jan 11 2024] --- dnfdaemon.spec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/dnfdaemon.spec b/dnfdaemon.spec index 43238e8..df7a308 100644 --- a/dnfdaemon.spec +++ b/dnfdaemon.spec @@ -1,6 +1,6 @@ Name: dnfdaemon Version: 0.3.22 -Release: 3mamba +Release: 4mamba Summary: DBus daemon for doing package action with the dnf package manager Group: System/Management Vendor: openmamba @@ -10,9 +10,9 @@ URL: https://github.com/manatools/dnfdaemon/ Source: https://github.com/manatools/dnfdaemon.git/%{version}/dnfdaemon-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython310-devel +BuildRequires: libpython311-devel ## AUTOBUILDREQ-END -Requires: libdnf >= 0.70.0-2mamba +Requires: libdnf >= 0.72.0-2mamba %description dnf-daemon is a 2 DBus services there make part for dnf's API available for application via DBus calls. @@ -26,14 +26,14 @@ PolicyKit dialog to ask for password of a privileged user like root. %prep %setup -q -sed -i "s|%{__python3}$|%{__python310}|" daemon/*.py +#sed -i "s|%{__python3}$|%{__python3}|" daemon/*.py %build -%make PYTHON3=%{__python310} +%make PYTHON3=%{__python3} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall PYTHON3=%{__python310} +%makeinstall PYTHON3=%{__python3} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -60,11 +60,14 @@ sed -i "s|%{__python3}$|%{__python310}|" daemon/*.py %{_datadir}/dnfdaemon/dnfdaemon-session %{_datadir}/dnfdaemon/dnfdaemon-system %{_datadir}/polkit-1/actions/org.baseurl.DnfSystem.policy -%dir %{python310_sitelib}/dnfdaemon -%{python310_sitelib}/dnfdaemon/* +%dir %{python3_sitelib}/dnfdaemon +%{python3_sitelib}/dnfdaemon/* %doc COPYING %changelog +* Thu Jan 11 2024 Silvan Calarco 0.3.22-4mamba +- rebuilt with python3 == 3.11 + * Thu Mar 23 2023 Silvan Calarco 0.3.22-3mamba - require libdnf >= 0.70.0-2mamba (build with python 3.10)