[at-spi2-core/f16] Fix the rpath issue for building gobject-introspection properly as suggested from upstream
Peter Robinson
pbrobinson at fedoraproject.org
Tue Jan 10 15:50:01 UTC 2012
commit 93f285f0a1e9bdb7e71566f425e4f903ca464e86
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Tue Jan 10 15:49:57 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 4d1b35e..8f8c54e 100644
--- a/at-spi2-core.spec
+++ b/at-spi2-core.spec
@@ -1,6 +1,6 @@
Name: at-spi2-core
Version: 2.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Protocol definitions and daemon for D-Bus at-spi
Group: System Environment/Libraries
@@ -19,10 +19,6 @@ BuildRequires: libXi-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
@@ -49,8 +45,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.2.1-3
+- Fix the rpath issue for building gobject-introspection properly as suggested from upstream
+
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.1-2
- Rebuilt for glibc bug#747377
More information about the scm-commits
mailing list