]> git.pld-linux.org Git - packages/kexec-tools.git/commitdiff
- added opt patch, pass CC and OPTFLAGS
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 14 Jul 2003 11:55:28 +0000 (11:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added en description (from %%{URL}/README)
- removed bogus BR, added BR: glibc-static (tools are statically linked)

Changed files:
    kexec-tools.spec -> 1.5

kexec-tools.spec

index 3e87ca4a416d446e4fc603cc6153a784049aa3ad..9e0fad3262a27e097fed3f456f3bb4a696e39616 100644 (file)
@@ -1,6 +1,6 @@
 %define                kernel_version  2.5.73
-Summary:       Tool to starting new kernel without reboot.
-Summary(pl):   Narzêdzie pozwalaj±ce za³adowaæ nowe j±dro bez konieczno¶ci restartu.
+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.8
 Release:       0.1
@@ -9,26 +9,36 @@ Group:                Applications/System
 Source0:       http://www.osdl.org/archive/andyp/kexec/%{kernel_version}/%{name}-%{version}-%{kernel_version}.tgz
 # Source0-md5: 1fb70ca3ab2075a4da1acc79917fd084
 Source1:       do-kexec.sh
+Patch0:                %{name}-opt.patch
 URL:           http://www.xmission.com/~ebiederm/files/kexec/
-BuildRequires: libstdc++-devel
+BuildRequires: glibc-static
 Requires:      kernel >= %{kernel_version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+kexec is a set of system calls that allows you to load another kernel
+from the currently executing Linux kernel. The current implementation
+has only been tested, and had the kinks worked out on x86, but the
+generic code should work on any architecture.
 
 %description -l pl
-Narzedzie to pozwala wykorzystac zaimplementowany w jadrach 2.5/2.6
-system pozwalajacy zaladowac nastepny kernel bez koniecznosci restartu
-maszyny. Od momentu wydania polecenia kexec do startu nowego kernela
-uplywa czas ponizej 0.5 sekundy!
+Narzêdzie to pozwala wykorzystaæ zaimplementowany w j±drach 2.5/2.6
+system pozwalaj±cy za³adowaæ nastêpne j±dro bez konieczno¶ci restartu
+maszyny. Od momentu wydania polecenia kexec do startu nowego j±dra
+up³ywa czas poni¿ej 0.5 sekundy!
+
+Aktualna implementacja by³a testowana tylko na x86, ale ogólny kod
+powinien dzia³aæ na ka¿dej architekturze.
 
 %prep
-rm -rf $RPM_BUILD_ROOT
 %setup -q -n %{name}-%{version}-%{kernel_version}
+%patch -p1
 
 %build
 find ./objdir -type f | xargs rm -f
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.049459 seconds and 4 git commands to generate.