From 1436c7858fa133d830a18d27c879af301000a70f Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 24 Mar 2014 15:13:29 +0100 Subject: [PATCH] Clean spec file, (use macro for path). Change-Id: Ie399b363cc59aa2d8e40f9a0489ef5a4ee501d88 Signed-off-by: Ronan Le Martret --- packaging/uthash.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packaging/uthash.spec b/packaging/uthash.spec index aef3c77..34d092c 100644 --- a/packaging/uthash.spec +++ b/packaging/uthash.spec @@ -5,7 +5,7 @@ License: BSD-style single-clause Summary: A hash table for C structures Group: System/Kernel Source0: %{name}-%{version}.tar.bz2 -Source1001: uthash.manifest +Source1001: uthash.manifest %description Any C structure can be stored in a hash table using @@ -24,14 +24,14 @@ Development files for %name. %prep %setup -q cp %{SOURCE1001} . + %build +#empty %install - -mkdir -p %{buildroot}/usr/include +mkdir -p %{buildroot}%{_includedir} cd src -cp utarray.h uthash.h utlist.h utstring.h %{buildroot}/usr/include - +cp utarray.h uthash.h utlist.h utstring.h %{buildroot}%{_includedir} %files devel %manifest %{name}.manifest @@ -39,5 +39,4 @@ cp utarray.h uthash.h utlist.h utstring.h %{buildroot}/usr/include %{_includedir}/utarray.h %{_includedir}/uthash.h %{_includedir}/utlist.h -%{_includedir}/utstring.h - +%{_includedir}/utstring.h \ No newline at end of file -- 2.7.4