Compare commits

...

40 Commits
f33 ... rawhide

Author SHA1 Message Date
Jerry James
48bca0d2df Rebuild for ocaml-ppxlib 0.33.0 2024-08-05 11:17:57 -06:00
Fedora Release Engineering
af967d5644 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 20:17:45 +00:00
Jerry James
8f60d28b22 Version 0.17.0 2024-07-03 15:49:12 -06:00
Jerry James
7bb2bde65b Convert to %autorelease and %autochangelog
[skip changelog]
2024-07-03 15:48:05 -06:00
Richard W.M. Jones
f36f6e8d3d OCaml 5.2.0 ppc64le fix 2024-06-19 18:14:15 +01:00
Richard W.M. Jones
e6d1d493d3 OCaml 5.2.0 for Fedora 41 2024-05-29 21:28:16 +01:00
Jerry James
1d309a5629 Rebuild for changed ocamlx hashes 2024-02-02 11:52:43 -07:00
Fedora Release Engineering
25430835e7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 10:19:47 +00:00
Fedora Release Engineering
61678a4b33 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 10:26:51 +00:00
Richard W.M. Jones
45e3e9cce2 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 14:35:28 +00:00
Richard W.M. Jones
93d298281a OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 14:34:06 +00:00
Richard W.M. Jones
8d11f3d5d8 OCaml 5.1 rebuild for Fedora 40 2023-10-05 16:09:51 +01:00
Fedora Release Engineering
b5ca16fde3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 17:29:02 +00:00
Richard W.M. Jones
df3366f1ed OCaml 5.0 rebuild for Fedora 39 2023-07-11 23:47:32 +01:00
Richard W.M. Jones
1b808875d1 ExcludeArch i686 (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SPML7CUBSZNI36NLXGVHEG7DNHU3EWOJ/) 2023-07-11 11:36:24 +01:00
Jerry James
c2f2083833 Version 0.16.0 2023-07-10 17:48:05 -06:00
Jerry James
b5533e5a1e Verified that License tag is valid SPDX. 2023-02-15 14:58:04 -07:00
Richard W.M. Jones
49e68e55f6 Rebuild OCaml packages for F38 2023-01-24 14:19:42 +00:00
Fedora Release Engineering
9ed983b65a Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:18:37 +00:00
Jerry James
f41d50f5d5 Rebuild for ocaml-ppxlib 0.28.0. 2022-11-01 13:20:35 -06:00
Jerry James
bc09c86360 Rebuild for ocaml-ppxlib 0.27.0. 2022-08-18 11:15:03 -06:00
Fedora Release Engineering
89c52e1338 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 01:27:19 +00:00
Jerry James
5168ad31c3 Use new OCaml macros. 2022-07-20 20:43:19 -06:00
Richard W.M. Jones
a59f598c97 OCaml 4.14.0 rebuild 2022-06-18 17:28:41 +01:00
Jerry James
0b73a98071 Version 0.15.0 rerelease. 2022-02-28 11:02:33 -07:00
Richard W.M. Jones
a6b6be0c6a OCaml 4.13.1 rebuild to remove package notes 2022-02-04 15:31:13 +00:00
Jerry James
7a6699f2ae Conditionally build docs to avoid circular dependency on odoc. 2022-02-03 11:05:16 -07:00
Fedora Release Engineering
f6455462ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:53:50 +00:00
Jerry James
621478a7b3 Rebuild for ocaml-ppxlib 0.24.0. 2021-12-30 18:44:12 -07:00
Jerry James
b5a4d9b4e6 Version 0.15.0. 2021-11-30 12:39:45 -07:00
Richard W.M. Jones
c902b088c9 OCaml 4.13.1 build 2021-10-05 17:31:29 +01:00
Jerry James
b8aeabd8ce Rebuild for ocaml-ppxlib 0.23.0. 2021-09-01 16:28:21 -06:00
Jerry James
a5d476ec40 Rebuild for changed ocamlx(Dynlink). 2021-07-29 13:31:31 -06:00
Fedora Release Engineering
a338051d4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:46:28 +00:00
Jerry James
278c14b7ac Rebuild for ocaml-ppxlib 0.22.1. 2021-06-22 13:15:48 -06:00
Richard W.M. Jones
f43e4e6054 OCaml 4.12.0 build 2021-03-01 23:22:50 +00:00
Jerry James
794265cbe1 Rebuild for ocaml-base 0.14.1. 2021-02-20 22:40:30 -07:00
Richard W.M. Jones
3771ff7b9a Bump and rebuild for updated ocaml Dynlink dependency. 2021-02-03 14:01:31 +00:00
Fedora Release Engineering
a2c2a13358 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:05:19 +00:00
Jerry James
1fa549b076 Rebuild for ocaml-ppxlib 0.15.0. 2020-12-08 15:01:02 -07:00
4 changed files with 140 additions and 75 deletions

View File

@ -1,3 +1,4 @@
# ocaml-ppx-hash # 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
View 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

View File

@ -1,26 +1,27 @@
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
%ifnarch %{ocaml_native_compiler} %ifnarch %{ocaml_native_compiler}
%global debug_package %{nil} %global debug_package %{nil}
%endif %endif
%global srcname ppx-hash Name: ocaml-ppx-hash
%global upname ppx_hash Version: 0.17.0
Release: %autorelease
Name: ocaml-%{srcname}
Version: 0.14.0
Release: 3%{?dist}
Summary: Generate hash functions from type expressions and definitions Summary: Generate hash functions from type expressions and definitions
License: MIT License: MIT
URL: https://github.com/janestreet/%{upname} URL: https://github.com/janestreet/ppx_hash
Source0: %{url}/archive/v%{version}/%{upname}-%{version}.tar.gz VCS: git:%{url}.git
Source: %{url}/archive/v%{version}/ppx_hash-%{version}.tar.gz
BuildRequires: ocaml >= 4.04.2 BuildRequires: ocaml >= 5.1.0
BuildRequires: ocaml-base-devel >= 0.14 BuildRequires: ocaml-base-devel >= 0.17
BuildRequires: ocaml-dune >= 2.0.0 BuildRequires: ocaml-dune >= 3.11.0
BuildRequires: ocaml-ppx-compare-devel >= 0.14 BuildRequires: ocaml-ppx-compare-devel >= 0.17
BuildRequires: ocaml-ppx-sexp-conv-devel >= 0.14 BuildRequires: ocaml-ppx-sexp-conv-devel >= 0.17
BuildRequires: ocaml-ppxlib-devel >= 0.11.0 BuildRequires: ocaml-ppxlib-devel >= 0.28.0
BuildRequires: ocaml-odoc BuildRequires: ocaml-ppxlib-jane-devel >= 0.17
%description %description
Ppx_hash is a ppx rewriter that generates hash functions from type Ppx_hash is a ppx rewriter that generates hash functions from type
@ -29,81 +30,34 @@ expressions and definitions.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: ocaml-base-devel%{?_isa}
Requires: ocaml-ppx-compare-devel%{?_isa} Requires: ocaml-ppx-compare-devel%{?_isa}
Requires: ocaml-ppx-sexp-conv-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 %description devel
The %{name}-devel package contains libraries and signature The %{name}-devel package contains libraries and signature
files for developing applications that use %{name}. files for developing applications that use %{name}.
%prep %prep
%autosetup -n %{upname}-%{version} %autosetup -n ppx_hash-%{version}
%build %build
dune build %{?_smp_mflags} --display=verbose %dune_build
dune build %{?_smp_mflags} @doc
%install %install
dune install --destdir=%{buildroot} %dune_install
# 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
%check %check
dune runtest %dune_check
%files %files -f .ofiles
%doc CHANGES.md README.md %doc CHANGES.md README.md
%license LICENSE.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 %files devel -f .ofiles-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
%changelog %changelog
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14.0-3 %autochangelog
- 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

View File

@ -1 +1 @@
SHA512 (ppx_hash-0.14.0.tar.gz) = 21d68c0655c21fcd0cecceb8c69e45706b57db160e49c3b112e67cc874a8084946dbae8709ed99f24e7282182c7238cf95ef00bec3ac5a271409e9d5f788467c SHA512 (ppx_hash-0.17.0.tar.gz) = d3af529bc4d9ad43dd5941742f0a7f89f9573b5b9088bea70e2789bd74a13a30185edd450f687772d7b0cfbc66586031a5bf8114538c3151c283813ca6a105b8