resetting manifest requested domain to floor
[platform/upstream/linux-glibc-devel.git] / packaging / linux-glibc-devel.spec
index cdd4cce..9714de9 100644 (file)
@@ -1,22 +1,3 @@
-#
-# 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
@@ -31,13 +12,13 @@ Url:            http://www.kernel.org/
 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
@@ -48,7 +29,7 @@ packages, instead.
 
 %prep
 %setup -q -n linux-glibc-devel-%{upstream_version}
-%patch1
+cp %{SOURCE1001} .
 
 %build
 cat > version.h <<-BOGUS
@@ -95,7 +76,6 @@ 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
@@ -170,6 +150,7 @@ ln -sfn asm-$asm_link usr/include/asm
 exit 0
 
 %files
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %{_includedir}/*
 %ghost %{_includedir}/asm