[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: About slightly outdated ocaml and lablgtk in Fedora and EPEL



Gerard,

The attached patch to the specfile seems to get lablgtk 2.10.0 working on my machine. Lablgl doesn't need to be updated.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
Index: ocaml-lablgtk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-lablgtk/devel/ocaml-lablgtk.spec,v
retrieving revision 1.3
diff -u -r1.3 ocaml-lablgtk.spec
--- ocaml-lablgtk.spec	7 Sep 2007 11:31:42 -0000	1.3
+++ ocaml-lablgtk.spec	7 Nov 2007 16:33:30 -0000
@@ -1,15 +1,15 @@
 %define debug_package %{nil}
 
 Name:           ocaml-lablgtk
-Version:        2.6.0
-Release:        10.20060908cvs%{?dist}
+Version:        2.10.0
+Release:        1%{?dist}
 
 Summary:        Objective Caml interface to gtk+
 
 Group:          System Environment/Libraries
 License:        LGPL
 URL:            http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
-Source:         http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk2-20060908.tar.gz
+Source:         http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Obsoletes:      lablgtk <= 2.6.0-7
@@ -67,7 +67,7 @@
 
 
 %prep
-%setup -q -n lablgtk2
+%setup -q -n lablgtk-%{version}
 # version information in META file is wrong
 perl -pi -e 's|version="1.3.1"|version="%{version}"|' META
 
@@ -76,7 +76,7 @@
 %configure --with-gl --enable-debug
 perl -pi -e "s|-O|$RPM_OPT_FLAGS|" src/Makefile
 make world
-make doc
+make doc CAMLP4O="camlp4o -I %{_libdir}/ocaml/camlp4/Camlp4Parsers"
 
 
 %install
@@ -148,6 +148,10 @@
 
 
 %changelog
+* Wed Nov  7 2007 Richard W.M. Jones <rjones redhat com> - 2.10.0-1
+- New upstream release 2.10.0.
+- Fix path to Camlp4Parsers in 'make doc' rule.
+
 * Fri Sep  7 2007 Gerard Milmeister <gemi bluewin ch> - 2.6.0-10.20060908cvs
 - rebuild
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]