73ad23
From 44c9d019d88df05f69f2112aeae34bdbff61cee6 Mon Sep 17 00:00:00 2001
73ad23
From: Kairui Song <kasong@redhat.com>
73ad23
Date: Sat, 29 Sep 2018 17:14:31 +0800
73ad23
Subject: [PATCH] dracut.spec: Fix error introduced by 70291ed
73ad23
73ad23
70291e0 ('dracut.spec: Add dracut-squash package') introduced a new
73ad23
dracut-squash package, but by accident it overrided some other package
73ad23
spec and the dependency name is wrong. This patch will fix it.
73ad23
---
73ad23
 dracut.spec | 8 ++++----
73ad23
 1 file changed, 4 insertions(+), 4 deletions(-)
73ad23
73ad23
diff --git a/dracut.spec b/dracut.spec
73ad23
index 553280c3..de57703c 100644
73ad23
--- a/dracut.spec
73ad23
+++ b/dracut.spec
73ad23
@@ -188,7 +188,7 @@ This package contains tools to assemble the local initrd and host configuration.
73ad23
 %package squash
73ad23
 Summary: dracut module to build an initramfs with most files in a squashfs image
73ad23
 Requires: %{name} = %{version}-%{release}
73ad23
-Requires: squash-tools
73ad23
+Requires: squashfs-tools
73ad23
 
73ad23
 %description squash
73ad23
 This package provides a dracut module to build an initramfs, but store most files
73ad23
@@ -459,14 +459,14 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
73ad23
 %doc %{_mandir}/man8/dracut-catimages.8*
73ad23
 %endif
73ad23
 
73ad23
-%files squash
73ad23
-%{dracutlibdir}/modules.d/99squash
73ad23
-
73ad23
 %{_bindir}/dracut-catimages
73ad23
 %dir /boot/dracut
73ad23
 %dir /var/lib/dracut
73ad23
 %dir /var/lib/dracut/overlay
73ad23
 
73ad23
+%files squash
73ad23
+%{dracutlibdir}/modules.d/99squash
73ad23
+
73ad23
 %files config-generic
73ad23
 %{dracutlibdir}/dracut.conf.d/02-generic-image.conf
73ad23
 
73ad23