Blame SPECS/ocaml-srpm-macros.spec

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