Cleanup
This commit is contained in:
parent
179bb86d12
commit
ced7cc3a31
19
uthash.spec
19
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user