From a3920f4614a48f87cf448dee240e240623f78ee7 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Oct 23 2020 15:20:01 +0000 Subject: Version 1.0.0. --- diff --git a/markup-0.8.2-rename-ounit.patch b/markup-0.8.2-rename-ounit.patch deleted file mode 100644 index 2dd746d..0000000 --- a/markup-0.8.2-rename-ounit.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -ur markup.ml-0.8.2.old/test/dune markup.ml-0.8.2/test/dune ---- markup.ml-0.8.2.old/test/dune 2019-12-09 21:10:45.000000000 +0000 -+++ markup.ml-0.8.2/test/dune 2020-02-26 18:50:33.352347296 +0000 -@@ -1,6 +1,6 @@ - (executable - (name test) -- (libraries markup oUnit test_support) -+ (libraries markup ounit2 test_support) - (flags (:standard -w +A-44-48))) - - (alias -diff -ur markup.ml-0.8.2.old/test/lwt_unix/dune markup.ml-0.8.2/test/lwt_unix/dune ---- markup.ml-0.8.2.old/test/lwt_unix/dune 2019-12-09 21:10:45.000000000 +0000 -+++ markup.ml-0.8.2/test/lwt_unix/dune 2020-02-26 18:50:27.299431528 +0000 -@@ -1,6 +1,6 @@ - (executable - (name test_lwt) -- (libraries lwt.unix markup-lwt.unix oUnit test_support) -+ (libraries lwt.unix markup-lwt.unix ounit2 test_support) - (flags (:standard -w +A-44))) - - (alias -diff -ur markup.ml-0.8.2.old/test/support/dune markup.ml-0.8.2/test/support/dune ---- markup.ml-0.8.2.old/test/support/dune 2019-12-09 21:10:45.000000000 +0000 -+++ markup.ml-0.8.2/test/support/dune 2020-02-26 18:50:48.344138661 +0000 -@@ -1,4 +1,4 @@ - (library - (name test_support) -- (libraries markup oUnit) -+ (libraries markup ounit2) - (flags (:standard -w +A-44))) diff --git a/ocaml-markup.spec b/ocaml-markup.spec index c6da45b..c05bcb3 100644 --- a/ocaml-markup.spec +++ b/ocaml-markup.spec @@ -5,25 +5,19 @@ %global srcname markup Name: ocaml-%{srcname} -Version: 0.8.2 -Release: 12%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Error-recovering streaming HTML5 and XML parsers for OCaml License: MIT URL: http://aantron.github.io/markup.ml/ Source0: https://github.com/aantron/markup.ml/archive/%{version}/%{srcname}-%{version}.tar.gz -# Test looks for "oUnit" but the module is actually called "ounit2". -Patch1: markup-0.8.2-rename-ounit.patch - BuildRequires: ocaml >= 4.02.0 BuildRequires: ocaml-bisect-ppx-devel >= 2.0.0 BuildRequires: ocaml-dune -BuildRequires: ocaml-findlib BuildRequires: ocaml-lwt-devel -BuildRequires: ocaml-mmap-devel BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-ocplib-endian-devel BuildRequires: ocaml-ounit-devel BuildRequires: ocaml-uutf-devel >= 1.0.0 @@ -115,7 +109,7 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod 0755 {} \+ %endif %check -make test +dune runtest %files %doc README.md @@ -176,6 +170,9 @@ make test %{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli %changelog +* Fri Oct 23 2020 Jerry James - 1.0.0-1 +- Version 1.0.0 + * Tue Sep 01 2020 Richard W.M. Jones - 0.8.2-12 - OCaml 4.11.1 rebuild diff --git a/sources b/sources index ed6bf12..343ced4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (markup-0.8.2.tar.gz) = d529e5bf8ef154244603474a5e017d0a62baf64e3550346e8440adcc1166576813a22b17d0419b0399d35673f463bea5e2ae46ab5abef3f3b9befc4821fd7e1b +SHA512 (markup-1.0.0.tar.gz) = d251c9080e95d946d475f3461b6a44e0a57227eb9f28a6cd626947cf456c33ad628503702699a0c321e60d28319c7764d47602788d2c855fdd13eaac95279857