[ocaml-pgocaml] OCaml 4.01.0 rebuild.

Richard W.M. Jones rjones at fedoraproject.org
Thu Sep 19 11:47:39 UTC 2013


commit cdf75f4cad0ebbf69cdc269980d53c13f3e72389
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Sep 19 12:47:27 2013 +0100

    OCaml 4.01.0 rebuild.
    
    - Enable debuginfo.

 .gitignore         |    5 +----
 ocaml-pgocaml.spec |   17 ++++++++++++-----
 2 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6a7e9ba..b036259 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-pgocaml-1.3.tgz
-/pgocaml-1.4.tgz
-/pgocaml-1.5.tgz
-/pgocaml-1.6.tgz
+/pgocaml-*.tgz
diff --git a/ocaml-pgocaml.spec b/ocaml-pgocaml.spec
index c34f845..1156de0 100644
--- a/ocaml-pgocaml.spec
+++ b/ocaml-pgocaml.spec
@@ -1,14 +1,18 @@
 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%global debug_package %{nil}
+
+# Note new upstream versions of this require 'batteries' (it is, or
+# was, actually just an optional dependency).  Since this is not yet
+# packaged for Fedora, we're sticking with 1.6.
 
 Name:           ocaml-pgocaml
 Version:        1.6
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        OCaml library for type-safe access to PostgreSQL databases
-
 License:        LGPLv2+ with exceptions
+
 URL:            http://pgocaml.forge.ocamlcore.org/
 Source0:        http://forge.ocamlcore.org/frs/download.php/850/pgocaml-%{version}.tgz
+
 ExcludeArch:    sparc64 s390 s390x
 
 BuildRequires:  ocaml >= 3.10.0
@@ -46,9 +50,8 @@ developing applications that use %{name}.
 
 %build
 make depend
-make all
+make all OCAMLOPTFLAGS=-g
 make doc
-strip pgocaml_prof
 
 
 %install
@@ -84,6 +87,10 @@ install -m 0755 pgocaml_prof $RPM_BUILD_ROOT%{_bindir}
 
 
 %changelog
+* Thu Sep 19 2013 Richard W.M. Jones <rjones at redhat.com> - 1.6-5
+- OCaml 4.01.0 rebuild.
+- Enable debuginfo.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list