Compare commits

...

4 Commits

Author SHA1 Message Date
aeff3f48a6
Bump Release
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2021-04-25 10:16:25 +03:00
Jerry James
81f1c268ae Upstream re-released version 1.0.0. 2020-12-02 09:31:40 -07:00
Jerry James
bee19a41ee Version 1.0.0. 2020-10-23 10:00:37 -06:00
Richard W.M. Jones
ead4eca5dc Bump release and rebuild. 2020-09-02 22:08:35 +01:00
3 changed files with 18 additions and 43 deletions

View File

@ -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)))

View File

@ -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} Release: 2%{?dist}.rvre0
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 >= 2.7.0
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
@ -84,7 +78,7 @@ developing applications that use %{name}-lwt.
sed -i '/uchar/d' markup.opam sed -i '/uchar/d' markup.opam
%build %build
dune build %{?_smp_mflags} dune build %{?_smp_mflags} @install
# Build the documentation. Unfortunately, ocamldoc is not smart enough to # Build the documentation. Unfortunately, ocamldoc is not smart enough to
# figure out that Kstream is Markup.Kstream. I have not been able to figure # figure out that Kstream is Markup.Kstream. I have not been able to figure
@ -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,18 @@ make test
%{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli %{_libdir}/ocaml/%{srcname}-lwt/unix/%{srcname}_lwt_unix.mli
%changelog %changelog
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.0.0-2.rvre0
- Rebuilt for Fedora RISCV, no changes
* Wed Dec 2 2020 Jerry James <loganjerry@gmail.com> - 1.0.0-2
- Upstream re-released version 1.0.0
* 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
- Bump release and rebuild.
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.2-12 * Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.2-12
- OCaml 4.11.1 rebuild - OCaml 4.11.1 rebuild

View File

@ -1 +1 @@
SHA512 (markup-0.8.2.tar.gz) = d529e5bf8ef154244603474a5e017d0a62baf64e3550346e8440adcc1166576813a22b17d0419b0399d35673f463bea5e2ae46ab5abef3f3b9befc4821fd7e1b SHA512 (markup-1.0.0.tar.gz) = 6383ed24fd86be0f6a64d9386b547d323fa0e763571ff3e7405119173c6ac6a7ed043bc0d35afd6e933101f22ed4b2f8baa08ba07d3df57a68015caaf79030ab