New upstream version 0.5.2. (RHBZ#1706435)

This commit is contained in:
Andy Li 2019-12-28 04:21:09 +08:00
parent b0abc12d58
commit 36062a9a84
3 changed files with 16 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/ocaml-gen-0.4.0.1.tar.gz
/ocaml-gen-0.5.tar.gz
/ocaml-gen-0.5.1.tar.gz
/ocaml-gen-0.5.2.tar.gz

View File

@ -1,6 +1,6 @@
Name: ocaml-gen
Version: 0.5.1
Release: 10%{?dist}
Version: 0.5.2
Release: 1%{?dist}
Summary: Simple, efficient iterators for OCaml
License: BSD
@ -8,10 +8,12 @@ URL: https://github.com/c-cube/gen
Source0: https://github.com/c-cube/gen/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: ocaml
BuildRequires: jbuilder
BuildRequires: ocaml-dune
BuildRequires: ocaml-ocamlbuild
BuildRequires: ocaml-findlib
BuildRequires: opam-installer
BuildRequires: ocaml-ounit-devel
BuildRequires: ocaml-qcheck-devel
BuildRequires: ocaml-qtest-devel
%description
Iterators for OCaml, both restartable and consumable.
@ -33,12 +35,12 @@ developing applications that use %{name}.
%build
jbuilder build --profile release @install
dune build -p gen @install
%install
mkdir -p %{buildroot}%{_libdir}/ocaml
jbuilder install --destdir=%{buildroot} --libdir=%{_libdir}/ocaml
dune install --destdir=%{buildroot} --libdir=%{_libdir}/ocaml
# These files will be installed using doc and license directives.
rm -r %{buildroot}/usr/doc
@ -47,7 +49,7 @@ rm -r %{buildroot}/usr/doc
find %{buildroot} -name '*.cmxs' -exec chmod 0755 {} \;
%check
jbuilder runtest --no-buffer
dune runtest -p gen --no-buffer
%files
@ -76,6 +78,11 @@ jbuilder runtest --no-buffer
%changelog
* Sat Dec 28 2019 Andy Li <andy@onthewings.net> - 0.5.2-1
- New upstream version 0.5.2. (RHBZ#1706435)
- Use dune (instead of jbuilder) to build.
- Remove unneeded BuildRequires on opam-installer.
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.5.1-10
- OCaml 4.08.1 (final) rebuild.

View File

@ -1 +1 @@
SHA512 (ocaml-gen-0.5.1.tar.gz) = 4576899776cfb3e62bc9b3703cca6024cc18ef12a1e2d1bf2a675c5a8d9833c0feac829c2254d0f2227d06eea5de831a4f52aae162ce53e4c7168e553b7ce873
SHA512 (ocaml-gen-0.5.2.tar.gz) = c84e5ea0c9b3a678b6a5c935eacf91265a79b68a48375c44aa5f159d4cb02283c1be0786e172a153666c670bc7ee37b931004b8747a99e5f4ab90ca63e097ff5