[Patch] fix rpm build errors

Cong Wang xiyou.wangcong at gmail.com
Mon Nov 21 03:26:04 EST 2011


a) rpmbuild doesn't like '-' in version, replace it with '.'.
b) update the files installed in kexec-tools.spec

Signed-off-by: WANG Cong <xiyou.wangcong at gmail.com>

---
diff --git a/configure.ac b/configure.ac
index 7dd6028..4388bb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl
 dnl 
 
 dnl ---Required
-AC_INIT(kexec-tools, 2.0.2-git)
+AC_INIT(kexec-tools, 2.0.2.git)
 AC_CONFIG_AUX_DIR(./config)
 AC_CONFIG_HEADERS([include/config.h])
 AC_LANG(C)
diff --git a/kexec-tools.spec.in b/kexec-tools.spec.in
index 0f0ff07..8871f28 100644
--- a/kexec-tools.spec.in
+++ b/kexec-tools.spec.in
@@ -31,11 +31,13 @@ make install DESTDIR=${RPM_BUILD_ROOT}
 %defattr(-,root,root)
 %{_sbindir}/kexec
 %{_sbindir}/kdump
-%{_libdir}/%{name}/kexec_test
+%{_sbindir}/vmcore-dmesg
 %doc News
 %doc COPYING
 %doc TODO
-#%{_mandir}/man8/kexec.8.gz
+%{_mandir}/man8/kexec.8.gz
+%{_mandir}/man8/kdump.8.gz
+%{_mandir}/man8/vmcore-dmesg.8.gz
 
 %changelog
 * Tue Dec 16 2004 Eric Biederman <ebiederman at lnxi.com>



More information about the kexec mailing list