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 13e7304a27.
This commit is contained in:
Björn Esser 2014-05-22 16:02:16 +02:00
parent 13e7304a27
commit d8d4d02af8

View File

@ -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 <pbrobinson@fedoraproject.org> 1.9.9-4
- Root package should be noarch too
* Thu May 22 2014 Björn Esser <bjoern.esser@gmail.com> - 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 <pbrobinson@fedoraproject.org> 1.9.9-3
- Build as noarch