-#
-# spec file for package linux-glibc-devel
-#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# 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/
-#
-
-
-BuildRequires: fdupes
Name: linux-glibc-devel
# this confusing version number has no meaning, it's the version
Group: Development/Libraries/C and C++
Source: %{name}-%{upstream_version}.tar.bz2
Source1: install_all.sh
-Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch
+Source1001: linux-glibc-devel.manifest
Requires(pre): coreutils
Provides: kernel-headers
Provides: linux-kernel-headers = %{version}
Obsoletes: linux-kernel-headers < %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+BuildRequires: fdupes
%description
This package provides Linux kernel headers, the kernel API description
%prep
%setup -q -n linux-glibc-devel-%{upstream_version}
-%patch1
+cp %{SOURCE1001} .
%build
cat > version.h <<-BOGUS
cat version.h
%install
-mkdir %{buildroot}
cp -a usr %{buildroot}
cp -a version.h %{buildroot}/usr/include/linux/
# Temporarily exclude i2c header files, which are provided by i2c-tools instead
exit 0
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_includedir}/*
%ghost %{_includedir}/asm