SPECS (DEVEL): umlinux.spec - localversion fixes
zbyniu
zbyniu at pld-linux.org
Sat Nov 1 04:11:33 CET 2008
Author: zbyniu Date: Sat Nov 1 03:11:33 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- localversion fixes
---- Files affected:
SPECS:
umlinux.spec (1.23.2.14 -> 1.23.2.15)
---- Diffs:
================================================================
Index: SPECS/umlinux.spec
diff -u SPECS/umlinux.spec:1.23.2.14 SPECS/umlinux.spec:1.23.2.15
--- SPECS/umlinux.spec:1.23.2.14 Sat Nov 1 03:03:55 2008
+++ SPECS/umlinux.spec Sat Nov 1 04:11:28 2008
@@ -25,8 +25,8 @@
URL: http://user-mode-linux.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _localversion %{release}
-%define kernel_release %{version}-%{alt_kernel}-%{_localversion}
+%define localversion %{release}
+%define kernel_release %{version}-%{alt_kernel}-%{localversion}
%define defconfig arch/um/defconfig
@@ -135,6 +135,7 @@
}
KERNEL_BUILD_DIR=`pwd`
+echo "-%{localversion}" > localversion
KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel"
rm -rf $KERNEL_INSTALL_DIR
@@ -162,7 +163,7 @@
cd linux-%{basever}
install linux $RPM_BUILD_ROOT%{_bindir}/linux
-%{__make} ARCH=um modules_install INSTALL_MOD_PATH=$RPM_BUILD_ROOT
+%{__make} ARCH=um modules_install INSTALL_MOD_PATH=$RPM_BUILD_ROOT
cd %{topdir}/linux-%{basever}
@@ -181,7 +182,7 @@
%files modules
%defattr(644,root,root,755)
-/lib/modules/%{version}-uml
+/lib/modules/%{kernel_release}
%if 0
%files init
@@ -202,6 +203,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23.2.15 2008/11/01 03:11:28 zbyniu
+- localversion fixes
+
Revision 1.23.2.14 2008/11/01 02:03:55 pawelz
- added todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/umlinux.spec?r1=1.23.2.14&r2=1.23.2.15&f=u
More information about the pld-cvs-commit
mailing list