From ca2837f2c58cfb2f0d7909d93d33258bf7be5af8e424712e79e455f7dce1b41d Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Wed, 27 Sep 2023 20:47:58 +0000 Subject: [PATCH] - 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 --- sg3_utils.changes | 4 +++- sg3_utils.spec | 8 ++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/sg3_utils.changes b/sg3_utils.changes index 73a90fd..4220892 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -2,8 +2,10 @@ Wed Sep 27 15:56:57 UTC 2023 - Martin Wilck - 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 diff --git a/sg3_utils.spec b/sg3_utils.spec index 7ffd214..5bc3000 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -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