%undefine _package_note_flags Name: ocaml-ppx-derivers Version: 1.2.1 Release: 25%{?dist} Summary: Deriving plugin registry License: BSD URL: https://github.com/ocaml-ppx/ppx_derivers Source0: https://github.com/ocaml-ppx/ppx_derivers/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: ocaml-dune %description Ppx_derivers is a tiny package whose sole purpose is to allow ppx_deriving and ppx_type_conv to inter-operate gracefully when linked as part of the same ocaml-migrate-parsetree driver. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n ppx_derivers-%{version} %build dune build @install %install mkdir -p %{buildroot}%{_libdir}/ocaml dune install --destdir=%{buildroot} --verbose # These files will be installed using the doc and license directives rm -r %{buildroot}%{_prefix}/doc # Makes *.cmxs executable such that they will be stripped. find %{buildroot} -name '*.cmxs' -exec chmod 0755 {} \; %check dune runtest %files %doc README.md CHANGES.md %license LICENSE.md %{_libdir}/ocaml/* %ifarch %{ocaml_native_compiler} %exclude %{_libdir}/ocaml/*/*.a %exclude %{_libdir}/ocaml/*/*.cmxa %exclude %{_libdir}/ocaml/*/*.cmx %endif %exclude %{_libdir}/ocaml/*/*.mli %exclude %{_libdir}/ocaml/*/*.ml %files devel %doc README.md CHANGES.md %license LICENSE.md %ifarch %{ocaml_native_compiler} %{_libdir}/ocaml/*/*.a %{_libdir}/ocaml/*/*.cmxa %{_libdir}/ocaml/*/*.cmx %endif %{_libdir}/ocaml/*/*.mli %{_libdir}/ocaml/*/*.ml %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.2.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 18 2022 Richard W.M. Jones - 1.2.1-24 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 1.2.1-23 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 1.2.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Richard W.M. Jones - 1.2.1-21 - Bump release and rebuild. * Mon Oct 04 2021 Richard W.M. Jones - 1.2.1-20 - OCaml 4.13.1 build * Thu Jul 22 2021 Fedora Release Engineering - 1.2.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 12:17:32 GMT 2021 Richard W.M. Jones - 1.2.1-18 - OCaml 4.12.0 build * Tue Jan 26 2021 Fedora Release Engineering - 1.2.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 01 2020 Richard W.M. Jones - 1.2.1-16 - OCaml 4.11.1 rebuild * Fri Aug 21 2020 Richard W.M. Jones - 1.2.1-15 - OCaml 4.11.0 rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.2.1-14 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.2.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 04 2020 Richard W.M. Jones - 1.2.1-12 - OCaml 4.11.0+dev2-2020-04-22 rebuild * Tue Apr 21 2020 Richard W.M. Jones - 1.2.1-11 - OCaml 4.11.0 pre-release attempt 2 * Fri Apr 03 2020 Richard W.M. Jones - 1.2.1-10 - Update all OCaml dependencies for RPM 4.16. * Wed Feb 26 2020 Richard W.M. Jones - 1.2.1-9 - OCaml 4.10.0 final. * Wed Jan 29 2020 Fedora Release Engineering - 1.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 19 2020 Richard W.M. Jones - 1.2.1-7 - OCaml 4.10.0+beta1 rebuild. * Thu Dec 19 2019 Andy Li - 1.2.1-6 - Rebuild against the latest OCaml. - Remove unneeded BuildRequires on opam-installer. * Fri Aug 16 2019 Richard W.M. Jones - 1.2.1-5 - OCaml 4.08.1 (final) rebuild. * Thu Aug 01 2019 Richard W.M. Jones - 1.2.1-4 - OCaml 4.08.1 (rc2) rebuild. * Sat Jul 27 2019 Richard W.M. Jones - 1.2.1-3 - Bump and rebuild. * Thu Jul 25 2019 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 16 2019 Andy Li - 1.2.1-1 - Initial RPM release.