[Patch] fix rpm build errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux