[at-spi2-core/f15] Fix the rpath issue for building gobject-introspection properly as suggested from upstream

Peter Robinson pbrobinson at fedoraproject.org
Tue Jan 10 16:04:51 UTC 2012


commit 49e5964d5305ebd6134e70690a9ab5b5ea41ef34
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jan 10 16:04:47 2012 +0000

    Fix the rpath issue for building gobject-introspection properly as suggested from upstream

 at-spi2-core.spec |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/at-spi2-core.spec b/at-spi2-core.spec
index 95a4a72..b13d4ab 100644
--- a/at-spi2-core.spec
+++ b/at-spi2-core.spec
@@ -1,6 +1,6 @@
 Name:           at-spi2-core
 Version:        2.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Protocol definitions and daemon for D-Bus at-spi
 
 Group:          System Environment/Libraries
@@ -18,10 +18,6 @@ BuildRequires:  libXext-devel
 BuildRequires:  autoconf automake libtool
 BuildRequires:  intltool
 
-# XXX Ugly Hack
-# Needed for https://bugzilla.gnome.org/show_bug.cgi?id=640303
-BuildRequires: at-spi2-core
-
 Requires:       dbus
 
 %description
@@ -48,8 +44,7 @@ API documentation for libatspi.
 
 %build
 %configure --with-dbus-daemondir=/bin
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+sed -i -e 's+sys_lib_dlsearch_path_spec="/lib /usr/lib+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64+' configure
 
 make %{?_smp_mflags}
 
@@ -85,6 +80,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libatspi.la
 %{_libdir}/pkgconfig/atspi-2.pc
 
 %changelog
+* Tue Jan 10 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 2.0.1-2
+- Fix the rpath issue for building gobject-introspection properly as suggested from upstream
+
 * Tue Apr 26 2011 Matthias Clasen <mclasen at redhat.com> - 2.0.1-1
 - Update to 2.0.1
 


More information about the scm-commits mailing list