rebuilt with python3 (3.11) [release 2.1.6-2mamba;Thu Jan 11 2024]

This commit is contained in:
Silvan Calarco 2024-01-14 10:35:38 +01:00
parent 02a83144b2
commit 75e6329916

View File

@ -1,6 +1,6 @@
Name: dnfdragora
Version: 2.1.6
Release: 1mamba
Release: 2mamba
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: libpython310-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python-yui
BuildRequires: python-manatools-py310
BuildRequires: python-manatools-py3
Requires: dnfdaemon >= 0.3.22-3mamba
Requires: python-yui
Requires: python-manatools-py310
Requires: python-manatools-py3
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-py310
Requires: python-pyxdg-py310
Requires: python-Pillow-py310
Requires: python-pystray-py310
Requires: python-CairoSVG-py3
Requires: python-pyxdg-py3
Requires: python-Pillow-py3
Requires: python-pystray-py3
%description updater
Update notifier applet for %{name}.
@ -49,11 +49,11 @@ Update notifier applet for %{name}.
%prep
%setup -q
sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.py.in tools/*.py
#sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.py.in tools/*.py
%build
%cmake -d build \
-DPYTHON_EXECUTABLE=%{__python310}
-DPYTHON_EXECUTABLE=%{__python3}
%make
@ -70,8 +70,8 @@ sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.p
%defattr(-,root,root)
%{_sysconfdir}/dnfdragora/dnfdragora.yaml
%{_bindir}/dnfdragora
%dir %{python310_sitelib}/dnfdragora
%{python310_sitelib}/dnfdragora/*
%dir %{python3_sitelib}/dnfdragora
%{python3_sitelib}/dnfdragora/*
%dir %{_datadir}/dnfdragora
%dir %{_datadir}/dnfdragora/images
%{_datadir}/dnfdragora/images/*.png
@ -95,6 +95,9 @@ sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.p
%{_datadir}/applications/org.mageia.dnfdragora-updater.desktop
%changelog
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-2mamba
- rebuilt with python3 (3.11)
* Wed Jan 10 2024 Automatic Build System <autodist@openmamba.org> 2.1.6-1mamba
- automatic version update by autodist