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 - 2.03.2-7 +- Rebuild for OCaml 4.02.0 beta. + * Sat Jun 07 2014 Fedora Release Engineering - 2.03.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild