diff --git a/uthash.spec b/uthash.spec index 3d4388c..4a9e0c8 100644 --- a/uthash.spec +++ b/uthash.spec @@ -1,3 +1,7 @@ +# This package builds a header-only lib, but has some testsuite to check +# the headers' function. For this reason the main-pkg is build arched and +# produces a noarched subpkg, only. + Name: uthash Version: 1.9.9 Release: 4%{?dist} @@ -5,7 +9,6 @@ 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 -BuildArch: noarch %description Any C structure can be stored in a hash table using uthash. Just add a @@ -15,6 +18,7 @@ delete items from the hash table. %package devel Summary: Development files for %{name} +Provides: %{name} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} BuildArch: noarch @@ -40,8 +44,10 @@ cd tests && make %{?_smp_mflags} %{_includedir}/ut*.h %changelog -* Wed May 21 2014 Peter Robinson 1.9.9-4 -- Root package should be noarch too +* Thu May 22 2014 Björn Esser - 1.9.9-4 +- revert "Root package should be noarch too". +- add provides %%{name} for -devel subpkg. +- add a note about why the mainpkg is arched. * Wed May 21 2014 Peter Robinson 1.9.9-3 - Build as noarch