From 36e17161780512c63dac95995a27e82115f8419cf80e2f1df1d20932af9f8340 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Wed, 27 Sep 2023 16:21:26 +0000 Subject: [PATCH] - spec file: fix build dependencies for regenerate_initrd_posttrans (bsc#1215772) OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=107 --- sg3_utils.changes | 2 ++ sg3_utils.spec | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/sg3_utils.changes b/sg3_utils.changes index 70c5633..73a90fd 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -2,6 +2,8 @@ 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 + (bsc#1215772) ------------------------------------------------------------------- Thu Sep 21 20:17:46 UTC 2023 - Martin Wilck diff --git a/sg3_utils.spec b/sg3_utils.spec index e210a60..7ffd214 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -37,6 +37,12 @@ Supplements: modalias(scsi:t-0x00*) Supplements: modalias(scsi:t-0x07*) Supplements: modalias(scsi:t-0x0e*) Obsoletes: scsi <= 1.7_2.38_1.25_0.19_1.02_0.93 +# For regenerate_initrd_posttrans +%if 0%{?suse_version} < 1550 +BuildRequires: suse-module-tools +%else +BuildRequires: rpm-config-SUSE +%endif %description The sg3_utils package contains utilities that send SCSI commands to