From: Ronan Le Martret Date: Mon, 24 Mar 2014 14:13:29 +0000 (+0100) Subject: Clean spec file, (use macro for path). X-Git-Tag: accepted/tizen/3.0.m2/base/20170104.081821^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_7.0_base;p=platform%2Fupstream%2Futhash.git Clean spec file, (use macro for path). Change-Id: Ie399b363cc59aa2d8e40f9a0489ef5a4ee501d88 Signed-off-by: Ronan Le Martret --- 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