add %%global debug_package %%{nil} to avoid empty debuginfo-pkg

This commit is contained in:
Björn Esser 2014-05-28 12:56:59 +02:00
parent de61c78586
commit cbddf3f27d

View File

@ -1,10 +1,12 @@
# 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.
# produces a noarched subpkg, only. There is no binary-compiled bits and
# therefore no debuginfo generated.
%global debug_package %{nil}
Name: uthash
Version: 1.9.9
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A hash table for C structures
License: BSD
URL: http://troydhanson.github.io/uthash
@ -44,6 +46,9 @@ cd tests && make %{?_smp_mflags}
%{_includedir}/ut*.h
%changelog
* Wed May 28 2014 Björn Esser <bjoern.esser@gmail.com> - 1.9.9-6
- add `%%global debug_package %%{nil}` to avoid empty debuginfo-pkg.
* Thu May 22 2014 Björn Esser <bjoern.esser@gmail.com> - 1.9.9-5
- revert "Root package should be noarch too".
- add provides %%{name} for -devel subpkg.