packages: redland/redland.spec - updated sed to support db up to 5.0 - tric...

qboosh qboosh at pld-linux.org
Sat Nov 20 11:03:03 CET 2010


Author: qboosh                       Date: Sat Nov 20 10:03:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated sed to support db up to 5.0
- trick to use unixODBC instead of libiodbc for virtuoso driver

---- Files affected:
packages/redland:
   redland.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: packages/redland/redland.spec
diff -u packages/redland/redland.spec:1.68 packages/redland/redland.spec:1.69
--- packages/redland/redland.spec:1.68	Tue Nov  2 19:34:57 2010
+++ packages/redland/redland.spec	Sat Nov 20 11:02:55 2010
@@ -32,6 +32,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.98
 BuildRequires:	sed >= 4.0
 BuildRequires:	sqlite3-devel >= 3
+BuildRequires:	unixODBC-devel
 Requires:	libraptor >= 1.4.19
 Requires:	rasqal >= 1:0.9.19
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -152,7 +153,7 @@
 %setup -q
 
 sed -i 's,bdbc_prefix/lib$,bdbc_prefix/%{_lib},' configure.ac
-sed -i 's,for bdbc_version in 4\.6,for bdbc_version in 4\.7 4\.6,' configure.ac
+sed -i 's,for bdbc_version in 4\.8,for bdbc_version in 5.0 4.8,' configure.ac
 
 %build
 %{__libtoolize}
@@ -162,12 +163,15 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	--enable-ltdl-install=no \
+	ac_cv_lib_iodbc_SQLConnect=no \
+	--disable-ltdl-install \
 	--enable-modular \
-	--with-threads \
 	--with-html-dir=%{_gtkdocdir} \
+	--with-odbc-inc=/usr/include \
+	--with-odbc-lib=/usr/%{_lib} \
 	--with-raptor=system \
 	--with-rasqal=system \
+	--with-threads \
 	--with%{!?with_threestore:out}-threestore
 
 %{__make}
@@ -246,6 +250,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2010/11/20 10:02:55  qboosh
+- updated sed to support db up to 5.0
+- trick to use unixODBC instead of libiodbc for virtuoso driver
+
 Revision 1.68  2010/11/02 18:34:57  shadzik
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/redland/redland.spec?r1=1.68&r2=1.69&f=u



More information about the pld-cvs-commit mailing list