-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
+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}
+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