Skip to content

Commit

Permalink
fix rpm build errors
Browse files Browse the repository at this point in the history
a) rpmbuild doesn't like '-' in version, replace it with '.'.
b) update the files installed in kexec-tools.spec

Signed-off-by: WANG Cong <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
congwang authored and horms committed Nov 21, 2011
1 parent 542dc8b commit 7d979c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions kexec-tools.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
Expand Down

0 comments on commit 7d979c6

Please sign in to comment.