Permalink
Browse files

fix rpm build errors

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@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
  • Loading branch information...
1 parent 542dc8b commit 7d979c660817a1b31bcc198c8c82dc80083273f6 @congwang congwang committed with horms Nov 21, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −1 configure.ac
  2. +4 −2 kexec-tools.spec.in
View
@@ -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)
View
@@ -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@lnxi.com>

0 comments on commit 7d979c6

Please sign in to comment.