2014-04-22 10:07:08 +00:00
|
|
|
# OCaml has a bytecode backend that works on anything with a C
|
|
|
|
# compiler, and a native code backend available on a subset of
|
|
|
|
# architectures. A further subset of architectures support native
|
|
|
|
# dynamic linking.
|
|
|
|
#
|
2022-02-02 20:35:25 +00:00
|
|
|
# This package contains a file needed to define some RPM macros
|
|
|
|
# which are required before any SRPM is built, and a helper python
|
|
|
|
# script that executes common OCaml package tasks.
|
2014-04-22 10:07:08 +00:00
|
|
|
#
|
|
|
|
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087794
|
|
|
|
|
|
|
|
Name: ocaml-srpm-macros
|
2022-02-02 20:35:25 +00:00
|
|
|
Version: 7
|
|
|
|
Release: 1%{?dist}
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
Summary: OCaml architecture macros
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Source0: macros.ocaml-srpm
|
2022-02-02 20:35:25 +00:00
|
|
|
Source1: ocaml_files.py
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
# NB. This package MUST NOT Require anything (except for dependencies
|
|
|
|
# that RPM itself generates).
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains macros needed by RPM in order to build
|
|
|
|
SRPMS. It does not pull in any other OCaml dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2022-02-02 20:35:25 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{rpmmacrodir}
|
|
|
|
install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{rpmmacrodir}/macros.ocaml-srpm
|
2014-04-22 10:07:08 +00:00
|
|
|
|
2022-02-02 20:35:25 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/redhat
|
|
|
|
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/redhat
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
%files
|
2022-02-02 20:35:25 +00:00
|
|
|
%{rpmmacrodir}/macros.ocaml-srpm
|
|
|
|
%{_rpmconfigdir}/redhat/ocaml_files.py
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-02-02 20:35:25 +00:00
|
|
|
* Wed Feb 16 2022 Jerry James <loganjerry@gmail.com> - 7-1
|
|
|
|
- Add odoc and dune macros
|
|
|
|
- Add ocaml_files.py to support %%files automation
|
|
|
|
- Use %%rpmmacrodir instead of a custom macro
|
|
|
|
|
2022-01-20 21:57:31 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 16:49:44 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 22:08:29 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 12:19:56 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 19:47:15 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-06 14:12:11 +00:00
|
|
|
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 6-1
|
|
|
|
- Remove support for native profiling, see:
|
|
|
|
https://github.com/ocaml/ocaml/pull/2314
|
|
|
|
|
2019-07-25 23:01:47 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 16:58:22 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 14:48:54 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 08:58:58 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-08 11:58:36 +00:00
|
|
|
* Tue Aug 08 2017 Richard W.M. Jones <rjones@redhat.com> - 5-2
|
|
|
|
- Bump and rebuild.
|
|
|
|
|
2017-08-08 07:58:38 +00:00
|
|
|
* Tue Aug 8 2017 Richard W.M. Jones <rjones@redhat.com> - 5-1
|
|
|
|
- Add new macro ocaml_native_profiling.
|
|
|
|
|
2017-07-27 01:31:40 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 00:35:53 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-08 18:54:25 +00:00
|
|
|
* Tue Nov 8 2016 Richard W.M. Jones <rjones@redhat.com> - 4-1
|
2016-11-08 17:39:38 +00:00
|
|
|
- s390x is now a native architecture with OCaml 4.04 in Fedora >= 26.
|
2016-11-08 18:54:25 +00:00
|
|
|
- Add riscv64 as a native arch using out of tree backend.
|
2016-11-08 17:39:38 +00:00
|
|
|
|
2016-02-04 11:10:53 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 23:36:51 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 15:50:08 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-02 08:22:32 +00:00
|
|
|
* Fri May 2 2014 Richard W.M. Jones <rjones@redhat.com> - 2-1
|
|
|
|
- Move macros to _rpmconfigdir (RHBZ#1093528).
|
|
|
|
|
2014-04-22 10:07:08 +00:00
|
|
|
* Tue Apr 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1-1
|
|
|
|
- New package.
|