SPECS: mldonkey.spec - just build with current ocaml; rel 4

glen glen at pld-linux.org
Wed Feb 6 23:25:22 CET 2008


Author: glen                         Date: Wed Feb  6 22:25:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- just build with current ocaml; rel 4

---- Files affected:
SPECS:
   mldonkey.spec (1.179 -> 1.180) 

---- Diffs:

================================================================
Index: SPECS/mldonkey.spec
diff -u SPECS/mldonkey.spec:1.179 SPECS/mldonkey.spec:1.180
--- SPECS/mldonkey.spec:1.179	Wed Feb  6 22:19:28 2008
+++ SPECS/mldonkey.spec	Wed Feb  6 23:25:16 2008
@@ -16,13 +16,12 @@
 %bcond_without	bittorrent	# without BitTorrent support
 %bcond_without	filetp		# without fileTP support
 %bcond_without	gui		# with mlgui
-#
-%define ocaml_ver	3.10.0
+
 Summary:	eDonkey 2000 p2p network client
 Summary(pl.UTF-8):	Klient sieci p2p eDonkey 2000
 Name:		mldonkey
 Version:	2.9.2
-Release:	3
+Release:	4
 License:	GPL
 Group:		Applications/Networking
 Source0:	http://dl.sourceforge.net/mldonkey/%{name}-%{version}.tar.bz2
@@ -46,7 +45,7 @@
 %{?with_gui:BuildRequires:	librsvg-devel >= 2.0}
 BuildRequires:	libstdc++-devel
 BuildRequires:	ncurses-devel
-BuildRequires:	ocaml-camlp4 >= 1:%{ocaml_ver}
+BuildRequires:	ocaml-camlp4 >= 1:3.10.0
 %{?with_gui:BuildRequires:	ocaml-lablgtk2-devel >= 2.6.0}
 %{?with_gui:BuildRequires:	ocaml-lablgtk2-rsvg-devel >= 2.6.0}
 BuildRequires:	perl-base
@@ -189,7 +188,7 @@
 cd config
 %{__autoconf}
 %configure \
-	--enable-ocamlver=%{ocaml_ver} \
+	--enable-ocamlver=$(rpm -q --qf %{V} ocaml-camlp4) \
 	--enable-pthread \
 	%{?with_opennap:--en}%{!?with_opennap:--dis}able-opennap \
 	%{?with_gnutella:--en}%{!?with_gnutella:--dis}able-gnutella \
@@ -331,6 +330,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.180  2008-02-06 22:25:16  glen
+- just build with current ocaml; rel 4
+
 Revision 1.179  2008-02-06 21:19:28  glen
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mldonkey.spec?r1=1.179&r2=1.180&f=u



More information about the pld-cvs-commit mailing list