Compare commits
40 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
48bca0d2df | ||
|
af967d5644 | ||
|
8f60d28b22 | ||
|
7bb2bde65b | ||
|
f36f6e8d3d | ||
|
e6d1d493d3 | ||
|
1d309a5629 | ||
|
25430835e7 | ||
|
61678a4b33 | ||
|
45e3e9cce2 | ||
|
93d298281a | ||
|
8d11f3d5d8 | ||
|
b5ca16fde3 | ||
|
df3366f1ed | ||
|
1b808875d1 | ||
|
c2f2083833 | ||
|
b5533e5a1e | ||
|
49e68e55f6 | ||
|
9ed983b65a | ||
|
f41d50f5d5 | ||
|
bc09c86360 | ||
|
89c52e1338 | ||
|
5168ad31c3 | ||
|
a59f598c97 | ||
|
0b73a98071 | ||
|
a6b6be0c6a | ||
|
7a6699f2ae | ||
|
f6455462ed | ||
|
621478a7b3 | ||
|
b5a4d9b4e6 | ||
|
c902b088c9 | ||
|
b8aeabd8ce | ||
|
a5d476ec40 | ||
|
a338051d4e | ||
|
278c14b7ac | ||
|
f43e4e6054 | ||
|
794265cbe1 | ||
|
3771ff7b9a | ||
|
a2c2a13358 | ||
|
1fa549b076 |
@ -1,3 +1,4 @@
|
||||
# ocaml-ppx-hash
|
||||
|
||||
The ocaml-ppx-hash package
|
||||
[`Ppx_hash`](https://github.com/janestreet/ppx_hash) is a ppx rewriter that
|
||||
generates hash functions from type expressions and definitions.
|
||||
|
110
changelog
Normal file
110
changelog
Normal file
@ -0,0 +1,110 @@
|
||||
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-11
|
||||
- OCaml 5.2.0 ppc64le fix
|
||||
|
||||
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-10
|
||||
- OCaml 5.2.0 for Fedora 41
|
||||
|
||||
* Fri Feb 2 2024 Jerry James <loganjerry@gmail.com> - 0.16.0-9
|
||||
- Rebuild for changed ocamlx hashes
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-6
|
||||
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
||||
|
||||
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-5
|
||||
- OCaml 5.1.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-4
|
||||
- OCaml 5.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 0.16.0-2
|
||||
- OCaml 5.0 rebuild for Fedora 39
|
||||
|
||||
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 0.16.0-1
|
||||
- Version 0.16.0
|
||||
|
||||
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-11
|
||||
- Rebuild OCaml packages for F38
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Nov 1 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-9
|
||||
- Rebuild for ocaml-ppxlib 0.28.0
|
||||
|
||||
* Thu Aug 18 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-8
|
||||
- Rebuild for ocaml-ppxlib 0.27.0
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-6
|
||||
- Use new OCaml macros
|
||||
|
||||
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-6
|
||||
- OCaml 4.14.0 rebuild
|
||||
|
||||
* Mon Feb 28 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-5
|
||||
- Version 0.15.0 rerelease
|
||||
|
||||
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 0.15.0-4
|
||||
- OCaml 4.13.1 rebuild to remove package notes
|
||||
|
||||
* Thu Feb 3 2022 Jerry James <loganjerry@gmail.com> - 0.15.0-3
|
||||
- Conditionally build docs to avoid circular dependency on odoc
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Dec 27 2021 Jerry James <loganjerry@gmail.com> - 0.15.0-2
|
||||
- Rebuild for ocaml-ppxlib 0.24.0
|
||||
|
||||
* Tue Nov 30 2021 Jerry James <loganjerry@gmail.com> - 0.15.0-1
|
||||
- Version 0.15.0
|
||||
|
||||
* Tue Oct 05 2021 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-13
|
||||
- OCaml 4.13.1 build
|
||||
|
||||
* Wed Sep 1 2021 Jerry James <loganjerry@gmail.com> - 0.14.0-12
|
||||
- Rebuild for ocaml-ppxlib 0.23.0
|
||||
|
||||
* Thu Jul 29 2021 Jerry James <loganjerry@gmail.com> - 0.14.0-11
|
||||
- Rebuild for changed ocamlx(Dynlink)
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jun 22 2021 Jerry James <loganjerry@gmail.com> - 0.14.0-9
|
||||
- Rebuild for ocaml-ppxlib 0.22.1
|
||||
|
||||
* Mon Mar 1 23:22:49 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-8
|
||||
- OCaml 4.12.0 build
|
||||
|
||||
* Sat Feb 20 2021 Jerry James <loganjerry@gmail.com> - 0.14.0-7
|
||||
- Rebuild for ocaml-base 0.14.1
|
||||
|
||||
* Wed Feb 3 2021 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-6
|
||||
- Bump and rebuild for updated ocaml Dynlink dependency.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Dec 7 2020 Jerry James <loganjerry@gmail.com> - 0.14.0-4
|
||||
- Rebuild for ocaml-ppxlib 0.15.0
|
||||
|
||||
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-3
|
||||
- OCaml 4.11.1 rebuild
|
||||
|
||||
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-2
|
||||
- OCaml 4.11.0 rebuild
|
||||
|
||||
* Sat Jun 20 2020 Jerry James <loganjerry@gmail.com> - 0.14.0-1
|
||||
- Initial RPM
|
@ -1,26 +1,27 @@
|
||||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%ifnarch %{ocaml_native_compiler}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%global srcname ppx-hash
|
||||
%global upname ppx_hash
|
||||
|
||||
Name: ocaml-%{srcname}
|
||||
Version: 0.14.0
|
||||
Release: 3%{?dist}
|
||||
Name: ocaml-ppx-hash
|
||||
Version: 0.17.0
|
||||
Release: %autorelease
|
||||
Summary: Generate hash functions from type expressions and definitions
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/janestreet/%{upname}
|
||||
Source0: %{url}/archive/v%{version}/%{upname}-%{version}.tar.gz
|
||||
URL: https://github.com/janestreet/ppx_hash
|
||||
VCS: git:%{url}.git
|
||||
Source: %{url}/archive/v%{version}/ppx_hash-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ocaml >= 4.04.2
|
||||
BuildRequires: ocaml-base-devel >= 0.14
|
||||
BuildRequires: ocaml-dune >= 2.0.0
|
||||
BuildRequires: ocaml-ppx-compare-devel >= 0.14
|
||||
BuildRequires: ocaml-ppx-sexp-conv-devel >= 0.14
|
||||
BuildRequires: ocaml-ppxlib-devel >= 0.11.0
|
||||
BuildRequires: ocaml-odoc
|
||||
BuildRequires: ocaml >= 5.1.0
|
||||
BuildRequires: ocaml-base-devel >= 0.17
|
||||
BuildRequires: ocaml-dune >= 3.11.0
|
||||
BuildRequires: ocaml-ppx-compare-devel >= 0.17
|
||||
BuildRequires: ocaml-ppx-sexp-conv-devel >= 0.17
|
||||
BuildRequires: ocaml-ppxlib-devel >= 0.28.0
|
||||
BuildRequires: ocaml-ppxlib-jane-devel >= 0.17
|
||||
|
||||
%description
|
||||
Ppx_hash is a ppx rewriter that generates hash functions from type
|
||||
@ -29,81 +30,34 @@ expressions and definitions.
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-base-devel%{?_isa}
|
||||
Requires: ocaml-ppx-compare-devel%{?_isa}
|
||||
Requires: ocaml-ppx-sexp-conv-devel%{?_isa}
|
||||
Requires: ocaml-ppxlib-devel%{?_isa}
|
||||
Requires: ocaml-ppxlib-jane-devel%{?_isa}
|
||||
Requires: ocaml-sexplib0-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and signature
|
||||
files for developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{upname}-%{version}
|
||||
%autosetup -n ppx_hash-%{version}
|
||||
|
||||
%build
|
||||
dune build %{?_smp_mflags} --display=verbose
|
||||
dune build %{?_smp_mflags} @doc
|
||||
%dune_build
|
||||
|
||||
%install
|
||||
dune install --destdir=%{buildroot}
|
||||
|
||||
# We do not want the dune markers
|
||||
find _build/default/_doc/_html -name .dune-keep -delete
|
||||
|
||||
# We do not want the ml files
|
||||
find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
|
||||
|
||||
# We install the documentation with the doc macro
|
||||
rm -fr %{buildroot}%{_prefix}/doc
|
||||
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
# Add missing executable bits
|
||||
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
||||
%endif
|
||||
%dune_install
|
||||
|
||||
%check
|
||||
dune runtest
|
||||
%dune_check
|
||||
|
||||
%files
|
||||
%files -f .ofiles
|
||||
%doc CHANGES.md README.md
|
||||
%license LICENSE.md
|
||||
%dir %{_libdir}/ocaml/%{upname}/
|
||||
%dir %{_libdir}/ocaml/%{upname}/expander/
|
||||
%dir %{_libdir}/ocaml/%{upname}/runtime-lib/
|
||||
%{_libdir}/ocaml/%{upname}/META
|
||||
%{_libdir}/ocaml/%{upname}/*.cma
|
||||
%{_libdir}/ocaml/%{upname}/*.cmi
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cma
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmi
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/%{upname}/*.cmxs
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmxs
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%doc _build/default/_doc/_html/*
|
||||
%{_libdir}/ocaml/%{upname}/dune-package
|
||||
%{_libdir}/ocaml/%{upname}/opam
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/%{upname}/*.a
|
||||
%{_libdir}/ocaml/%{upname}/*.cmx
|
||||
%{_libdir}/ocaml/%{upname}/*.cmxa
|
||||
%{_libdir}/ocaml/%{upname}/*/*.a
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmx
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmxa
|
||||
%endif
|
||||
%{_libdir}/ocaml/%{upname}/*.cmt
|
||||
%{_libdir}/ocaml/%{upname}/*.cmti
|
||||
%{_libdir}/ocaml/%{upname}/*.mli
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmt
|
||||
%{_libdir}/ocaml/%{upname}/*/*.cmti
|
||||
%{_libdir}/ocaml/%{upname}/*/*.mli
|
||||
%files devel -f .ofiles-devel
|
||||
|
||||
%changelog
|
||||
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-3
|
||||
- OCaml 4.11.1 rebuild
|
||||
|
||||
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-2
|
||||
- OCaml 4.11.0 rebuild
|
||||
|
||||
* Sat Jun 20 2020 Jerry James <loganjerry@gmail.com> - 0.14.0-1
|
||||
- Initial RPM
|
||||
%autochangelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (ppx_hash-0.14.0.tar.gz) = 21d68c0655c21fcd0cecceb8c69e45706b57db160e49c3b112e67cc874a8084946dbae8709ed99f24e7282182c7238cf95ef00bec3ac5a271409e9d5f788467c
|
||||
SHA512 (ppx_hash-0.17.0.tar.gz) = d3af529bc4d9ad43dd5941742f0a7f89f9573b5b9088bea70e2789bd74a13a30185edd450f687772d7b0cfbc66586031a5bf8114538c3151c283813ca6a105b8
|
||||
|
Loading…
Reference in New Issue
Block a user