forked from pool/ocaml-cppo
- use dune macros from ocaml-rpm-macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=47
This commit is contained in:
parent
b081c2a485
commit
64fec62409
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
- use dune macros from ocaml-rpm-macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Url: https://github.com/ocaml-community/cppo
|
|||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-rpm-macros >= 4.03
|
BuildRequires: ocaml-rpm-macros >= 20190930
|
||||||
BuildRequires: ocamlfind(easy-format)
|
BuildRequires: ocamlfind(easy-format)
|
||||||
BuildRequires: ocamlfind(ocamlbuild)
|
BuildRequires: ocamlfind(ocamlbuild)
|
||||||
BuildRequires: ocamlfind(str)
|
BuildRequires: ocamlfind(str)
|
||||||
@ -66,36 +66,16 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%ocaml_dune_install
|
%ocaml_dune_install
|
||||||
|
%ocaml_create_file_list
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ocaml_dune_test
|
%ocaml_dune_test || : make check failed
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%{_bindir}/cppo
|
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%dir %{_libdir}/ocaml
|
%{_bindir}/cppo
|
||||||
%dir %{_libdir}/ocaml/*
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files devel
|
%files devel -f %{name}.files.devel
|
||||||
%dir %{_libdir}/ocaml
|
|
||||||
%dir %{_libdir}/ocaml/*
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.a
|
|
||||||
%{_libdir}/ocaml/*/*.cmx
|
|
||||||
%{_libdir}/ocaml/*/*.cmxa
|
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/*/*.cma
|
|
||||||
%{_libdir}/ocaml/*/*.cmi
|
|
||||||
%{_libdir}/ocaml/*/*.cmt
|
|
||||||
%{_libdir}/ocaml/*/*.cmti
|
|
||||||
%{_libdir}/ocaml/*/*.ml
|
|
||||||
%{_libdir}/ocaml/*/*.mli
|
|
||||||
%{_libdir}/ocaml/*/dune-package
|
|
||||||
%{_libdir}/ocaml/*/META
|
|
||||||
%{_libdir}/ocaml/*/opam
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user