From 9e5d507fa83edd3af02630b32dba0917ae312fd450bc5ade788e5773b38299c8 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 17 Feb 2023 11:11:32 +0000 Subject: [PATCH] - Drop build requirement on libpci, it's not more needed since udev hwdb was introduced 11 years ago. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1347 --- files.uefi-boot | 2 +- systemd.changes | 6 ++++++ systemd.spec | 4 +--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/files.uefi-boot b/files.uefi-boot index a50867c4..75c3d0c4 100644 --- a/files.uefi-boot +++ b/files.uefi-boot @@ -31,7 +31,7 @@ %{_prefix}/lib/kernel/install.conf %{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install -# These are part of the very few exceptions where glob pattern is allowd. +# These are the few exceptions where glob pattern is allowed. %{_systemd_util_dir}/boot/efi/linux*.efi.stub %{_systemd_util_dir}/boot/efi/linux*.elf.stub %{_systemd_util_dir}/boot/efi/systemd-boot*.efi diff --git a/systemd.changes b/systemd.changes index ad21e72b..d7f141cb 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 17 11:06:41 UTC 2023 - Franck Bui + +- Drop build requirement on libpci, it's not more needed since udev hwdb was + introduced 11 years ago. + ------------------------------------------------------------------- Tue Feb 7 08:44:32 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 2d222902..e79695e4 100644 --- a/systemd.spec +++ b/systemd.spec @@ -114,7 +114,6 @@ BuildRequires: python3-jinja2 BuildRequires: suse-module-tools >= 12.4 BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(blkid) >= 2.26 -BuildRequires: pkgconfig(libpci) >= 3 %if %{with bootstrap} #!BuildIgnore: dbus-1 @@ -749,7 +748,7 @@ rm %{buildroot}%{_mandir}/man1/resolvconf.1* %endif %if %{with sysvcompat} -install -m0755 -D %{SOURCE4} %{buildroot}/%{_systemd_util_dir}/systemd-sysv-install +install -m0755 -D %{SOURCE4} %{buildroot}/%{_systemd_util_dir}/systemd-sysv-install %endif mkdir -p % %{buildroot}%{_sysconfdir}/systemd/network @@ -780,7 +779,6 @@ ln -s ../usr/bin/systemctl %{buildroot}/sbin/poweroff ln -s ../usr/bin/systemctl %{buildroot}/sbin/telinit ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel %endif - # kmod keeps insisting on using /lib/modprobe.d only. mkdir -p %{buildroot}%{_modprobedir} mv %{buildroot}/usr/lib/modprobe.d/* %{buildroot}%{_modprobedir}/