Adapt for EPEL6
This commit is contained in:
parent
53b245ea3a
commit
56ed118976
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user