- disable debuginfo subpackage on interpreted builds

This commit is contained in:
Dan Horák 2016-09-12 11:06:48 +02:00
parent 6489e2e165
commit 23f0326ce9
1 changed files with 7 additions and 1 deletions

View File

@ -1,8 +1,11 @@
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%if ! %opt
%global debug_package %{nil}
%endif
Name: ocaml-camomile
Version: 0.8.5
Release: 16%{?dist}
Release: 17%{?dist}
Summary: Unicode library for OCaml
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+
@ -115,6 +118,9 @@ cp tools/camomilelocaledef.opt $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef
%changelog
* Mon Sep 12 2016 Dan Horák <dan[at]danny.cz> - 0.8.5-17
- disable debuginfo subpackage on interpreted builds
* Sat May 14 2016 Richard Jones <rjones@redhat.com> - 0.8.5-16
- Base package should depend on -data, not other way round (RHBZ#1336000).