SPECS: kexec-tools.spec - up to 1.101
arekm
arekm at pld-linux.org
Sun Aug 28 10:14:00 CEST 2005
Author: arekm Date: Sun Aug 28 08:14:00 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.101
---- Files affected:
SPECS:
kexec-tools.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/kexec-tools.spec
diff -u SPECS/kexec-tools.spec:1.8 SPECS/kexec-tools.spec:1.9
--- SPECS/kexec-tools.spec:1.8 Tue Dec 14 21:56:49 2004
+++ SPECS/kexec-tools.spec Sun Aug 28 10:13:53 2005
@@ -1,26 +1,22 @@
# $Revision$, $Date$
-# TODO:
-# - %desc en and pl are out of sync
-# - kernel version needs to reviewed.
-%define kernel_version 2.5.73
Summary: Tool for starting new kernel without reboot
Summary(pl): Narzędzie pozwalające załadować nowe jądro bez konieczności restartu
Name: kexec-tools
-Version: 1.98
-Release: 0.5
+Version: 1.101
+Release: 0.1
License: GPL
Group: Applications/System
-Source0: http://www.xmission.com/~ebiederm/files/kexec/%{name}-%{version}.tgz
-# Source0-md5: 834823637153e07a85d4544b02944080
+Source0: http://www.xmission.com/~ebiederm/files/kexec/%{name}-%{version}.tar.gz
+# Source0-md5: b4f7ffcc294d41a6a4c40d6e44b7734d
Source1: do-kexec.sh
Source2: http://www.xmission.com/~ebiederm/files/kexec/README
# Source2-md5: b80e99096ec4ef37b09ecb5707233fb3
-Patch0: %{name}-opt.patch
URL: http://www.xmission.com/~ebiederm/files/kexec/
BuildRequires: glibc-static
-Requires: kernel >= %{kernel_version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
kexec is a set of system calls that allows you to load another kernel
from the currently executing Linux kernel. The current implementation
@@ -38,21 +34,19 @@
%prep
%setup -q
-%patch -p1
%build
-# why is this here?
-%{?debug:find ./objdir -type f | xargs rm -f}
-
+%configure
%{__make} \
CC="%{__cc}" \
OPTFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},/sbin}
-install objdir/build/sbin/kexec $RPM_BUILD_ROOT/sbin
-install objdir/build/bin/kexec_test $RPM_BUILD_ROOT%{_sbindir}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}
install %{SOURCE2} README
@@ -61,10 +55,9 @@
%files
%defattr(644,root,root,755)
-%doc TODO News README
-%attr(755,root,root) %{_sbindir}/do-kexec.sh
-%attr(755,root,root) %{_sbindir}/kexec_test
-%attr(755,root,root) /sbin/kexec
+%doc AUTHORS TODO News README
+%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_libdir}/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -72,6 +65,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/08/28 08:13:53 arekm
+- up to 1.101
+
Revision 1.8 2004/12/14 20:56:49 glen
- updated to 1.98
- put kexec to /sbin (rc.shutdown expects it there)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kexec-tools.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list