1
1
Vendor: Microsoft Corporation
2
2
Distribution: Azure Linux
3
+
3
4
%ifnarch %{ocaml_native_compiler }
4
5
%global debug_package %{nil }
5
6
%endif
6
7
7
8
%global srcname markup
8
- %bcond_with tests
9
- %bcond_with docs
9
+ %global giturl https://github.com/aantron/markup.ml
10
10
11
11
Name: ocaml-%{srcname }
12
- Version: 1.0.0
13
- Release: 5 %{?dist }
12
+ Version: 1.0.3
13
+ Release: 18 %{?dist }
14
14
Summary: Error-recovering streaming HTML5 and XML parsers for OCaml
15
15
16
16
License: MIT
17
- URL: http ://aantron.github.io/markup.ml/
17
+ URL: https ://aantron.github.io/markup.ml/
18
18
Source0: https://github.com/aantron/markup.ml/archive/%{version }/%{srcname }-%{version }.tar.gz
19
19
20
- BuildRequires: ocaml >= 4.02 .0
21
- BuildRequires: ocaml-bisect-ppx-devel >= 2.0 .0
20
+ BuildRequires: ocaml >= 4.03 .0
21
+ BuildRequires: ocaml-bisect-ppx-devel >= 2.5 .0
22
22
BuildRequires: ocaml-dune >= 2.7.0
23
23
BuildRequires: ocaml-lwt-devel
24
- BuildRequires: ocaml-uutf-devel >= 1.0.0
25
- %if %{with tests }
26
24
BuildRequires: ocaml-ounit-devel
27
- %endif
28
- %if %{with docs }
29
- BuildRequires: ocaml-ocamldoc
30
- %endif
25
+ BuildRequires: ocaml-uutf-devel >= 1.0.0
31
26
32
27
%description
33
28
Markup.ml is a pair of parsers implementing the HTML5 and XML
@@ -69,15 +64,14 @@ This package contains an adapter between Markup.ml and Lwt.
69
64
Summary: Development files for %{name }-lwt
70
65
Requires: %{name }-devel%{?_isa } = %{version }-%{release }
71
66
Requires: %{name }-lwt%{?_isa } = %{version }-%{release }
72
- Requires: ocaml-bisect-ppx-devel%{?_isa }
73
67
Requires: ocaml-lwt-devel%{?_isa }
74
68
75
69
%description lwt-devel
76
70
The %{name }-lwt-devel package contains libraries and signature files for
77
71
developing applications that use %{name }-lwt.
78
72
79
73
%prep
80
- %autosetup -n %{ srcname } .ml-%{version } -p1
74
+ %autosetup -n markup .ml-%{version } -p1
81
75
82
76
# The uchar package is a forward compatibility package for OCaml versions prior
83
77
# to 4.03. We have a later OCaml in Fedora; uchar is in the standard library.
@@ -86,107 +80,113 @@ developing applications that use %{name}-lwt.
86
80
sed -i '/uchar/d' markup.opam
87
81
88
82
%build
89
- dune build %{?_smp_mflags } @install
90
-
91
- %if %{with docs }
92
- # Build the documentation. Unfortunately, ocamldoc is not smart enough to
93
- # figure out that Kstream is Markup.Kstream. I have not been able to figure
94
- # out how to convince it, so the temporary hacked-up copy of markup.mli is
95
- # my way of working around the problem. We should really build documentation
96
- # with odoc, but this package is a build dependency of odoc.
97
- mkdir tmp
98
- sed '/Kstream/d' _build/default/src/markup.mli > tmp/markup.mli
99
-
100
- mkdir html
101
- ocamldoc -html -d html -css-style doc/style.css -I +lwt -I +lwt/unix \
102
- -I _build/install/default/lib/markup \
103
- -I _build/install/default/lib/markup-lwt \
104
- -I _build/install/default/lib/markup-lwt/unix \
105
- tmp/markup.mli \
106
- _build/default/src/lwt/markup_lwt.mli \
107
- _build/default/src/lwt_unix/markup_lwt_unix.mli
108
- %endif
83
+ %dune_build
109
84
110
85
%install
111
- dune install --destdir=%{buildroot }
112
-
113
- # We install the documentation with the doc macro
114
- rm -fr %{buildroot }%{_prefix }/doc
115
-
116
- %ifarch %{ocaml_native_compiler }
117
- # Add missing executable bits
118
- find %{buildroot }%{_libdir }/ocaml -name \*.cmxs -exec chmod 0755 {} \+
119
- %endif
86
+ %dune_install -s
120
87
121
88
%check
122
- %if %{with tests }
123
- dune runtest
124
- %endif
89
+ %dune_check
125
90
126
- %files
91
+ %files -f .ofiles-markup
127
92
%doc README.md
128
93
%license LICENSE.md
129
- %dir %{_libdir }/ocaml/%{srcname }/
130
- %{_libdir }/ocaml/%{srcname }/META
131
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cma
132
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmi
133
- %ifarch %{ocaml_native_compiler }
134
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmxs
135
- %endif
136
94
137
- %files devel
138
- %if %{with docs }
139
- %doc html/*
140
- %endif
141
- %{_libdir }/ocaml/%{srcname }/dune-package
142
- %{_libdir }/ocaml/%{srcname }/opam
143
- %ifarch %{ocaml_native_compiler }
144
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .a
145
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmx
146
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmxa
147
- %endif
148
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmt
149
- %{_libdir }/ocaml/%{srcname }/%{srcname }* .cmti
150
- %{_libdir }/ocaml/%{srcname }/* .ml
151
- %{_libdir }/ocaml/%{srcname }/* .mli
152
-
153
- %files lwt
154
- %dir %{_libdir }/ocaml/%{srcname }-lwt/
155
- %dir %{_libdir }/ocaml/%{srcname }-lwt/unix/
156
- %{_libdir }/ocaml/%{srcname }-lwt/META
157
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cma
158
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmi
159
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cma
160
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmi
161
- %ifarch %{ocaml_native_compiler }
162
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmxs
163
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmxs
164
- %endif
95
+ %files devel -f .ofiles-markup-devel
165
96
166
- %files lwt-devel
167
- %{_libdir }/ocaml/%{srcname }-lwt/dune-package
168
- %{_libdir }/ocaml/%{srcname }-lwt/opam
169
- %ifarch %{ocaml_native_compiler }
170
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.a
171
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmx
172
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmxa
173
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.a
174
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmx
175
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmxa
176
- %endif
177
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmt
178
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.cmti
179
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.ml
180
- %{_libdir }/ocaml/%{srcname }-lwt/%{srcname }_lwt.mli
181
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmt
182
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.cmti
183
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.ml
184
- %{_libdir }/ocaml/%{srcname }-lwt/unix/%{srcname }_lwt_unix.mli
97
+ %files lwt -f .ofiles-markup-lwt
98
+
99
+ %files lwt-devel -f .ofiles-markup-lwt-devel
185
100
186
101
%changelog
187
- *
Mon Aug 09 2021 Thomas Crain <[email protected] > -
1.0.0-5
188
- - Initial CBL-Mariner import from Fedora 34 (license: MIT).
189
- - Remove test, docs circular dependencies
102
+ *
Wed Jan 08 2025 Durga Jagadeesh Palli <[email protected] > -
1.0.3-18
103
+ - Initial Azure Linux import from Fedora 41 (license: MIT)
104
+ - License verified
105
+
106
+ *
Thu Jul 18 2024 Fedora Release Engineering <[email protected] > -
1.0.3-17
107
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
108
+
109
+ *
Wed Jun 19 2024 Richard W.M. Jones <[email protected] > -
1.0.3-16
110
+ - OCaml 5.2.0 ppc64le fix
111
+
112
+ *
Wed May 29 2024 Richard W.M. Jones <[email protected] > -
1.0.3-15
113
+ - OCaml 5.2.0 for Fedora 41
114
+
115
+ *
Thu Jan 25 2024 Fedora Release Engineering <[email protected] > -
1.0.3-14
116
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
117
+
118
+ *
Sun Jan 21 2024 Fedora Release Engineering <[email protected] > -
1.0.3-13
119
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
120
+
121
+ *
Mon Dec 18 2023 Richard W.M. Jones <[email protected] > -
1.0.3-12
122
+ - OCaml 5.1.1 + s390x code gen fix for Fedora 40
123
+
124
+ *
Tue Dec 12 2023 Richard W.M. Jones <[email protected] > -
1.0.3-11
125
+ - OCaml 5.1.1 rebuild for Fedora 40
126
+
127
+ *
Thu Oct 05 2023 Richard W.M. Jones <[email protected] > -
1.0.3-10
128
+ - OCaml 5.1 rebuild for Fedora 40
129
+
130
+ *
Thu Jul 20 2023 Fedora Release Engineering <[email protected] > -
1.0.3-9
131
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
132
+
133
+ *
Tue Jul 11 2023 Richard W.M. Jones <[email protected] > -
1.0.3-8
134
+ - OCaml 5.0 rebuild for Fedora 39
135
+
136
+ *
Mon Jul 10 2023 Jerry James <[email protected] > -
1.0.3-7
137
+ - OCaml 5.0.0 rebuild
138
+
139
+ *
Tue Jan 24 2023 Richard W.M. Jones <[email protected] > -
1.0.3-6
140
+ - Rebuild OCaml packages for F38
141
+
142
+ *
Thu Jan 19 2023 Fedora Release Engineering <[email protected] > -
1.0.3-5
143
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
144
+
145
+ *
Thu Aug 18 2022 Jerry James <[email protected] > -
1.0.3-4
146
+ - Rebuild for ocaml-lwt 5.6.1
147
+
148
+ *
Fri Jul 22 2022 Fedora Release Engineering <[email protected] > -
1.0.3-3
149
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
150
+
151
+ *
Wed Jul 20 2022 Jerry James <[email protected] > -
1.0.3-2
152
+ - Use new OCaml macros
153
+
154
+ *
Sun Jun 19 2022 Richard W.M. Jones <[email protected] > -
1.0.3-2
155
+ - OCaml 4.14.0 rebuild
156
+
157
+ *
Wed Apr 27 2022 Jerry James <[email protected] > -
1.0.3-1
158
+ - Version 1.0.3
159
+ - Drop upstreamed patch for OCaml 4.13.1 compatibility
160
+
161
+ *
Mon Feb 28 2022 Jerry James <[email protected] > -
1.0.2-7
162
+ - Rebuild for ocaml-uutf 1.0.3
163
+
164
+ *
Fri Feb 04 2022 Richard W.M. Jones <[email protected] > -
1.0.2-6
165
+ - OCaml 4.13.1 rebuild to remove package notes
166
+
167
+ *
Thu Jan 20 2022 Fedora Release Engineering <[email protected] > -
1.0.2-5
168
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
169
+
170
+ *
Mon Jan 3 2022 Jerry James <[email protected] > -
1.0.2-4
171
+ - Rebuild for changed ocaml-lwt hashes
172
+
173
+ *
Tue Oct 05 2021 Richard W.M. Jones <[email protected] > -
1.0.2-3
174
+ - OCaml 4.13.1 build
175
+
176
+ *
Thu Jul 22 2021 Fedora Release Engineering <[email protected] > -
1.0.2-2
177
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
178
+
179
+ *
Mon Jul 5 2021 Jerry James <[email protected] > -
1.0.2-1
180
+ - Version 1.0.2
181
+
182
+ *
Tue Jun 22 2021 Jerry James <[email protected] > -
1.0.1-1
183
+ - Version 1.0.1
184
+
185
+ *
Thu Jun 3 2021 Richard W.M. Jones <[email protected] > -
1.0.0-6
186
+ - Rebuild for new ocaml-lwt.
187
+
188
+ *
Mon Mar 1 21:30:59 GMT 2021 Richard W.M. Jones <[email protected] > -
1.0.0-5
189
+ - OCaml 4.12.0 build
190
190
191
191
*
Mon Feb 22 2021 Jerry James <[email protected] > -
1.0.0-4
192
192
- Rebuild for ocaml-lwt 5.4.0
0 commit comments