rebuilt with python3 [release 4.17.0-2mamba;Thu Jan 11 2024]

This commit is contained in:
Silvan Calarco 2024-01-14 10:35:01 +01:00
parent 2298803664
commit 63d9dc7109

View File

@ -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 <silvan.calarco@mambasoft.it> 4.17.0-2mamba
- rebuilt with python3
* Sat Sep 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.17.0-1mamba
- update to 4.17.0