2011-10-05 07:01:45 +02:00
|
|
|
#
|
2011-10-25 07:02:09 +02:00
|
|
|
# spec file for package kernel-syms
|
2011-10-05 07:01:45 +02:00
|
|
|
#
|
2014-01-11 08:03:03 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-10-05 07:01:45 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define variant %{nil}
|
|
|
|
|
|
|
|
%include %_sourcedir/kernel-spec-macros
|
|
|
|
|
|
|
|
Name: kernel-syms
|
|
|
|
Summary: Kernel Symbol Versions (modversions)
|
2014-02-02 08:01:46 +01:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Development/Sources
|
2014-09-19 08:02:35 +02:00
|
|
|
Version: 3.16.3
|
2011-10-14 11:30:53 +02:00
|
|
|
%if %using_buildservice
|
2013-10-03 08:02:42 +02:00
|
|
|
%if 0%{?is_kotd}
|
2014-09-19 08:02:35 +02:00
|
|
|
Release: <RELEASE>.gd2bbe7f
|
2013-10-03 08:02:42 +02:00
|
|
|
%else
|
2014-09-19 08:02:35 +02:00
|
|
|
Release: <RELEASE>.gd2bbe7f
|
2013-10-03 08:02:42 +02:00
|
|
|
%endif
|
2011-10-05 07:01:45 +02:00
|
|
|
%else
|
|
|
|
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
|
2011-10-15 07:01:43 +02:00
|
|
|
Release: %kernel_source_release
|
2011-10-05 07:01:45 +02:00
|
|
|
%endif
|
|
|
|
Url: http://www.kernel.org/
|
|
|
|
AutoReqProv: off
|
|
|
|
BuildRequires: coreutils
|
2014-04-01 08:03:05 +02:00
|
|
|
%ifarch aarch64 armv6hl armv7hl %ix86 ppc ppc64 ppc64le s390x x86_64
|
2011-10-05 07:01:45 +02:00
|
|
|
Requires: kernel-default-devel = %version-%source_rel
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-desktop-devel = %version-%source_rel
|
|
|
|
%endif
|
2012-05-28 07:02:34 +02:00
|
|
|
%ifarch armv7hl
|
2013-05-01 08:12:39 +02:00
|
|
|
Requires: kernel-lpae-devel = %version-%source_rel
|
2012-01-06 07:02:55 +01:00
|
|
|
%endif
|
2011-10-05 07:01:45 +02:00
|
|
|
%ifarch %ix86
|
|
|
|
Requires: kernel-pae-devel = %version-%source_rel
|
|
|
|
%endif
|
2014-05-15 08:01:32 +02:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-xen-devel = %version-%source_rel
|
|
|
|
%endif
|
2014-04-15 08:02:51 +02:00
|
|
|
Requires: pesign-obs-integration
|
2010-12-01 11:20:27 +01:00
|
|
|
Provides: %name = %version-%source_rel
|
2014-02-02 08:01:46 +01:00
|
|
|
Provides: multiversion(kernel)
|
2011-10-05 07:01:45 +02:00
|
|
|
Source: README.KSYMS
|
|
|
|
Requires: kernel-devel%variant = %version-%source_rel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-04-01 08:03:05 +02:00
|
|
|
ExclusiveArch: %ix86 aarch64 armv6hl armv7hl ppc ppc64 ppc64le s390x x86_64
|
2011-10-05 07:01:45 +02:00
|
|
|
Prefix: /usr/src
|
|
|
|
|
|
|
|
%description
|
|
|
|
Kernel symbols, such as functions and variables, have version
|
|
|
|
information attached to them. This package contains the symbol versions
|
|
|
|
for the standard kernels.
|
|
|
|
|
|
|
|
This package is needed for compiling kernel module packages with proper
|
|
|
|
package dependencies.
|
|
|
|
|
2011-10-14 11:30:53 +02:00
|
|
|
|
2011-10-25 07:02:09 +02:00
|
|
|
%source_timestamp
|
2010-12-01 11:20:27 +01:00
|
|
|
%prep
|
2011-10-25 07:02:09 +02:00
|
|
|
|
2011-10-05 07:01:45 +02:00
|
|
|
%install
|
|
|
|
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %_docdir/%name
|
|
|
|
%_docdir/%name/README.SUSE
|
|
|
|
|
|
|
|
%changelog
|