[ocaml-calendar] Rebuild for OCaml 4.02.0 beta.

Richard W.M. Jones rjones at fedoraproject.org
Thu Jul 17 14:46:48 UTC 2014


commit b1ab22bc3216cc8f4a6b9e2ce657b81285bcac32
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Jul 17 15:46:54 2014 +0100

    Rebuild for OCaml 4.02.0 beta.

 ocaml-calendar.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec
index 013b4c8..2172cca 100644
--- a/ocaml-calendar.spec
+++ b/ocaml-calendar.spec
@@ -1,8 +1,6 @@
-%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-
 Name:           ocaml-calendar
 Version:        2.03.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Objective Caml library for managing dates and times
 License:        LGPLv2
 
@@ -62,7 +60,7 @@ make install
 %files
 %doc CHANGES README TODO LGPL COPYING
 %{_libdir}/ocaml/calendar
-%if %opt
+%ifarch %{ocaml_native_compiler}
 %exclude %{_libdir}/ocaml/calendar/*.cmx
 %endif
 %exclude %{_libdir}/ocaml/calendar/*.mli
@@ -70,13 +68,16 @@ make install
 
 %files devel
 %doc CHANGES README TODO LGPL COPYING calendarFAQ-2.6.txt doc/*
-%if %opt
+%ifarch %{ocaml_native_compiler}
 %{_libdir}/ocaml/calendar/*.cmx
 %endif
 %{_libdir}/ocaml/calendar/*.mli
 
 
 %changelog
+* Thu Jul 17 2014 Richard W.M. Jones <rjones at redhat.com> - 2.03.2-7
+- Rebuild for OCaml 4.02.0 beta.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list