From 56ed118976ea68c6ac8fc7577141053cf28072aa Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Sun, 30 Jun 2013 14:06:57 +0800 Subject: [PATCH] Adapt for EPEL6 --- uthash.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uthash.spec b/uthash.spec index 6697847..e65d895 100644 --- a/uthash.spec +++ b/uthash.spec @@ -7,6 +7,7 @@ URL: http://troydhanson.github.io/uthash Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.gz Patch0: uthash-remove-failed-tests.patch BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Provides: %{name}-devel = %{version}-%{release} %description @@ -29,6 +30,9 @@ cp -pa src/*.h %{buildroot}%{_includedir}/ cd tests make %{?_smp_mflags} +%clean +rm -rf %{buildroot} + %files %doc LICENSE doc/*.txt %{_includedir}/ut*.h