From a11af2dcc13db298bb11708d1860e57cd121e092e40b5f45e2664f82dc404f01 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 17 Jul 2017 12:42:46 +0000 Subject: [PATCH] Wrap specfile conditionals to fix quilt setup OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=22 --- ocaml-ounit.changes | 5 +++++ ocaml-ounit.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ocaml-ounit.changes b/ocaml-ounit.changes index 39f6123..e103152 100644 --- a/ocaml-ounit.changes +++ b/ocaml-ounit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de + +- Wrap specfile conditionals to fix quilt setup + ------------------------------------------------------------------- Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de diff --git a/ocaml-ounit.spec b/ocaml-ounit.spec index 2df9824..5f41a22 100644 --- a/ocaml-ounit.spec +++ b/ocaml-ounit.spec @@ -19,7 +19,9 @@ Name: ocaml-ounit Version: 2.0.0 Release: 0 +%if %{defined ocaml_preserve_bytecode} %{ocaml_preserve_bytecode} +%endif Summary: Ocaml OUnit test framework License: MIT Group: Development/Libraries/Other @@ -64,7 +66,7 @@ Development files needed for application based on %{name}. %doc LICENSE.txt %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* -%if %{ocaml_native_compiler} +%if %{defined ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif @@ -73,7 +75,7 @@ Development files needed for application based on %{name}. %{oasis_docdir_html} %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* -%if %{ocaml_native_compiler} +%if %{defined ocaml_native_compiler} %{_libdir}/ocaml/*/*.a %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa