[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] [PATCH] mtd-utils-20060302.spec: Install userspace header files.
From: |
Robert P. J. Day |
Subject: |
[Ltib] [PATCH] mtd-utils-20060302.spec: Install userspace header files. |
Date: |
Mon, 29 Dec 2008 04:55:37 -0500 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
Fix what looks like an obvious copy-and-paste typo, and carry over
from the 20050523 the instructions to install the userspace MTD header
files.
Signed-off-by: Robert P. J. Day <address@hidden>
---
When I upgraded from mtd-utils 20050532 to 20060302, one of our userspace
apps failed to compile as it was attempting to
#include <mtd/mtd-user.h>
This seemed like an obvious oversight in not installing the userspace
headers as was done in 20050523. If I'm misreading this, let me know.
This patch does indeed fix the compilation.
Index: mtd-utils-20060302.spec
===================================================================
--- mtd-utils-20060302.spec (revision 596)
+++ mtd-utils-20060302.spec (working copy)
@@ -19,7 +19,7 @@
%Description
%{summary}
-Extracted from the cvs snapshot: mtd-snapshot-20050523.tar.bz2
+Extracted from the cvs snapshot: mtd-snapshot-20060302.tar.bz2
at http://www.linux-mtd.infradead.org/
@@ -37,6 +37,8 @@
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/bin
make -C util DESTDIR=$RPM_BUILD_ROOT/%{pfx} SBINDIR=%{_prefix}/bin
MANDIR=%{_mandir} install
+mkdir -p $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/include/mtd
+install -m0644 include/mtd/*.h $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/include/mtd
%Clean
rm -rf $RPM_BUILD_ROOT
- [Ltib] [PATCH] mtd-utils-20060302.spec: Install userspace header files.,
Robert P. J. Day <=