Version 1.0.0.
This commit is contained in:
parent
ead4eca5dc
commit
bee19a41ee
@ -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)))
|
|
@ -5,25 +5,19 @@
|
|||||||
%global srcname markup
|
%global srcname markup
|
||||||
|
|
||||||
Name: ocaml-%{srcname}
|
Name: ocaml-%{srcname}
|
||||||
Version: 0.8.2
|
Version: 1.0.0
|
||||||
Release: 12%{?dist}.1
|
Release: 1%{?dist}
|
||||||
Summary: Error-recovering streaming HTML5 and XML parsers for OCaml
|
Summary: Error-recovering streaming HTML5 and XML parsers for OCaml
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://aantron.github.io/markup.ml/
|
URL: http://aantron.github.io/markup.ml/
|
||||||
Source0: https://github.com/aantron/markup.ml/archive/%{version}/%{srcname}-%{version}.tar.gz
|
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 >= 4.02.0
|
||||||
BuildRequires: ocaml-bisect-ppx-devel >= 2.0.0
|
BuildRequires: ocaml-bisect-ppx-devel >= 2.0.0
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-findlib
|
|
||||||
BuildRequires: ocaml-lwt-devel
|
BuildRequires: ocaml-lwt-devel
|
||||||
BuildRequires: ocaml-mmap-devel
|
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-ocplib-endian-devel
|
|
||||||
BuildRequires: ocaml-ounit-devel
|
BuildRequires: ocaml-ounit-devel
|
||||||
BuildRequires: ocaml-uutf-devel >= 1.0.0
|
BuildRequires: ocaml-uutf-devel >= 1.0.0
|
||||||
|
|
||||||
@ -115,7 +109,7 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod 0755 {} \+
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
dune runtest
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -176,6 +170,9 @@ make test
|
|||||||
%{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli
|
%{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 23 2020 Jerry James <loganjerry@gmail.com> - 1.0.0-1
|
||||||
|
- Version 1.0.0
|
||||||
|
|
||||||
* Wed Sep 02 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.2-12.1
|
* Wed Sep 02 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.2-12.1
|
||||||
- Bump release and rebuild.
|
- Bump release and rebuild.
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (markup-0.8.2.tar.gz) = d529e5bf8ef154244603474a5e017d0a62baf64e3550346e8440adcc1166576813a22b17d0419b0399d35673f463bea5e2ae46ab5abef3f3b9befc4821fd7e1b
|
SHA512 (markup-1.0.0.tar.gz) = d251c9080e95d946d475f3461b6a44e0a57227eb9f28a6cd626947cf456c33ad628503702699a0c321e60d28319c7764d47602788d2c855fdd13eaac95279857
|
||||||
|
Loading…
Reference in New Issue
Block a user