diff --git a/ocaml-fileutils.changes b/ocaml-fileutils.changes index 4daabff..8ec9399 100644 --- a/ocaml-fileutils.changes +++ b/ocaml-fileutils.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-fileutils.spec b/ocaml-fileutils.spec index 68a9098..db50171 100644 --- a/ocaml-fileutils.spec +++ b/ocaml-fileutils.spec @@ -19,7 +19,9 @@ Name: ocaml-fileutils Version: 0.5.0 Release: 0 +%if %{defined ocaml_preserve_bytecode} %{ocaml_preserve_bytecode} +%endif Summary: OCaml library for common file and filename operations License: SUSE-LGPL-2.0-with-linking-exception Group: Development/Libraries/Other @@ -73,7 +75,7 @@ developing applications that use %{name}. %doc COPYING.txt %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* -%if %{ocaml_native_compiler} +%if %{defined ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif @@ -83,7 +85,7 @@ developing applications that use %{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