diff --git a/dnfdragora.spec b/dnfdragora.spec index 3d02aae..8ec15ed 100644 --- a/dnfdragora.spec +++ b/dnfdragora.spec @@ -1,6 +1,6 @@ Name: dnfdragora Version: 2.1.4 -Release: 1mamba +Release: 4mamba Summary: A dnf frontend based on libyui abstraction Group: System/Management Vendor: openmamba @@ -10,13 +10,13 @@ URL: https://github.com/manatools/dnfdragora Source: https://github.com/manatools/dnfdragora.git/%{version}/dnfdragora-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython3-devel +BuildRequires: libpython310-devel ## AUTOBUILDREQ-END BuildRequires: python-yui -BuildRequires: python-manatools-py3 -Requires: dnfdaemon +BuildRequires: python-manatools-py310 +Requires: dnfdaemon >= 0.3.22-3mamba Requires: python-yui -Requires: python-manatools-py3 +Requires: python-manatools-py310 Requires: libyui-mga-ncurses BuildRequires: cmake @@ -37,10 +37,10 @@ This package contains the GUI components for %{name}. Group: Graphical Desktop/Applications/Administration Summary: Update notifier applet for %{name} Requires: %{name}-gui = %{?epoch:%epoch:}%{version}-%{release} -Requires: python-CairoSVG-py3 -Requires: python-pyxdg-py3 -Requires: python-Pillow-py3 -Requires: python-pystray-py3 +Requires: python-CairoSVG-py310 +Requires: python-pyxdg-py310 +Requires: python-Pillow-py310 +Requires: python-pystray-py310 %description updater Update notifier applet for %{name}. @@ -49,9 +49,12 @@ Update notifier applet for %{name}. %prep %setup -q +sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.py.in tools/*.py %build -%cmake -d build +%cmake -d build \ + -DPYTHON_EXECUTABLE=%{__python310} + %make %install @@ -67,8 +70,8 @@ Update notifier applet for %{name}. %defattr(-,root,root) %{_sysconfdir}/dnfdragora/dnfdragora.yaml %{_bindir}/dnfdragora -%dir %{python3_sitelib}/dnfdragora -%{python3_sitelib}/dnfdragora/* +%dir %{python310_sitelib}/dnfdragora +%{python310_sitelib}/dnfdragora/* %dir %{_datadir}/dnfdragora %dir %{_datadir}/dnfdragora/images %{_datadir}/dnfdragora/images/*.png @@ -92,6 +95,15 @@ Update notifier applet for %{name}. %{_datadir}/applications/org.mageia.dnfdragora-updater.desktop %changelog +* Fri Mar 24 2023 Silvan Calarco 2.1.4-4mamba +- fix patching python 3.10 shebangs for bin/dnfdragora + +* Wed Mar 22 2023 Silvan Calarco 2.1.4-3mamba +- fix shebangs and requirements for python 3.10 + +* Wed Mar 22 2023 Silvan Calarco 2.1.4-2mamba +- rebuilt with python 3.10 + * Mon Jan 16 2023 Automatic Build System 2.1.4-1mamba - automatic version update by autodist