rpms/libgda/devel libgda-3.1.2-lib64.patch, NONE, 1.1 libgda.spec, 1.40, 1.41

Denis Leroy denis at fedoraproject.org
Mon Oct 27 12:31:20 UTC 2008


Author: denis

Update of /cvs/pkgs/rpms/libgda/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18569

Modified Files:
	libgda.spec 
Added Files:
	libgda-3.1.2-lib64.patch 
Log Message:
Added patch to fix providers path on x86_64 (#468510)

libgda-3.1.2-lib64.patch:

--- NEW FILE libgda-3.1.2-lib64.patch ---
--- libgda-3.1.2/libgda/binreloc/gda-binreloc.c~	2007-08-31 17:11:37.000000000 +0200
+++ libgda-3.1.2/libgda/binreloc/gda-binreloc.c	2008-10-27 12:39:39.000000000 +0100
@@ -67,7 +67,11 @@
 		prefix_dir_name = "share" G_DIR_SEPARATOR_S "locale";
 		break;
 	case GDA_LIB_DIR:
+#ifdef __x86_64__
+		prefix_dir_name = "lib64";		
+#else
 		prefix_dir_name = "lib";		
+#endif
 		break;
 	case GDA_LIBEXEC_DIR:
 		prefix_dir_name = "libexec";


Index: libgda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libgda/devel/libgda.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- libgda.spec	10 Jul 2008 16:31:45 -0000	1.40
+++ libgda.spec	27 Oct 2008 12:30:50 -0000	1.41
@@ -38,7 +38,7 @@
 Name:             libgda
 Epoch:            1
 Version:          3.1.2
-Release:          5%{?dist}
+Release:          6%{?dist}
 Summary:          Library for writing gnome database programs
 Group:            System Environment/Libraries
 License:          LGPLv2+
@@ -46,6 +46,7 @@
 Source:           http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.1/%{name}-%{version}.tar.bz2
 Patch1:           libgda-3.0.0-man.patch
 Patch2:           libgda-3.1.2-new-freetds.patch
+Patch3:           libgda-3.1.2-lib64.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:    pkgconfig >= 0.8
 BuildRequires:    glib2-devel >= 2.0.0
@@ -313,6 +314,7 @@
 %setup -q
 %patch1 -p1 -b .man
 %patch2 -p1
+%patch3 -p1 -b .lib64
 # fix ppc64 postgres detection
 sed -i 's/x86_64\* | sparc64\*) lib="lib64";;/x86_64\* | sparc64\* | powerpc64\*) lib="lib64";;/' \
   configure configure.in
@@ -556,6 +558,9 @@
 
 
 %changelog
+* Mon Oct 27 2008 Denis Leroy <denis at poolshark.org> - 1:3.1.2-6
+- Added patch to fix providers path on x86_64 (#468510)
+
 * Thu Jul 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> 1:3.1.2-5
 - Rebuild against new db4-4.7
 




More information about the scm-commits mailing list