From d8d4d02af8767b0b3507a3376d4d3347f54d6183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 22 May 2014 16:02:16 +0200 Subject: [PATCH] revert "Root package should be noarch too". add provides %%{name} for -devel subpkg. add a note about why the mainpkg is arched. This reverts commit 13e7304a275ebf445c0e987e32bc187f13d0e290. --- uthash.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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