resetting manifest requested domain to floor
[platform/upstream/linux-glibc-devel.git] / packaging / linux-glibc-devel.spec
index 4444954..9714de9 100644 (file)
@@ -1,4 +1,3 @@
-BuildRequires:  fdupes
 
 Name:           linux-glibc-devel
 # this confusing version number has no meaning, it's the version
@@ -13,12 +12,13 @@ Url:            http://www.kernel.org/
 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
@@ -29,6 +29,7 @@ packages, instead.
 
 %prep
 %setup -q -n linux-glibc-devel-%{upstream_version}
+cp %{SOURCE1001} .
 
 %build
 cat > version.h <<-BOGUS
@@ -75,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
@@ -150,6 +150,7 @@ ln -sfn asm-$asm_link usr/include/asm
 exit 0
 
 %files
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %{_includedir}/*
 %ghost %{_includedir}/asm