SPECS: libgda.spec - release 4 to rebuild with mdbtools-0.6pre1 - ...

sls sls at pld-linux.org
Wed Oct 25 12:23:36 CEST 2006


Author: sls                          Date: Wed Oct 25 10:23:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 4 to rebuild with mdbtools-0.6pre1
- added bcond allowing build with mdbtools-0.5
- missing epoch

---- Files affected:
SPECS:
   libgda.spec (1.106 -> 1.107) 

---- Diffs:

================================================================
Index: SPECS/libgda.spec
diff -u SPECS/libgda.spec:1.106 SPECS/libgda.spec:1.107
--- SPECS/libgda.spec:1.106	Fri Aug 11 20:33:16 2006
+++ SPECS/libgda.spec	Wed Oct 25 12:23:28 2006
@@ -11,6 +11,8 @@
 %bcond_without	sqlite		# build without sqlite plugin
 %bcond_without	xbase		# build without xbase plugin
 
+%bcond_without	mdb06		# build without mdb-0.6pre1
+
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine	with_firebird
 %endif
@@ -18,7 +20,7 @@
 Summary(pl):	Biblioteka GNU Data Access
 Name:		libgda
 Version:	1.2.3
-Release:	3
+Release:	4
 Epoch:		1
 License:	LGPL v2/GPL v2
 Group:		Applications/Databases
@@ -43,7 +45,10 @@
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 1:2.6.26
 BuildRequires:	libxslt-devel >= 1.1.17
-%{?with_mdb:BuildRequires:	mdbtools-devel}
+%if %{with_mdb}
+%{?with_mdb06:BuildRequires:	mdbtools-devel >= 0.6}
+%{!?with_mdb06:BuildRequires:	mdbtools-devel < 0.6}
+%endif
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_ldap:BuildRequires:	openldap-devel}
 BuildRequires:	perl-base
@@ -104,7 +109,7 @@
 Summary:	GNU Data Access static libraries
 Summary(pl):	Statyczne biblioteki GNU Data Access
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 GNU Data Access static libraries.
@@ -249,7 +254,9 @@
 %prep
 %setup -q
 %patch0 -p1
+%if %{without mdb06}
 %patch1 -p1
+%endif
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
@@ -404,6 +411,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.107  2006/10/25 10:23:28  sls
+- release 4 to rebuild with mdbtools-0.6pre1
+- added bcond allowing build with mdbtools-0.5
+- missing epoch
+
 Revision 1.106  2006/08/11 18:33:16  freetz
 - merged from gda-1_2 branch, use HEAD deps, apidocs subpkg added,
   changelog cut, unstable version moved to DEVEL branch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgda.spec?r1=1.106&r2=1.107&f=u



More information about the pld-cvs-commit mailing list