%undefine _package_note_flags Name: ocaml-migrate-parsetree Version: 2.4.0 Release: 2%{?dist} Summary: Convert OCaml parsetrees between different major versions License: LGPLv2 with exceptions URL: https://github.com/ocaml-ppx/ocaml-migrate-parsetree Source0: https://github.com/ocaml-ppx/ocaml-migrate-parsetree/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: ocaml BuildRequires: ocaml-dune BuildRequires: ocaml-cinaps-devel %description This library converts between parsetrees of different OCaml versions. For each version, there is a snapshot of the parsetree and conversion functions to the next and/or previous version. %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 %autosetup -p1 -n %{name}-%{version} %build dune build %{?_smp_mflags} --verbose --profile release %install dune install --destdir=%{buildroot} # These files will be installed using doc and license directives. rm -r %{buildroot}/usr/doc %check dune runtest --profile release %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/*/{,*/}*.ml %exclude %{_libdir}/ocaml/*/{,*/}*.mli %exclude %{_libdir}/ocaml/*/dune-package %exclude %{_libdir}/ocaml/*/opam %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/*/{,*/}*.ml %{_libdir}/ocaml/*/{,*/}*.mli %{_libdir}/ocaml/*/dune-package %{_libdir}/ocaml/*/opam %changelog * Fri Jul 22 2022 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 18 2022 Richard W.M. Jones - 2.4.0-1 - New upstream version 2.4.0 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 2.3.0-4 - OCaml 4.13.1 rebuild to remove package notes * Wed Jan 26 2022 Richard W.M. Jones - 2.3.0-3 - Rebuild to pick up new ocaml dependency * Thu Jan 20 2022 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 27 2021 Jerry James - 2.3.0-1 - Version 2.3.0 (bz 2030269) - Change base license from LGPLv2+ to LGPLv2 - Drop ocaml 4.13 compatibility patch * Mon Oct 04 2021 Richard W.M. Jones - 2.2.0-2 - OCaml 4.13.1 build * Thu Jul 29 2021 Jerry James - 2.2.0-1 - Version 2.2.0 * Tue Jul 27 2021 Richard W.M. Jones - 2.1.0-4 - Rebuild for changed ocamlx(Dynlink) * Thu Jul 22 2021 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 15:16:11 GMT 2021 Richard W.M. Jones - 2.1.0-2 - OCaml 4.12.0 build * Sat Feb 20 2021 Jerry James - 2.1.0-1 - Version 2.1.0 * Tue Feb 2 2021 Richard W.M. Jones - 1.8.0-3 - Bump and rebuild for updated ocaml-camomile dep (RHBZ#1923853). * Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 7 2020 Jerry James - 1.8.0-1 - Version 1.8.0 * Tue Sep 01 2020 Richard W.M. Jones - 1.7.3-2 - OCaml 4.11.1 rebuild * Fri Aug 21 2020 Richard W.M. Jones - 1.7.3-1 - Upgrade to 1.7.3 (but not 2.0.0) because of: https://github.com/ocaml-ppx/ocaml-migrate-parsetree/pull/96 - OCaml 4.11.0 rebuild * Mon Aug 03 2020 Richard W.M. Jones - 1.7.1-7 - Bump and rebuild to fix dependencies. * Sat Aug 01 2020 Fedora Release Engineering - 1.7.1-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 23 2020 Richard W.M. Jones - 1.7.1-4 - Rebuild to resolve build order symbol problems. * Tue May 05 2020 Richard W.M. Jones - 1.7.1-3 - OCaml 4.11.0+dev2-2020-04-22 rebuild * Tue Apr 21 2020 Richard W.M. Jones - 1.7.1-2 - OCaml 4.11.0 pre-release attempt 2 * Thu Apr 16 2020 Jerry James - 1.7.1-1 - Version 1.7.1 * Fri Apr 03 2020 Richard W.M. Jones - 1.5.0-6 - Update all OCaml dependencies for RPM 4.16. * Wed Feb 26 2020 Richard W.M. Jones - 1.5.0-5 - OCaml 4.10.0 final. * Wed Jan 29 2020 Fedora Release Engineering - 1.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 19 2020 Richard W.M. Jones - 1.5.0-3 - Bump release and rebuild. * Sun Jan 19 2020 Richard W.M. Jones - 1.5.0-2 - OCaml 4.10.0+beta1 rebuild. * Mon Dec 23 2019 Andy Li - 1.5.0-1 - New upstream release (RHBZ#1772588). - Remove unneeded BuildRequires on opam-installer. * Fri Aug 16 2019 Richard W.M. Jones - 1.4.0-3 - OCaml 4.08.1 (final) rebuild. * Thu Aug 01 2019 Richard W.M. Jones - 1.4.0-2 - OCaml 4.08.1 (rc2) rebuild. * Mon Jul 29 2019 Andy Li - 1.4.0-1 - New upstream release. * Thu Jul 25 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 16 2019 Andy Li - 1.3.1-1 - New upstream release (RHBZ#1707889). * Fri Feb 01 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 14 2018 Andy Li - 1.1.0-1 - New upstream release. * Wed Aug 01 2018 Andy Li - 1.0.11-1 - New upstream release (RHBZ#1588241). * Fri Jul 13 2018 Fedora Release Engineering - 1.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon May 14 2018 Andy Li - 1.0.10-1 - New upstream release (RHBZ#1564343). * Thu Feb 08 2018 Fedora Release Engineering - 1.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 02 2018 Andy Li - 1.0.7-1 - Initial RPM release.