Add ocaml-uutf-devel R to -devel.

Add ocaml-bisect-ppx-devel R to -lwt-devel.
Build in parallel.
This commit is contained in:
Jerry James 2020-01-16 11:45:50 -07:00
parent ef17e8712b
commit 5931d99b73
1 changed files with 9 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Name: ocaml-%{srcname}
Version: 0.8.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Error-recovering streaming HTML5 and XML parsers for OCaml
License: MIT
@ -48,6 +48,7 @@ HTML5.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: ocaml-uutf-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and signature files for
@ -64,6 +65,7 @@ This package contains an adapter between Markup.ml and Lwt.
Summary: Development files for %{name}-lwt
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-lwt%{?_isa} = %{version}-%{release}
Requires: ocaml-bisect-ppx-devel%{?_isa}
Requires: ocaml-lwt-devel%{?_isa}
%description lwt-devel
@ -80,7 +82,7 @@ developing applications that use %{name}-lwt.
sed -i '/uchar/d' markup.opam
%build
dune build
dune build %{?_smp_mflags}
# Build the documentation. Unfortunately, ocamldoc is not smart enough to
# figure out that Kstream is Markup.Kstream. I have not been able to figure
@ -171,5 +173,10 @@ make test
%{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli
%changelog
* Thu Jan 16 2020 Jerry James <loganjerry@gmail.com> - 0.8.2-2
- Add ocaml-uutf-devel R to -devel
- Add ocaml-bisect-ppx-devel R to -lwt-devel
- Build in parallel
* Fri Jan 10 2020 Jerry James <loganjerry@gmail.com> - 0.8.2-1
- Initial RPM