From 9a8a6be4e2f476e75ae0d3449481f904bd4abd60ee868bb9c5a6f224a11b1d97 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Thu, 9 Jul 2020 20:14:38 +0000 Subject: [PATCH] Accepting request 819802 from home:jankara:branches:filesystems - Add BuildRequires suse-module-tools so that regenerate_initrd_posttrans is properly defined during build (bsc#1042986) OBS-URL: https://build.opensuse.org/request/show/819802 OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=127 --- e2fsprogs.changes | 6 ++++++ e2fsprogs.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/e2fsprogs.changes b/e2fsprogs.changes index 4e3e253..853ba68 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 9 16:10:59 UTC 2020 - Jan Kara + +- Add BuildRequires suse-module-tools so that regenerate_initrd_posttrans + is properly defined during build (bsc#1042986) + ------------------------------------------------------------------- Sat May 2 09:44:11 UTC 2020 - Andreas Stieger diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 6f79eac..bc73f47 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -1,7 +1,7 @@ # # spec file for package e2fsprogs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,9 @@ BuildRequires: automake BuildRequires: libblkid-devel BuildRequires: libuuid-devel BuildRequires: pkg-config +%if 0%{?suse_version} >= 1310 +BuildRequires: suse-module-tools +%endif BuildRequires: xz %if ! %{build_mini} %if 0%{?suse_version} > 1220