2008-07-18 12:15:21 +02:00
|
|
|
#
|
2011-01-24 15:47:45 +01:00
|
|
|
# spec file for package kernel-syms
|
2008-07-18 12:15:21 +02:00
|
|
|
#
|
2011-01-24 15:47:45 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-07-18 12:15:21 +02:00
|
|
|
#
|
2008-10-08 11:08:56 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-07-18 12:15:21 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-05-20 10:59:36 +02:00
|
|
|
%define variant %{nil}
|
2010-02-25 11:22:51 +01:00
|
|
|
|
2009-08-01 11:17:24 +02:00
|
|
|
%include %_sourcedir/kernel-spec-macros
|
2008-07-18 12:15:21 +02:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
Name: kernel-syms
|
|
|
|
Summary: Kernel Symbol Versions (modversions)
|
2010-11-18 07:00:42 +01:00
|
|
|
Version: 2.6.37
|
2011-01-24 15:47:45 +01:00
|
|
|
Release: 10
|
2009-05-20 10:59:36 +02:00
|
|
|
%if %using_buildservice
|
|
|
|
%else
|
2010-04-08 15:15:36 +02:00
|
|
|
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
|
2009-05-20 10:59:36 +02:00
|
|
|
%endif
|
2011-01-24 15:47:45 +01:00
|
|
|
License: GPLv2
|
2008-10-08 11:08:56 +02:00
|
|
|
Group: Development/Sources
|
2009-06-20 01:58:35 +02:00
|
|
|
Url: http://www.kernel.org/
|
2008-10-08 11:08:56 +02:00
|
|
|
AutoReqProv: off
|
|
|
|
BuildRequires: coreutils
|
2010-04-08 15:15:36 +02:00
|
|
|
%ifarch %ix86 ia64 ppc ppc64 s390x sparc64 x86_64
|
2009-05-20 10:59:36 +02:00
|
|
|
Requires: kernel-default-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-07-21 12:14:09 +02:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-desktop-devel = %version-%source_rel
|
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch %ix86
|
2009-05-25 17:28:04 +02:00
|
|
|
Requires: kernel-pae-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch ppc ppc64
|
|
|
|
Requires: kernel-ppc64-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch s390
|
|
|
|
Requires: kernel-s390-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2010-11-27 07:00:44 +01:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-xen-devel = %version-%source_rel
|
|
|
|
%endif
|
2009-11-27 14:28:36 +01:00
|
|
|
Provides: multiversion(kernel)
|
2010-04-25 18:42:54 +02:00
|
|
|
Provides: %name = %version-%source_rel
|
2009-05-20 10:59:36 +02:00
|
|
|
Source: README.KSYMS
|
2010-04-08 15:15:36 +02:00
|
|
|
Requires: kernel-devel%variant = %version-%source_rel
|
2008-10-08 11:08:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-04-08 15:15:36 +02:00
|
|
|
ExclusiveArch: %ix86 ia64 ppc ppc64 s390 s390x sparc64 x86_64
|
2008-10-08 11:08:56 +02:00
|
|
|
Prefix: /usr/src
|
2008-07-18 12:15:21 +02:00
|
|
|
|
|
|
|
%description
|
2008-10-08 11:08:56 +02:00
|
|
|
Kernel symbols, such as functions and variables, have version
|
|
|
|
information attached to them. This package contains the symbol versions
|
|
|
|
for the standard kernels.
|
2008-07-18 12:15:21 +02:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
This package is needed for compiling kernel module packages with proper
|
|
|
|
package dependencies.
|
|
|
|
|
2010-10-28 13:10:49 +02:00
|
|
|
|
2011-01-24 15:47:45 +01:00
|
|
|
%source_timestamp
|
2010-10-28 07:00:43 +02:00
|
|
|
%prep
|
2011-01-24 15:47:45 +01:00
|
|
|
|
2008-07-18 12:15:21 +02:00
|
|
|
%install
|
2009-05-20 10:59:36 +02:00
|
|
|
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
|
2008-07-18 12:15:21 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2009-05-20 10:59:36 +02:00
|
|
|
%dir %_docdir/%name
|
|
|
|
%_docdir/%name/README.SUSE
|
2008-11-08 19:28:50 +01:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
%changelog
|