diff --git a/uthash.spec b/uthash.spec index c4cdafc..0a5593c 100644 --- a/uthash.spec +++ b/uthash.spec @@ -14,18 +14,20 @@ Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.g %description Any C structure can be stored in a hash table using uthash. Just add a -UT_hash_handle to the structure and choose one or more fields in your -structure to act as the key. Then use these macros to store, retrieve or -delete items from the hash table. +UT_hash_handle to the structure and choose one or more fields in your +structure to act as the key. Then use these macros to store, retrieve or +delete items from the hash table. %package devel -Summary: Development files for %{name} +Summary: A hash table for C structures (headers only) Provides: %{name}-static = %{version}-%{release} BuildArch: noarch %description devel -This package contains libraries and header files for -developing applications that use %{name}. +Any C structure can be stored in a hash table using uthash. Just add a +UT_hash_handle to the structure and choose one or more fields in your +structure to act as the key. Then use these macros to store, retrieve or +delete items from the hash table. %prep %setup -q @@ -38,10 +40,11 @@ install -d %{buildroot}%{_includedir} install -pm0644 src/*.h %{buildroot}%{_includedir}/ %check -make %{?_smp_mflags} -C tests/ +%make_build -C tests/ %files devel -%doc LICENSE doc/*.txt +%doc doc/*.txt +%license LICENSE %{_includedir}/ut*.h %changelog