]> git.pld-linux.org Git - packages/kexec-tools.git/commitdiff
- updated to 1.98
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 14 Dec 2004 20:56:49 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- put kexec to /sbin (rc.shutdown expects it there)

Changed files:
    kexec-tools.spec -> 1.8

kexec-tools.spec

index 04ad070713a5b0b848d0a177763dbbc3ad2efeac..1d12cb70e3f68c8234af70a29a2730f11649675a 100644 (file)
@@ -1,16 +1,16 @@
 # TODO:
 # - %desc en and pl are out of sync
-# - rc.shutdown checks for [ -x /sbin/kexec ] so should put the files to /sbin (at least the kexec itself)
+# - 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.8
-Release:       0.3
+Version:       1.98
+Release:       0.5
 License:       GPL
 Group:         Applications/System
-Source0:       http://www.osdl.org/archive/andyp/kexec/%{kernel_version}/%{name}-%{version}-%{kernel_version}.tgz
-# Source0-md5: 1fb70ca3ab2075a4da1acc79917fd084
+Source0:       http://www.xmission.com/~ebiederm/files/kexec/%{name}-%{version}.tgz
+# Source0-md5: 834823637153e07a85d4544b02944080
 Source1:       do-kexec.sh
 Source2:       http://www.xmission.com/~ebiederm/files/kexec/README
 # Source2-md5: b80e99096ec4ef37b09ecb5707233fb3
@@ -36,19 +36,21 @@ Aktualna implementacja by
 powinien dzia³aæ na ka¿dej architekturze.
 
 %prep
-%setup -q -n %{name}-%{version}-%{kernel_version}
+%setup -q
 %patch -p1
 
 %build
-find ./objdir -type f | xargs rm -f
+# why is this here?
+%{?debug:find ./objdir -type f | xargs rm -f}
+
 %{__make} \
        CC="%{__cc}" \
        OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
-install objdir/build/sbin/kexec $RPM_BUILD_ROOT%{_sbindir}
+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}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}
 install %{SOURCE2} README
@@ -59,4 +61,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc TODO News README
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/do-kexec.sh
+%attr(755,root,root) %{_sbindir}/kexec_test
+%attr(755,root,root) /sbin/kexec
This page took 0.213111 seconds and 4 git commands to generate.