Re: [gnome-db] libgda.spec missing stanzas for LDAP & MDB
- From: David T Hollis <dhollis davehollis com>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: Adam Tauno Williams <adam morrison-ind com>, GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgda.spec missing stanzas for LDAP & MDB
- Date: Sun, 01 Jun 2003 00:28:58 -0400
Rodrigo Moya wrote:
On Fri, 2003-05-30 at 13:24, Adam Tauno Williams wrote:
I needed to add the following two stanza's to libgda.spec in order to build RPMs
with MDB and LDAP enabled -
%if %{MDB}
%package -n gda-mdb
Summary: GDA MDB Provider
Group: System Environment/Libraries
%description -n gda-mdb
This package includes the GDA MDB provider.
%endif
%if %{LDAP}
%package -n gda-ldap
Summary: GDA LDAP Provider
Group: System Environment/Libraries
%description -n gda-ldap
This package includes the GDA LDAP provider.
%endif
hmm, they are already there, or am I missing something?
cheers
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list
Nope, those portions are there. It's the files section that isn't
there. This patch takes care of it. IIRC, there still may be the
problem building RPMS if you do not specify to build MDB or LDAP for
example, but the configure scripts sees that you have the libraries and
decides to build them anyway. In that event, you get the installed but
unpackaged files problem.
--- libgda.spec.orig 2003-06-01 00:14:51.000000000 -0400
+++ libgda.spec 2003-06-01 00:15:32.000000000 -0400
@@ -348,6 +348,15 @@
%{_libdir}/libgda/providers/libgda-sybase.so
%endif
+%if %{LDAP}
+%files -n gda-ldap
+%{_libdir}/libgda/providers/libgda-ldap.so
+%endif
+
+%if %{MDB}
+%files -n gda-mdb
+%{_libdir}/libgda/providers/libgda-mdb.so
+%endif
%changelog
* Tue Mar 11 2003 David Hollis <dhollis davehollis com>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]