Wrap specfile conditionals to fix quilt setup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=40
This commit is contained in:
Olaf Hering 2017-07-17 12:42:53 +00:00 committed by Git OBS Bridge
parent 5547331c56
commit b99e7f2454
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

View File

@ -20,7 +20,9 @@
Name: ocaml-pcre
Version: 7.2.3
Release: 0
%if %{defined ocaml_preserve_bytecode}
%{ocaml_preserve_bytecode}
%endif
Summary: Perl compatibility regular expressions (PCRE) for OCaml
License: LGPL-2.0
Group: Development/Libraries/Other
@ -83,7 +85,7 @@ _EOF_
/etc/ld.so.conf.d/*.conf
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
%{_libdir}/ocaml/*/*.so
@ -94,7 +96,7 @@ _EOF_
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%{_libdir}/ocaml/*/*.a
%if %{ocaml_native_compiler}
%if %{defined ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa
%endif