Blame SPECS/ocaml-srpm-macros.spec

b4971f
# OCaml has a bytecode backend that works on anything with a C
b4971f
# compiler, and a native code backend available on a subset of
b4971f
# architectures.  A further subset of architectures support native
b4971f
# dynamic linking.
b4971f
#
b4971f
# This package contains a single file needed to define some RPM macros
b4971f
# which are required before any SRPM is built.
b4971f
#
b4971f
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087794
b4971f
b4971f
%global macros_dir %{_rpmconfigdir}/macros.d
b4971f
b4971f
Name:           ocaml-srpm-macros
b4971f
Version:        5
b4971f
Release:        2%{?dist}
b4971f
b4971f
Summary:        OCaml architecture macros
b4971f
License:        GPLv2+
b4971f
b4971f
BuildArch:      noarch
b4971f
b4971f
Source0:        macros.ocaml-srpm
b4971f
b4971f
# NB. This package MUST NOT Require anything (except for dependencies
b4971f
# that RPM itself generates).
b4971f
b4971f
%description
b4971f
This package contains macros needed by RPM in order to build
b4971f
SRPMS.  It does not pull in any other OCaml dependencies.
b4971f
b4971f
b4971f
%prep
b4971f
b4971f
b4971f
%build
b4971f
b4971f
b4971f
%install
b4971f
mkdir -p $RPM_BUILD_ROOT%{macros_dir}
b4971f
install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm
b4971f
b4971f
b4971f
%files
b4971f
%{macros_dir}/macros.ocaml-srpm
b4971f
b4971f
b4971f
%changelog
b4971f
* Tue Aug 08 2017 Richard W.M. Jones <rjones@redhat.com> - 5-2
b4971f
- Bump and rebuild.
b4971f
b4971f
* Tue Aug  8 2017 Richard W.M. Jones <rjones@redhat.com> - 5-1
b4971f
- Add new macro ocaml_native_profiling.
b4971f
b4971f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
b4971f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b4971f
b4971f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-2
b4971f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b4971f
b4971f
* Tue Nov  8 2016 Richard W.M. Jones <rjones@redhat.com> - 4-1
b4971f
- s390x is now a native architecture with OCaml 4.04 in Fedora >= 26.
b4971f
- Add riscv64 as a native arch using out of tree backend.
b4971f
b4971f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2-4
b4971f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b4971f
b4971f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-3
b4971f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b4971f
b4971f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-2
b4971f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b4971f
b4971f
* Fri May  2 2014 Richard W.M. Jones <rjones@redhat.com> - 2-1
b4971f
- Move macros to _rpmconfigdir (RHBZ#1093528).
b4971f
b4971f
* Tue Apr 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1-1
b4971f
- New package.