diff --git a/README.md b/README.md index c96962c..77e21f3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # ocaml-ppx-compare -The ocaml-ppx-compare package \ No newline at end of file +[`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. diff --git a/ocaml-ppx-compare.spec b/ocaml-ppx-compare.spec index 33ad813..c230181 100644 --- a/ocaml-ppx-compare.spec +++ b/ocaml-ppx-compare.spec @@ -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 - 0.15.0-1 +- Version 0.15.0 + * Tue Oct 05 2021 Richard W.M. Jones - 0.14.0-14 - OCaml 4.13.1 build diff --git a/sources b/sources index 623a852..8e3709b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ppx_compare-0.14.0.tar.gz) = be02c8114e0915439c04b3d796029ad124e9a2e637032d6a86a41c03b81985cb0f68f65bc43c1d12221b521f6fa10006a105b3ffe95e991ed9695692fd0763cb +SHA512 (ppx_compare-0.15.0.tar.gz) = b6ee858fd92b26026a82cb1c1d2f1e2855e9c68f6b632c2f76ea771ab33f329b8121462b36e95fa7ecbe9d329102f0240b8b90253e44ebc4e727b767ef8667e0