Accepting request 884968 from Archiving:unison:buildrequires

OBS-URL: https://build.opensuse.org/request/show/884968
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=90
This commit is contained in:
Olaf Hering 2021-04-13 13:37:21 +00:00 committed by Git OBS Bridge
parent 5ee9cb1340
commit dc71edb6fd

View File

@ -24,7 +24,7 @@ Release: 0
Summary: Objective CAML package manager and build helper
License: MIT
Group: Development/Languages/OCaml
BuildRoot: %_tmppath/%name-%version-build
Url: https://github.com/ocaml/ocamlfind
Source0: findlib-%{version}.tar.xz
#
@ -32,12 +32,11 @@ Requires: ocaml-compiler-libs
Requires: ocaml-runtime
#
Provides: ocamlfind = %{version}
BuildRequires: m4
BuildRequires: ncurses-devel
BuildRequires: ocaml
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-rpm-macros >= 20200220
BuildRequires: ocaml-rpm-macros >= 20210409
%description
Findlib is a library manager for Objective Caml. It provides a
@ -58,7 +57,7 @@ The ocaml-findlib-devel package contains libraries and signature files
for developing applications that use ocaml-findlib.
%prep
%autosetup -p1 -n findlib-%{version}
%setup -q -n findlib-%{version}
%build
rm -rfv site-lib-src
@ -70,7 +69,7 @@ tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocam
-mandir %{_mandir} \
-with-toolbox
make all
%if 0%{?ocaml_native_compiler}
%if 0%{?suse_ocaml_native_compiler}
make opt
%endif
rm -fv doc/guide-html/TIMESTAMP
@ -81,6 +80,7 @@ rm -rfv %{buildroot}%{ocaml_standard_library}/ocamlbuild
%ocaml_create_file_list
%files -f %{name}.files
%defattr(-,root,root,-)
%{ocaml_standard_library}/ocamlfind.conf
%{ocaml_standard_library}/topfind
%{_bindir}/*
@ -88,6 +88,7 @@ rm -rfv %{buildroot}%{ocaml_standard_library}/ocamlbuild
#
%files devel -f %{name}.files.devel
%defattr(-,root,root,-)
%{ocaml_standard_library}/*/Makefile.config
%changelog