Blame SPECS/ocaml-srpm-macros.spec

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