Wrap specfile conditionals to fix quilt setup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=63
This commit is contained in:
parent
ad0715b29c
commit
cdbad4677e
@ -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
|
||||
|
||||
|
@ -20,7 +20,9 @@
|
||||
Name: ocaml-findlib
|
||||
Version: 1.6.2
|
||||
Release: 0
|
||||
%if %{defined ocaml_preserve_bytecode}
|
||||
%{ocaml_preserve_bytecode}
|
||||
%endif
|
||||
Summary: Objective CAML package manager and build helper
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
@ -86,7 +88,7 @@ tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocam
|
||||
-mandir %{_mandir} \
|
||||
-with-toolbox
|
||||
make all
|
||||
%if %{ocaml_native_compiler}
|
||||
%if %{defined ocaml_native_compiler}
|
||||
make opt
|
||||
%endif
|
||||
rm doc/guide-html/TIMESTAMP
|
||||
@ -128,7 +130,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
|
||||
#
|
||||
%{_libdir}/ocaml/topfind
|
||||
%dir %{_libdir}/ocaml/findlib
|
||||
%if %{ocaml_native_compiler}
|
||||
%if %{defined ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
|
||||
@ -142,7 +144,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
|
||||
%dir %{_libdir}/ocaml/num-top
|
||||
%{_libdir}/ocaml/findlib/META
|
||||
%{_libdir}/ocaml/num-top/META
|
||||
%if %{ocaml_native_compiler}
|
||||
%if %{defined ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.a
|
||||
%{_libdir}/ocaml/*/*.cmxa
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user