From bee19a41ee3da96b8303392a1790837338eb9a20 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 23 Oct 2020 09:20:01 -0600 Subject: [PATCH] Version 1.0.0. --- markup-0.8.2-rename-ounit.patch | 31 ------------------------------- ocaml-markup.spec | 15 ++++++--------- sources | 2 +- 3 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 markup-0.8.2-rename-ounit.patch 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 71a2812..aee2299 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}.1 +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 + * Wed Sep 02 2020 Richard W.M. Jones - 0.8.2-12.1 - Bump release and 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