From 23f0326ce930e80964eeb4afec8601904b7220ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 12 Sep 2016 11:06:48 +0200 Subject: [PATCH] - disable debuginfo subpackage on interpreted builds --- ocaml-camomile.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ocaml-camomile.spec b/ocaml-camomile.spec index d295884..626a653 100644 --- a/ocaml-camomile.spec +++ b/ocaml-camomile.spec @@ -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 - 0.8.5-17 +- disable debuginfo subpackage on interpreted builds + * Sat May 14 2016 Richard Jones - 0.8.5-16 - Base package should depend on -data, not other way round (RHBZ#1336000).