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.
|
|
|
|
#
|
|
|
|
# This package contains a single file needed to define some RPM macros
|
|
|
|
# which are required before any SRPM is built.
|
|
|
|
#
|
|
|
|
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087794
|
|
|
|
|
2014-05-02 08:22:32 +00:00
|
|
|
%global macros_dir %{_rpmconfigdir}/macros.d
|
|
|
|
|
2014-04-22 10:07:08 +00:00
|
|
|
Name: ocaml-srpm-macros
|
2014-05-02 08:22:32 +00:00
|
|
|
Version: 2
|
2015-06-17 23:36:51 +00:00
|
|
|
Release: 3%{?dist}
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
Summary: OCaml architecture macros
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Source0: macros.ocaml-srpm
|
|
|
|
|
|
|
|
# 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
|
2014-05-02 08:22:32 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{macros_dir}
|
|
|
|
install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2014-05-02 08:22:32 +00:00
|
|
|
%{macros_dir}/macros.ocaml-srpm
|
2014-04-22 10:07:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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.
|