[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 817] New: rpm spec file can't build kernel-source rpm
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=817 Summary: rpm spec file can't build kernel-source rpm Product: Xen Version: 3.0 (general) Platform: x86 OS/Version: Linux-2.6 Status: NEW Severity: minor Priority: P3 Component: Unspecified AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx ReportedBy: matthew@xxxxxxxxxxxxxxx There were a couple of typos in the spec file of the src.rpm available on the downloads page. Also, the spec doesn't allow for building the kernel-source rpm without building the kernel rpm as well. I've included a fix for that as well. --------- --- SPECS/xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb.spec 2006-11-19 23:02:42.000000000 -0800 +++ /root/xen-3.0.3-fixed.spec 2006-11-19 22:53:53.000000000 -0800 @@ -96,7 +96,7 @@ #hg_changeset = %{hg_changeset} %package -n kernel-xen-sourcecode -Version: %{xen_kernel_version} +Version: %{linux_version_root} Release: %{xenlinux_release} Summary: The source code for the XenLinux kernel. Group: Development/System @@ -183,12 +183,16 @@ %endif %if %{buildsource} +cat >buildconfigs/mk.linux-%{linux_full_version} <<__EOF__ +EXTRAVERSION = %{xenlinux_release} +include buildconfigs/mk.linux-2.6-xen +__EOF__ mkdir -p %{buildroot}/usr/src/linux-%{linux_full_version} chmod -R a+r * # clean up the source tree so that it is ready for users to build their own # kernel -%{__make} linux-2.6-%{linux_full_version}-clean +%{__make} linux-%{linux_full_version}-clean # copy the source over tar --dereference -cf - -C linux-%{linux_full_version} . | tar -xf - -C %{buildroot}/usr/src/linux-%{linux_full_version} -- Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Xen-bugs mailing list Xen-bugs@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-bugs
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |