Related: bz 223175

This commit is contained in:
Neil Horman 2007-02-22 22:00:39 +00:00
parent 2cc4ff7df4
commit 5aa56ba0d4
2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: kexec-tools Name: kexec-tools
Version: 1.101 Version: 1.101
Release: 60%{?dist} Release: 61%{?dist}
License: GPL License: GPL
Group: Applications/System Group: Applications/System
Summary: The kexec/kdump userspace component. Summary: The kexec/kdump userspace component.
@ -21,7 +21,8 @@ Source13: pofiles.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): coreutils chkconfig sed Requires(pre): coreutils chkconfig sed
Requires: busybox >= 1.2.0 Requires: busybox >= 1.2.0
BuildRequires: zlib-devel elfutils-libelf-devel glib2-devel pkgconfig elfutils-libelf-devel elfutils-devel-static BuildRequires: zlib-devel elfutils-libelf-devel glib2-devel pkgconfig
BuildRequires: elfutils-libelf-devel elfutils-devel-static gettext
ExcludeArch: ppc ExcludeArch: ppc
%ifarch %{ix86} x86_64 ppc64 ia64 %ifarch %{ix86} x86_64 ppc64 ia64
Obsoletes: diskdumputils netdump Obsoletes: diskdumputils netdump
@ -143,10 +144,12 @@ make
%ifarch %{ix86} x86_64 ia64 ppc64 %ifarch %{ix86} x86_64 ia64 ppc64
make -C makedumpfile make -C makedumpfile
%endif %endif
make -C po
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
make -C po install DESTDIR=$RPM_BUILD_ROOT
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
mkdir -p -m755 $RPM_BUILD_ROOT%{_localstatedir}/crash mkdir -p -m755 $RPM_BUILD_ROOT%{_localstatedir}/crash
@ -167,9 +170,13 @@ install -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man8/mkdumprd.8
%ifarch %{ix86} x86_64 ia64 ppc64 %ifarch %{ix86} x86_64 ia64 ppc64
install -m 755 makedumpfile/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile install -m 755 makedumpfile/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
%endif %endif
CHOMP_SIZE=`echo $RPM_BUILD_ROOT | wc -c`
find $RPM_BUILD_ROOT -name '*.mo' | cut -b $CHOMP_SIZE- >> %{name}.lang
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
touch /etc/kdump.conf touch /etc/kdump.conf
/sbin/chkconfig --add kdump /sbin/chkconfig --add kdump
@ -211,7 +218,7 @@ fi
%triggerun -- firstboot %triggerun -- firstboot
rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
%files %files -f %{name}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
/sbin/* /sbin/*
%{_datadir}/kdump %{_datadir}/kdump
@ -229,6 +236,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
%doc kexec-kdump-howto.txt %doc kexec-kdump-howto.txt
%changelog %changelog
* Mon Feb 22 2007 Neil Horman <nhorman@redhat.com> - 1.101-61%{dist}
- Adding multilanguage infrastructure to firstboot_kdump (bz 223175)
* Mon Feb 12 2007 Neil Horman <nhorman@redhat.com> - 1.101-60%{dist} * Mon Feb 12 2007 Neil Horman <nhorman@redhat.com> - 1.101-60%{dist}
- Fixing up file permissions on kdump.conf (bz 228137) - Fixing up file permissions on kdump.conf (bz 228137)

Binary file not shown.