From 92725bf7cd4b03b6606b7b658f8809dc6f2bf0e2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:50:31 +0100 Subject: [PATCH] fix for systemd 2:248 (flat libdir) [release 4.7.0-2mamba;Wed Apr 21 2021] --- dnf.spec | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/dnf.spec b/dnf.spec index a5c5e73..fd8f5a1 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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 4.7.0-2mamba +- fix for systemd 2:248 (flat libdir) + +* Tue Apr 13 2021 Automatic Build System 4.7.0-1mamba +- automatic version update by autodist + * Mon Mar 08 2021 Silvan Calarco 4.6.1-2mamba - obsolete smart