fix for systemd 2:248 (flat libdir) [release 4.7.0-2mamba;Wed Apr 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:50:31 +01:00
parent 9b1e215855
commit 92725bf7cd

View File

@ -1,5 +1,5 @@
Name: dnf
Version: 4.6.1
Version: 4.7.0
Release: 2mamba
Summary: Package manager based on libdnf and libsolv
Group: System/Management
@ -18,9 +18,9 @@ Patch6: dnf-4.2.18-i586-default-arch.patch
Patch7: dnf-4.2.18-arm-default-arch.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libsystemd-devel >= 2:248
Requires: librepo
Requires: libcomps
Requires: libsolv
@ -99,16 +99,9 @@ mv %{buildroot}%{python3_sitelib}/dnf %{buildroot}%{python3_sitearch}
ln -s dnf-3 %{buildroot}%{_bindir}/dnf
ln -s dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic
install -d %{buildroot}/lib
mv %{buildroot}%{_prefix}/lib/systemd %{buildroot}/lib/
# YUM compat layer
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
mkdir -p %{buildroot}%{_sysconfdir}/yum
#ln -sr %{buildroot}%{_sysconfdir}/dnf/dnf.conf %{buildroot}%{_sysconfdir}/yum/yum.conf
#ln -sr %{buildroot}%{_sysconfdir}/dnf/pluginconf.d %{buildroot}%{_sysconfdir}/yum/pluginconf.d
#ln -sr %{buildroot}%{_sysconfdir}/dnf/protected.d %{buildroot}%{_sysconfdir}/yum/protected.d
#ln -sr %{buildroot}%{_sysconfdir}/dnf/vars %{buildroot}%{_sysconfdir}/yum/vars
%find_lang %{name} || touch %{name}.lang
@ -166,11 +159,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum
%files -n yum
%defattr(-,root,root)
#%dir %{_sysconfdir}/yum
#%{_sysconfdir}/yum/pluginconf.d
#%{_sysconfdir}/yum/protected.d
#%{_sysconfdir}/yum/vars
#%{_sysconfdir}/yum/yum.conf
%exclude %{_sysconfdir}/dnf/protected.d/yum.conf
%{_bindir}/yum
%{_mandir}/man1/yum-aliases.1*
@ -179,6 +167,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum
%{_mandir}/man8/yum.8*
%changelog
* Wed Apr 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.0-2mamba
- fix for systemd 2:248 (flat libdir)
* Tue Apr 13 2021 Automatic Build System <autodist@mambasoft.it> 4.7.0-1mamba
- automatic version update by autodist
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.1-2mamba
- obsolete smart