From e970cc314b644619e557742af398fb05cbf58210 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 14 Sep 2013 16:14:44 +0100 Subject: [PATCH] Rebuild for OCaml 4.01.0. - Enable debuginfo. --- calendar-2.03.2-enable-debug.patch | 11 +++++++++++ ocaml-calendar.spec | 14 ++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 calendar-2.03.2-enable-debug.patch diff --git a/calendar-2.03.2-enable-debug.patch b/calendar-2.03.2-enable-debug.patch new file mode 100644 index 0000000..6fc0d02 --- /dev/null +++ b/calendar-2.03.2-enable-debug.patch @@ -0,0 +1,11 @@ +--- calendar-2.03.2/Makefile.in.old 2013-09-14 16:15:43.760253519 +0100 ++++ calendar-2.03.2/Makefile.in 2013-09-14 16:16:03.233279962 +0100 +@@ -86,7 +86,7 @@ + + CAMLIBS = $(addprefix -I , $(DIRS)) + +-CAMLFLAGS= $(CAMLIBS) ++CAMLFLAGS= -g $(CAMLIBS) + BYTEFLAGS= $(CAMLFLAGS) + LINK_OPTFLAGS = $(CAMLFLAGS) -noassert + OPTFLAGS = $(LINK_OPTFLAGS) -for-pack CalendarLib diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec index fe7e9de..fa4dc00 100644 --- a/ocaml-calendar.spec +++ b/ocaml-calendar.spec @@ -1,15 +1,16 @@ %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) -%global debug_package %{nil} Name: ocaml-calendar Version: 2.03.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Objective Caml library for managing dates and times - License: LGPLv2 + URL: http://calendar.forge.ocamlcore.org/ Source0: http://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Patch1: calendar-2.03.2-enable-debug.patch + ExcludeArch: sparc64 s390 s390x BuildRequires: ocaml >= 4.00.1 @@ -39,6 +40,7 @@ developing applications that use %{name}. %prep %setup -q -n calendar-%{version} +%patch1 -p1 %build @@ -75,6 +77,10 @@ make install %changelog +* Sat Sep 14 2013 Richard W.M. Jones - 2.03.2-5 +- Rebuild for OCaml 4.01.0. +- Enable debuginfo. + * Sat Aug 03 2013 Fedora Release Engineering - 2.03.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild