- spec file:

* fix build dependencies for regenerate_initrd_posttrans
  * add missing rules file

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=108
This commit is contained in:
Martin Wilck 2023-09-27 20:47:58 +00:00 committed by Git OBS Bridge
parent 36e1716178
commit ca2837f2c5
2 changed files with 5 additions and 7 deletions

View File

@ -2,8 +2,10 @@
Wed Sep 27 15:56:57 UTC 2023 - Martin Wilck <mwilck@suse.com>
- dracut.conf: add 00-scsi-sg3_config.rules (jsc#PED-6226)
- spec file: fix build dependencies for regenerate_initrd_posttrans
- spec file:
* fix build dependencies for regenerate_initrd_posttrans
(bsc#1215772)
* add missing rules file
-------------------------------------------------------------------
Thu Sep 21 20:17:46 UTC 2023 - Martin Wilck <mwilck@suse.com>

View File

@ -100,11 +100,7 @@ make %{?_smp_mflags}
%make_install
install -m 644 doc/rescan-scsi-bus.sh.8 %{buildroot}/%{_mandir}/man8
mkdir -p %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/54-before-scsi-sg3_id.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/55-scsi-sg3_id.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/58-scsi-sg3_symlink.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/40-usb-blacklist.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/59-fc-wwpn-id.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/*.rules %{buildroot}/%{_udevrulesdir}
install -m 755 scripts/fc_wwpn_id %{buildroot}/%{_udevrulesdir}/..
mkdir -p %{buildroot}/usr/lib/dracut/dracut.conf.d
install -m 644 %{SOURCE1} %{buildroot}/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
@ -147,7 +143,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%_mandir/man8/*.8*
%dir /usr/lib/udev
%dir %{_udevrulesdir}
%{_udevrulesdir}/40-usb-blacklist.rules
%{_udevrulesdir}/00-scsi-sg3_config.rules
%{_udevrulesdir}/54-before-scsi-sg3_id.rules
%{_udevrulesdir}/55-scsi-sg3_id.rules
%{_udevrulesdir}/58-scsi-sg3_symlink.rules