Hello community,

here is the log from the commit of package ocaml-facile for openSUSE:Factory 
checked in at 2013-04-07 14:24:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-facile (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-facile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-facile", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-facile/ocaml-facile.changes        
2012-11-28 11:15:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-facile.new/ocaml-facile.changes   
2013-04-07 14:24:38.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr  6 22:01:36 UTC 2013 - [email protected]
+
+- Added ocaml-4.patch, fixes build with ocaml 4
+- Add Source URL
+- Clean the spec file
+
+-------------------------------------------------------------------

Old:
----
  facile-1.1.tar.bz2

New:
----
  facile-1.1.tar.gz
  ocaml-4.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-facile.spec ++++++
--- /var/tmp/diff_new_pack.bkD1DK/_old  2013-04-07 14:24:39.000000000 +0200
+++ /var/tmp/diff_new_pack.bkD1DK/_new  2013-04-07 14:24:39.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-facile
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,15 @@
 Name:           ocaml-facile
 Version:        1.1
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ocaml
 Summary:        Ocaml Constraint Programming Library
 License:        LGPL-2.1+
 Group:          Development/Libraries/Other
-Source:         facile-1.1.tar.bz2
 Url:            http://www.recherche.enac.fr/log/facile/
+Source0:        
http://www.recherche.enac.fr/log/facile/distrib/facile-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE ocaml-4.patch [email protected] -- Fixes build with 
ocaml 4
+Patch0:         ocaml-4.patch
+BuildRequires:  ocaml
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 FaCiLe is a constraint programming library on integer and integer set
@@ -45,21 +47,19 @@
 processing and interface are implemented with the same powerful and
 efficient language.
 
-
-
 %prep
 %setup -q -n facile-%{version}
+%if 0%{?suse_version} > 1230
+%patch0 -p1
+%endif
 
 %build
 ./configure -faciledir %{buildroot}/%{_libdir}/ocaml/facile
-make %{?jobs:-j %jobs}
+make %{?_smp_mflags}
 
 %install
-%__install -d -m 755 %{buildroot}/%{_libdir}/ocaml/facile
-make DESTDIR=%{buildroot} install
-
-%clean
-%{__rm} -rf %{buildroot}
+install -d -m 755 %{buildroot}/%{_libdir}/ocaml/facile
+%make_install
 
 %files
 %defattr(-,root,root)

++++++ ocaml-4.patch ++++++
diff -ur facile-1.1.old/src/facile.mli facile-1.1/src/facile.mli
--- facile-1.1.old/src/facile.mli       2004-09-08 10:51:02.000000000 +0100
+++ facile-1.1/src/facile.mli   2012-06-10 21:06:41.553916954 +0100
@@ -127,7 +127,7 @@
       module Hashtbl :
          sig
            type ('a, 'b) t
-           val create : int -> ('a, 'b) t
+           val create : ?random:bool -> int -> ('a, 'b) t
            val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
            val add : ('a, 'b) t -> 'a -> 'b -> unit
            val find : ('a, 'b) t -> 'a -> 'b
diff -ur facile-1.1.old/src/fcl_data.mli facile-1.1/src/fcl_data.mli
--- facile-1.1.old/src/fcl_data.mli     2004-09-08 10:51:02.000000000 +0100
+++ facile-1.1/src/fcl_data.mli 2012-06-10 21:06:25.841590828 +0100
@@ -23,7 +23,7 @@
 
 module Hashtbl : sig
   type ('a, 'b) t
-  val create : int -> ('a, 'b) t
+  val create : ?random:bool -> int -> ('a, 'b) t
   val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
   val add : ('a, 'b) t -> 'a -> 'b -> unit
   val find : ('a, 'b) t -> 'a -> 'b
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to