Compare commits

..

42 Commits

Author SHA1 Message Date
Jerry James
42660d6d06 Rebuild for ocaml-ppxlib 0.33.0 2024-08-05 09:18:19 -06:00
Fedora Release Engineering
b1d19faac9 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 20:16:37 +00:00
Jerry James
f6fa0a899b Minor spec file simplification 2024-07-17 11:07:51 -06:00
Jerry James
717b725f47 Rebuild for ocaml-sexplib0 0.17.0 2024-07-03 16:16:54 -06:00
Richard W.M. Jones
c52e1b9b32 OCaml 5.2.0 ppc64le fix 2024-06-19 16:29:22 +01:00
Richard W.M. Jones
754d6864a3 OCaml 5.2.0 for Fedora 41 2024-05-29 22:10:48 +01:00
Jerry James
58ec9a1d52 Version 6.0.2 2024-05-27 07:58:01 -06:00
Jerry James
653340b204 Version 6.0.1
- Drop all patches
2024-05-23 11:58:40 -06:00
Jerry James
15a89da86f Rebuild for changed ocamlx hashes 2024-02-02 12:58:20 -07:00
Fedora Release Engineering
34ef47cb6a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 10:17:31 +00:00
Fedora Release Engineering
89648a0194 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 10:25:42 +00:00
Richard W.M. Jones
e4c2bfaa18 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 15:13:29 +00:00
Richard W.M. Jones
edd5f7d902 OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 16:27:01 +00:00
Richard W.M. Jones
dcd2a7e0f7 OCaml 5.1 rebuild for Fedora 40 2023-10-05 16:45:14 +01:00
Fedora Release Engineering
4aed1ec919 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 17:27:46 +00:00
Richard W.M. Jones
dc2f0625cb OCaml 5.0 rebuild for Fedora 39 2023-07-12 00:42:59 +01:00
Richard W.M. Jones
1d06930771 ExcludeArch i686 (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SPML7CUBSZNI36NLXGVHEG7DNHU3EWOJ/) 2023-07-11 11:36:24 +01:00
Jerry James
4d8de6549f Add upstream patches for OCaml 5.0 compatibility 2023-07-10 22:22:19 -06:00
Jerry James
8358a15aa6 Verified that License tag is valid SPDX. 2023-02-15 14:41:31 -07:00
Richard W.M. Jones
14fa0a0a6d Rebuild OCaml packages for F38 2023-01-24 19:16:32 +00:00
Fedora Release Engineering
9279cb5bf4 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:17:50 +00:00
Jerry James
facceb840b Rebuild for ocaml-ppxlib 0.28.0. 2022-11-01 11:43:47 -06:00
Jerry James
3fa0cb9af7 Rebuild for ocaml-ppxlib 0.27.0. 2022-08-18 13:35:51 -06:00
Fedora Release Engineering
c40247db06 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 01:26:22 +00:00
Jerry James
896c11e8ef Use new OCaml macros. 2022-07-20 20:24:57 -06:00
Richard W.M. Jones
46392e5f21 OCaml 4.14.0 rebuild 2022-06-19 13:16:47 +01:00
Jerry James
4eebc86f4f Bump and rebuild. 2022-02-28 19:43:31 -07:00
Richard W.M. Jones
91444a67fd OCaml 4.13.1 rebuild to remove package notes 2022-02-04 20:04:17 +00:00
Fedora Release Engineering
56cd5ea75e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:53:06 +00:00
Jerry James
3d9ab62e56 Rebuild for ocaml-ppxlib 0.24.0. 2021-12-30 16:17:47 -07:00
Jerry James
6dfeddbe64 Rebuild for ocaml-base 0.15.0. 2021-11-30 11:35:39 -07:00
Richard W.M. Jones
9c899c7e45 OCaml 4.13.1 build 2021-10-05 13:30:45 +01:00
Jerry James
50a81c8c6e Rebuild for ocaml-ppxlib 0.23.0. 2021-09-01 15:41:01 -06:00
Jerry James
244a0e6f68 Rebuild for ocaml-ppxlib 0.22.2. 2021-07-29 16:54:27 -06:00
Jerry James
ac6a094aeb Rebuild for changed ocamlx(Dynlink). 2021-07-29 13:24:48 -06:00
Fedora Release Engineering
b47c779c7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:45:53 +00:00
Jerry James
fc606e3057 Rebuild for ocaml-ppxlib 0.22.1. 2021-06-22 11:48:35 -06:00
Richard W.M. Jones
a7bb78ddd9 OCaml 4.12.0 build 2021-03-01 23:22:47 +00:00
Jerry James
b915b2ed25 Version 5.2.1. 2021-02-20 21:06:14 -07:00
Fedora Release Engineering
4f7423f6f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:04:47 +00:00
Jerry James
b64cac148b Version 5.1. 2020-12-08 14:17:20 -07:00
Jerry James
a423c986c8 Add runtime requirement on ocaml-result-devel (bz 1896793). 2020-11-14 15:37:21 -07:00
4 changed files with 138 additions and 107 deletions

View File

@ -1,3 +1,6 @@
# ocaml-ppx-deriving
The ocaml-ppx-deriving package
[Deriving](https://github.com/ocaml-ppx/ppx_deriving) is a library simplifying
type-driven code generation on OCaml. It includes a set of useful plugins:
show, eq, ord (eq), enum, iter, map (iter), fold (iter), make, yojson, and
protobuf.

View File

@ -1,8 +0,0 @@
# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors
# The dictionary is missing some technical terms
addFilter(r'W: spelling-error .* (protobuf|yojson)')
# Documentation is in the -doc subpackage
addFilter(r'ocaml-ppx-deriving-devel\.[^:]+: W: no-documentation')

View File

@ -1,31 +1,25 @@
%ifnarch %{ocaml_native_compiler}
%global debug_package %{nil}
%endif
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
%global srcname ppx-deriving
%global upname ppx_deriving
%global giturl https://github.com/ocaml-ppx/ppx_deriving
Name: ocaml-%{srcname}
Version: 4.5
Release: 4%{?dist}.rvre2
Name: ocaml-ppx-deriving
Version: 6.0.2
Release: 6%{?dist}
Summary: Type-driven code generation for OCaml
License: MIT
URL: https://github.com/ocaml-ppx/%{upname}
Source0: %{url}/archive/v%{version}/%{upname}-%{version}.tar.gz
URL: https://ocaml-ppx.github.io/ppx_deriving/
VCS: git:%{giturl}.git
Source: %{giturl}/archive/v%{version}/ppx_deriving-%{version}.tar.gz
BuildRequires: ocaml >= 4.02.2
BuildRequires: ocaml-cppo
BuildRequires: ocaml >= 4.05.0
BuildRequires: ocaml-cppo >= 1.1.0
BuildRequires: ocaml-dune >= 1.6.3
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-migrate-parsetree-devel
BuildRequires: ocaml-odoc
BuildRequires: ocaml-ounit-devel
BuildRequires: ocaml-ppxfind
BuildRequires: ocaml-ppx-tools-devel >= 4.02.3
# See https://bugzilla.redhat.com/show_bug.cgi?id=1896793
Requires: ocaml-result-devel
BuildRequires: ocaml-ppx-derivers-devel
BuildRequires: ocaml-ppxlib-devel >= 0.32.0
%description
Deriving is a library simplifying type-driven code generation on OCaml.
@ -35,46 +29,21 @@ map (iter), fold (iter), make, yojson, and protobuf.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: ocaml-migrate-parsetree-devel%{?_isa}
Requires: ocaml-ppx-tools-devel%{?_isa}
Requires: ocaml-ppx-derivers-devel%{?_isa}
Requires: ocaml-ppxlib-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%package doc
Summary: Documentation for %{name}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%autosetup -n %{upname}-%{version} -p1
# Work around name change for ounit
sed -i 's/oUnit/ounit2/g' src_test/*/dune
%autosetup -n ppx_deriving-%{version} -p1
%build
dune build %{?_smp_mflags}
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
# Help the debuginfo generator find the source files
cd _build/default
@ -93,66 +62,133 @@ ln -s ../../src_plugins/show/ppx_deriving_show.cppo.ml
cd -
%check
dune runtest
%dune_check
%files
%files -f .ofiles
%doc CHANGELOG.md README.md
%license LICENSE.txt
%dir %{_libdir}/ocaml/%{upname}/
%dir %{_libdir}/ocaml/%{upname}/api/
%dir %{_libdir}/ocaml/%{upname}/create/
%dir %{_libdir}/ocaml/%{upname}/enum/
%dir %{_libdir}/ocaml/%{upname}/eq/
%dir %{_libdir}/ocaml/%{upname}/fold/
%dir %{_libdir}/ocaml/%{upname}/iter/
%dir %{_libdir}/ocaml/%{upname}/make/
%dir %{_libdir}/ocaml/%{upname}/map/
%dir %{_libdir}/ocaml/%{upname}/ord/
%dir %{_libdir}/ocaml/%{upname}/runtime/
%dir %{_libdir}/ocaml/%{upname}/show/
%dir %{_libdir}/ocaml/%{upname}/std/
%{_libdir}/ocaml/%{upname}/META
%{_libdir}/ocaml/%{upname}/ppx_deriving
%{_libdir}/ocaml/%{upname}/*/*.cma
%{_libdir}/ocaml/%{upname}/*/*.cmi
%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/%{upname}/*/*.cmxs
%endif
%files devel
%{_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
%endif
%{_libdir}/ocaml/%{upname}/*/*.cmt
%{_libdir}/ocaml/%{upname}/*/*.cmti
%{_libdir}/ocaml/%{upname}/*/*.mli
%files doc
%doc _build/default/_doc/_html/
%doc _build/default/_doc/_mlds/
%doc _build/default/_doc/_odoc/
%license LICENSE.txt
%files devel -f .ofiles-devel
%changelog
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 4.5-4.rvre2
- Rebuilt for Fedora RISCV, no changes
* Mon Aug 5 2024 Jerry James <loganjerry@gmail.com> - 6.0.2-6
- Rebuild for ocaml-ppxlib 0.33.0
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 4.5-4.rvre1
- Rebuilt for Fedora RISCV, no changes
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 4.5-4.rvre0
- Rebuilt for Fedora RISCV, no changes
* Fri Jun 28 2024 Jerry James <loganjerry@gmail.com> - 6.0.2-4
- Rebuild for ocaml-sexplib0 0.17.0
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 6.0.2-3
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 6.0.2-2
- OCaml 5.2.0 for Fedora 41
* Mon May 27 2024 Jerry James <loganjerry@gmail.com> - 6.0.2-1
- Version 6.0.2
* Tue May 7 2024 Jerry James <loganjerry@gmail.com> - 6.0.1-1
- Version 6.0.1
- Drop all patches
* Fri Feb 2 2024 Jerry James <loganjerry@gmail.com> - 5.2.1-28
- Rebuild for changed ocamlx hashes
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-25
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-24
- OCaml 5.1.1 rebuild for Fedora 40
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-23
- OCaml 5.1 rebuild for Fedora 40
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-21
- OCaml 5.0 rebuild for Fedora 39
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 5.2.1-20
- Add upstream patches for OCaml 5.0 compatibility
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-19
- Rebuild OCaml packages for F38
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 1 2022 Jerry James <loganjerry@gmail.com> - 5.2.1-17
- Rebuild for ocaml-ppxlib 0.28.0
* Thu Aug 18 2022 Jerry James <loganjerry@gmail.com> - 5.2.1-16
- Rebuild for ocaml-ppxlib 0.27.0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Jerry James <loganjerry@gmail.com> - 5.2.1-14
- Use new OCaml macros
* Sun Jun 19 2022 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-14
- OCaml 4.14.0 rebuild
* Mon Feb 28 2022 Jerry James <loganjerry@gmail.com> - 5.2.1-13
- Bump and rebuild
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-12
- OCaml 4.13.1 rebuild to remove package notes
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Dec 27 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-10
- Rebuild for ocaml-ppxlib 0.24.0
* Tue Nov 30 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-9
- Rebuild for ocaml-base 0.15.0
* Tue Oct 05 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-8
- OCaml 4.13.1 build
* Wed Sep 1 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-7
- Rebuild for ocaml-ppxlib 0.23.0
* Thu Jul 29 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-6
- Rebuild for ocaml-ppxlib 0.22.2
* Thu Jul 29 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-5
- Rebuild for changed ocamlx(Dynlink)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 22 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-3
- Rebuild for ocaml-ppxlib 0.22.1
* Mon Mar 1 23:22:46 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-2
- OCaml 4.12.0 build
* Sat Feb 20 2021 Jerry James <loganjerry@gmail.com> - 5.2.1-1
- Version 5.2.1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 7 2020 Jerry James <loganjerry@gmail.com> - 5.1-1
- Version 5.1
* Sat Nov 14 2020 Jerry James <loganjerry@gmail.com> - 4.5-4
- Add runtime requirement on ocaml-result-devel (bz 1896793)
* Wed Sep 02 2020 Richard W.M. Jones <rjones@redhat.com> - 4.5-3.1
- Bump release and rebuild.
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 4.5-3
- OCaml 4.11.1 rebuild

View File

@ -1 +1 @@
SHA512 (ppx_deriving-4.5.tar.gz) = f79153c5231ba1e03a3491fde95ca82ecb62fe05b60a649a374d2fbc5ea5dd9242126de7dfbe917c22fd7077c026c940e18c6b36c5ce0ec4bb6e07f11d2b710b
SHA512 (ppx_deriving-6.0.2.tar.gz) = 4dc4ca4839cd46a9457e1ec5cff4a778f71ac9284b7c2d917c808137b730c9911b782895360e388c1fc72e614616b7cc5961a17dd6268e41c0b67cca5188d4b3