Version 0.15.0.

This commit is contained in:
Jerry James 2021-11-30 11:27:34 -07:00
parent 4f75916200
commit 61244ec812
3 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,8 @@
# ocaml-ppx-compare
The ocaml-ppx-compare package
[`Ppx_compare`](https://github.com/janestreet/ppx_compare) is a ppx rewriter
that derives comparison and equality functions from type representations. The
scaffolded functions are usually much faster than OCaml's `Pervasives.compare`
and `Pervasives.(=)`. Scaffolding functions also give more flexibility by
allowing them to be overridden for a specific type, and more safety by making
sure that only comparable values are compared.

View File

@ -10,18 +10,18 @@
%global upname ppx_compare
Name: ocaml-%{srcname}
Version: 0.14.0
Release: 14%{?dist}
Version: 0.15.0
Release: 1%{?dist}
Summary: Generate comparison functions from types
License: MIT
URL: https://github.com/janestreet/%{upname}
Source0: %{url}/archive/v%{version}/%{upname}-%{version}.tar.gz
BuildRequires: ocaml >= 4.04.2
BuildRequires: ocaml-base-devel >= 0.14.0
BuildRequires: ocaml >= 4.08.0
BuildRequires: ocaml-base-devel >= 0.15.0
BuildRequires: ocaml-dune >= 2.0.0
BuildRequires: ocaml-ppxlib-devel >= 0.11.0
BuildRequires: ocaml-ppxlib-devel >= 0.23.0
BuildRequires: ocaml-odoc
%if %{with tests}
@ -50,7 +50,7 @@ developing applications that use %{name}.
%autosetup -n %{upname}-%{version} -p1
%build
dune build %{?_smp_mflags}
dune build %{?_smp_mflags} --verbose --profile release
dune build %{?_smp_mflags} @doc
%install
@ -109,6 +109,9 @@ dune runtest
%{_libdir}/ocaml/%{upname}/*/*.mli
%changelog
* Tue Nov 30 2021 Jerry James <loganjerry@gmail.com> - 0.15.0-1
- Version 0.15.0
* Tue Oct 05 2021 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-14
- OCaml 4.13.1 build

View File

@ -1 +1 @@
SHA512 (ppx_compare-0.14.0.tar.gz) = be02c8114e0915439c04b3d796029ad124e9a2e637032d6a86a41c03b81985cb0f68f65bc43c1d12221b521f6fa10006a105b3ffe95e991ed9695692fd0763cb
SHA512 (ppx_compare-0.15.0.tar.gz) = b6ee858fd92b26026a82cb1c1d2f1e2855e9c68f6b632c2f76ea771ab33f329b8121462b36e95fa7ecbe9d329102f0240b8b90253e44ebc4e727b767ef8667e0