From 1c5d8ea2e480e4725db5984fb30691f1f20c55e0 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 8 May 2013 14:38:08 -0400 Subject: [PATCH] create directory even if it exists --- packaging/linux-glibc-devel.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packaging/linux-glibc-devel.spec b/packaging/linux-glibc-devel.spec index 4444954..de13f1c 100644 --- a/packaging/linux-glibc-devel.spec +++ b/packaging/linux-glibc-devel.spec @@ -1,4 +1,3 @@ -BuildRequires: fdupes Name: linux-glibc-devel # this confusing version number has no meaning, it's the version @@ -17,8 +16,8 @@ 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 @@ -75,7 +74,7 @@ BOGUS cat version.h %install -mkdir %{buildroot} +mkdir -p %{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 -- 2.7.4