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>
This commit is contained in:
Cong Wang
2011-11-21 16:26:04 +08:00
committed by Simon Horman
parent 542dc8b04f
commit 7d979c6608
2 changed files with 5 additions and 3 deletions

View File

@@ -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 File

@@ -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>