Rebuild for OCaml 4.01.0.

- Enable debuginfo.
This commit is contained in:
Richard W.M. Jones 2013-09-14 16:14:44 +01:00
parent f3e337b8e3
commit e970cc314b
2 changed files with 21 additions and 4 deletions

View File

@ -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

View File

@ -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 <rjones@redhat.com> - 2.03.2-5
- Rebuild for OCaml 4.01.0.
- Enable debuginfo.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild