diff --git a/ocaml-curses.changes b/ocaml-curses.changes index 02461ea..211de05 100644 --- a/ocaml-curses.changes +++ b/ocaml-curses.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-curses.spec b/ocaml-curses.spec index 485aaa4..5a3dd67 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -19,7 +19,9 @@ Name: ocaml-curses Version: 1.0.3 Release: 0 +%if %{defined ocaml_preserve_bytecode} %{ocaml_preserve_bytecode} +%endif Summary: OCaml bindings for ncurses License: LGPL-2.1+ Group: Development/Libraries/Other @@ -114,7 +116,7 @@ _EOF_ %doc COPYING /etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml/* -%if %{ocaml_native_compiler} +%if %{defined ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so @@ -125,7 +127,7 @@ _EOF_ %{oasis_docdir_html} %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a -%if %{ocaml_native_compiler} +%if %{defined ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %endif