[kexec-tools] Fix build dependency
Cong Wang
wangcong at fedoraproject.org
Sat Jan 21 08:41:59 UTC 2012
commit c0742d742a892d24afc6c95c55a52bfcc8affecd
Author: Cong Wang <xiyou.wangcong at gmail.com>
Date: Sat Jan 21 16:41:53 2012 +0800
Fix build dependency
kexec-tools-2.0.0-makedumpfile-dynamic-build.patch | 2 +-
kexec-tools.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kexec-tools-2.0.0-makedumpfile-dynamic-build.patch b/kexec-tools-2.0.0-makedumpfile-dynamic-build.patch
index e7d2c59..727449e 100644
--- a/kexec-tools-2.0.0-makedumpfile-dynamic-build.patch
+++ b/kexec-tools-2.0.0-makedumpfile-dynamic-build.patch
@@ -5,7 +5,7 @@
makedumpfile: $(SRC) $(OBJ_PART) $(OBJ_ARCH)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -o $@ $< -static -ldw -lbz2 -lebl -ldl -lelf -lz
-+ $(CC) -v $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -o $@ $< -ldw -lbz2 -lebl -ldl -lelf -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -o $@ $< -ldw -lbz2 -lebl -ldl -lelf -lz
echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8
grep -v "^.TH MAKEDUMPFILE 8" makedumpfile.8 >> temp.8
mv temp.8 makedumpfile.8
diff --git a/kexec-tools.spec b/kexec-tools.spec
index 555e78e..e092314 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -34,7 +34,7 @@ Requires(postun): systemd-units
Requires(pre): coreutils sed zlib
Requires: busybox >= 1.2.0, dracut
BuildRequires: dash
-BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-libs
+BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel
BuildRequires: pkgconfig intltool gettext
BuildRequires: systemd-units
%ifarch %{ix86} x86_64 ppc64 ia64 ppc
More information about the scm-commits
mailing list