Wrap specfile conditionals to fix quilt setup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=17
This commit is contained in:
Olaf Hering 2017-07-17 12:41:58 +00:00 committed by Git OBS Bridge
parent 12f3b63ffe
commit 147af2c455
2 changed files with 9 additions and 2 deletions

View File

@ -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 Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de

View File

@ -19,7 +19,9 @@
Name: ocaml-libvirt Name: ocaml-libvirt
Version: 0.6.1.4.20160205.8853f5a Version: 0.6.1.4.20160205.8853f5a
Release: 0 Release: 0
%if %{defined ocaml_preserve_bytecode}
%{ocaml_preserve_bytecode} %{ocaml_preserve_bytecode}
%endif
Summary: OCaml binding for libvirt Summary: OCaml binding for libvirt
License: LGPL-2.0+ License: LGPL-2.0+
Group: Development/Libraries/Other Group: Development/Libraries/Other
@ -155,7 +157,7 @@ _EOF_
%{_bindir}/* %{_bindir}/*
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/* %dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler} %if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs %{_libdir}/ocaml/*/*.cmxs
%endif %endif
%{_libdir}/ocaml/*/*.so %{_libdir}/ocaml/*/*.so
@ -167,7 +169,7 @@ _EOF_
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/* %dir %{_libdir}/ocaml/*
%{_libdir}/ocaml/*/*.a %{_libdir}/ocaml/*/*.a
%if %{ocaml_native_compiler} %if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa %{_libdir}/ocaml/*/*.cmxa
%endif %endif