- 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
This commit is contained in:
Franck Bui 2023-02-17 11:11:32 +00:00 committed by Git OBS Bridge
parent 4b5dfd9d8c
commit 9e5d507fa8
3 changed files with 8 additions and 4 deletions

View File

@ -31,7 +31,7 @@
%{_prefix}/lib/kernel/install.conf %{_prefix}/lib/kernel/install.conf
%{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/50-depmod.install
%{_prefix}/lib/kernel/install.d/90-loaderentry.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*.efi.stub
%{_systemd_util_dir}/boot/efi/linux*.elf.stub %{_systemd_util_dir}/boot/efi/linux*.elf.stub
%{_systemd_util_dir}/boot/efi/systemd-boot*.efi %{_systemd_util_dir}/boot/efi/systemd-boot*.efi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 17 11:06:41 UTC 2023 - Franck Bui <fbui@suse.com>
- 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 <fbui@suse.com> Tue Feb 7 08:44:32 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -114,7 +114,6 @@ BuildRequires: python3-jinja2
BuildRequires: suse-module-tools >= 12.4 BuildRequires: suse-module-tools >= 12.4
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(blkid) >= 2.26 BuildRequires: pkgconfig(blkid) >= 2.26
BuildRequires: pkgconfig(libpci) >= 3
%if %{with bootstrap} %if %{with bootstrap}
#!BuildIgnore: dbus-1 #!BuildIgnore: dbus-1
@ -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/telinit
ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel
%endif %endif
# kmod keeps insisting on using /lib/modprobe.d only. # kmod keeps insisting on using /lib/modprobe.d only.
mkdir -p %{buildroot}%{_modprobedir} mkdir -p %{buildroot}%{_modprobedir}
mv %{buildroot}/usr/lib/modprobe.d/* %{buildroot}%{_modprobedir}/ mv %{buildroot}/usr/lib/modprobe.d/* %{buildroot}%{_modprobedir}/