Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
36d022dcde | ||
|
684979dc77 | ||
|
fe30af4dc0 | ||
|
75687ae132 | ||
|
4e1d979414 | ||
|
df22af03ed | ||
|
7cb613890f | ||
|
c0dbb90551 | ||
|
d1b0bb2a81 | ||
|
240036451d | ||
|
a2bc472c51 | ||
|
b87cd3afad |
@ -1,3 +1,6 @@
|
|||||||
# ocaml-fieldslib
|
# ocaml-fieldslib
|
||||||
|
|
||||||
The ocaml-fieldslib package
|
The [fieldslib package](https://github.com/janestreet/fieldslib) contains an
|
||||||
|
OCaml syntax extension to define first class values representing record
|
||||||
|
fields, to get and set record fields, iterate and fold over all fields of a
|
||||||
|
record and create new record values.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
%undefine _package_note_flags
|
||||||
|
|
||||||
%ifarch %{ocaml_native_compiler}
|
%ifarch %{ocaml_native_compiler}
|
||||||
# The only source file for this package consists of a single "include" line.
|
# The only source file for this package consists of a single "include" line.
|
||||||
# It exports some private functions from the library in ocaml-base. Although
|
# It exports some private functions from the library in ocaml-base. Although
|
||||||
@ -16,7 +18,7 @@
|
|||||||
%global srcname fieldslib
|
%global srcname fieldslib
|
||||||
|
|
||||||
Name: ocaml-%{srcname}
|
Name: ocaml-%{srcname}
|
||||||
Version: 0.14.0
|
Version: 0.15.0
|
||||||
Release: 9%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: OCaml record fields as first class values
|
Summary: OCaml record fields as first class values
|
||||||
|
|
||||||
@ -24,10 +26,9 @@ License: MIT
|
|||||||
URL: https://github.com/janestreet/%{srcname}
|
URL: https://github.com/janestreet/%{srcname}
|
||||||
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: ocaml >= 4.04.2
|
BuildRequires: ocaml >= 4.08.0
|
||||||
BuildRequires: ocaml-base-devel >= 0.14
|
BuildRequires: ocaml-base-devel >= 0.15
|
||||||
BuildRequires: ocaml-dune >= 2.0.0
|
BuildRequires: ocaml-dune >= 2.0.0
|
||||||
BuildRequires: ocaml-odoc
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains an OCaml syntax extension to define first class
|
This package contains an OCaml syntax extension to define first class
|
||||||
@ -47,46 +48,54 @@ developing applications that use %{name}.
|
|||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dune build %{?_smp_mflags}
|
%dune_build
|
||||||
dune build %{?_smp_mflags} @doc
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
dune install --destdir=%{buildroot}
|
%dune_install
|
||||||
|
|
||||||
%if %{with doc}
|
%check
|
||||||
# We do not want the dune markers
|
%dune_check
|
||||||
find _build/default/_doc/_html -name .dune-keep -delete
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# We do not want the ml files
|
%files -f .ofiles
|
||||||
find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
|
|
||||||
|
|
||||||
# We install the documentation with the doc macro
|
|
||||||
rm -fr %{buildroot}%{_prefix}/doc
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc CHANGES.md
|
%doc CHANGES.md
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%dir %{_libdir}/ocaml/%{srcname}/
|
|
||||||
%{_libdir}/ocaml/%{srcname}/META
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cma
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cmi
|
|
||||||
%ifarch %{ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cmxs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files devel
|
%files devel -f .ofiles-devel
|
||||||
%doc _build/default/_doc/_html/*
|
|
||||||
%{_libdir}/ocaml/%{srcname}/dune-package
|
|
||||||
%{_libdir}/ocaml/%{srcname}/opam
|
|
||||||
%ifarch %{ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.a
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cmx
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cmxa
|
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/%{srcname}/*.cmt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-9
|
||||||
|
- Rebuild OCaml packages for F38
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Oct 31 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-7
|
||||||
|
- Rebuild for ocaml-base 0.15.1
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-5
|
||||||
|
- Use new OCaml macros
|
||||||
|
|
||||||
|
* Sun Jun 19 2022 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-5
|
||||||
|
- OCaml 4.14.0 rebuild
|
||||||
|
|
||||||
|
* Mon Feb 28 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-4
|
||||||
|
- Version 0.15.0 rerelease
|
||||||
|
|
||||||
|
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-3
|
||||||
|
- OCaml 4.13.1 rebuild to remove package notes
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 30 2021 Jerry James <loganjerry@gmail.com> - 0.15.0-1
|
||||||
|
- Version 0.15.0
|
||||||
|
|
||||||
|
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-10
|
||||||
|
- OCaml 4.13.1 build
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-9
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (fieldslib-0.14.0.tar.gz) = 245987817585222060c389a632fa229fa3c928090548a0b759e3b1eb06c868d06c0593b01bc41f453c209854a15115fa7650cc36888036f9e305cf2b79a5004c
|
SHA512 (fieldslib-0.15.0.tar.gz) = 75a2802a87b16ed741dc1e845b728eb9f53343b1cec37e09cad690b3af5e4f04439f406df52fe46f0672662e2de28bdc0c6eea78a82f1883ab2a852b9d8343d8
|
||||||
|
Loading…
Reference in New Issue
Block a user