From b0d054b1d0096702d1fd912389d92b1ac76574f2 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Thu, 15 Nov 2012 20:41:43 +0100
Subject: [PATCH] Remove an unwanted lib64 rpath

---
 baobab.spec | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/baobab.spec b/baobab.spec
index 87a46fb..41b2728 100644
--- a/baobab.spec
+++ b/baobab.spec
@@ -8,6 +8,7 @@ License:        GPLv2+ and GFDL
 URL:            https://live.gnome.org/Baobab
 Source0:        http://download.gnome.org/sources/baobab/3.6/%{name}-%{version}.tar.xz
 
+BuildRequires:  chrpath
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk3-devel
 BuildRequires:  libgtop2-devel
@@ -38,6 +39,8 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/baobab
+
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/baobab.desktop
 
 %find_lang %{name} --with-gnome
@@ -73,6 +76,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
 %changelog
 * Thu Nov 15 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.3-1
 - Update to 3.6.3
+- Remove an unwanted lib64 rpath
 
 * Wed Nov 14 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.6.2-2
 - Fix homepage URL