rebuilt with python 3.10 [release 4.14.0-3mamba;Thu Mar 23 2023]
This commit is contained in:
parent
24b67e7fe8
commit
0f2b7a8187
27
dnf.spec
27
dnf.spec
@ -1,6 +1,6 @@
|
||||
Name: dnf
|
||||
Version: 4.14.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Package manager based on libdnf and libsolv
|
||||
Group: System/Management
|
||||
Vendor: openmamba
|
||||
@ -19,19 +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
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libsystemd-devel >= 2:248
|
||||
Requires: librepo
|
||||
Requires: libcomps
|
||||
Requires: libsolv
|
||||
Requires: libdnf >= 0.65.0
|
||||
Requires: python-rpm-py3
|
||||
Requires: python-gpg-py3
|
||||
Requires: python-libcomps-py3
|
||||
#Requires: python-backports-lzma-py3
|
||||
#Requires: python-iniparse-py3
|
||||
#Requires: python-enum34-py3
|
||||
Requires: libdnf >= 0.70.0-2mamba
|
||||
Requires: python-rpm-py310
|
||||
Requires: python-gpg-py310
|
||||
Requires: python-libcomps-py310
|
||||
%{?systemd_requires}
|
||||
Provides: dnf-command(alias)
|
||||
Provides: dnf-command(autoremove)
|
||||
@ -84,7 +82,7 @@ This package provides a configuration compatibility layer with YUM.
|
||||
|
||||
%build
|
||||
%cmake -d build \
|
||||
-DPYTHON_DESIRED=3
|
||||
-DPYTHON_DESIRED=%{__python310}
|
||||
|
||||
%make
|
||||
make doc
|
||||
@ -94,8 +92,8 @@ make doc
|
||||
%makeinstall -C build
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
install -d %{buildroot}%{python3_sitearch}
|
||||
mv %{buildroot}%{python3_sitelib}/dnf %{buildroot}%{python3_sitearch}
|
||||
install -d %{buildroot}%{python310_sitearch}
|
||||
mv %{buildroot}%{python310_sitelib}/dnf %{buildroot}%{python310_sitearch}
|
||||
%endif
|
||||
|
||||
ln -s dnf-3 %{buildroot}%{_bindir}/dnf
|
||||
@ -137,8 +135,8 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum
|
||||
%{_bindir}/dnf-automatic
|
||||
%{_bindir}/dnf-3
|
||||
%{_bindir}/dnf-automatic-3
|
||||
%dir %{python3_sitearch}/dnf
|
||||
%{python3_sitearch}/dnf/*
|
||||
%dir %{python310_sitearch}/dnf
|
||||
%{python310_sitearch}/dnf/*
|
||||
%{_unitdir}/dnf-automatic-download.service
|
||||
%{_unitdir}/dnf-automatic-download.timer
|
||||
%{_unitdir}/dnf-automatic-install.service
|
||||
@ -169,6 +167,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum
|
||||
%{_mandir}/man8/yum.8*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.0-3mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
* Tue Jan 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.0-2mamba
|
||||
- fix install-debuginfo by patching debuginfo suffix for openmamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user