Adapt for EPEL6

This commit is contained in:
Christopher Meng 2013-06-30 14:06:57 +08:00
parent 53b245ea3a
commit 56ed118976

View File

@ -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