Move all headers to -devel subpkg.

This commit is contained in:
Christopher Meng 2014-05-19 20:08:41 +08:00
parent a3edc2d0d8
commit 06f0da5335

View File

@ -1,10 +1,10 @@
Name: uthash
Version: 1.9.9
Release: 1%{?dist}
Summary: A hash table for C structures
License: BSD
URL: http://troydhanson.github.io/uthash
Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Name: uthash
Version: 1.9.9
Release: 2%{?dist}
Summary: A hash table for C structures
License: BSD
URL: http://troydhanson.github.io/uthash
Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%description
Any C structure can be stored in a hash table using uthash. Just add a
@ -33,11 +33,14 @@ install -pm0644 src/*.h %{buildroot}%{_includedir}/
%check
cd tests && make %{?_smp_mflags}
%files
%files devel
%doc LICENSE doc/*.txt
%{_includedir}/ut*.h
%changelog
* Sun May 18 2014 Christopher Meng <rpm@cicku.me> - 1.9.9-2
- Move all files to -devel subpkg.
* Sat Mar 29 2014 Christopher Meng <rpm@cicku.me> - 1.9.9-1
- Update to 1.9.9