From 0fecc7ae4edf735cb4699f820ba28c4e870919f2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 15 Jan 2017 15:02:32 +0100 Subject: [PATCH] Remove lib64 rpaths --- gjs.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gjs.spec b/gjs.spec index 54d3ee1..901c409 100644 --- a/gjs.spec +++ b/gjs.spec @@ -15,6 +15,7 @@ URL: https://wiki.gnome.org/Projects/Gjs Source0: https://download.gnome.org/sources/%{name}/1.47/%{name}-%{version}.tar.xz BuildRequires: cairo-gobject-devel +BuildRequires: chrpath BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} BuildRequires: readline-devel BuildRequires: dbus-glib-devel @@ -59,6 +60,10 @@ make %{?_smp_mflags} V=1 %install %make_install +# Remove lib64 rpaths +chrpath --delete %{buildroot}%{_bindir}/gjs-console +chrpath --delete %{buildroot}%{_libexecdir}/gjs/installed-tests/minijasmine + #Remove libtool archives. find %{buildroot} -name '*.la' -exec rm -f {} ';' @@ -90,6 +95,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %changelog * Sun Jan 15 2017 Kalev Lember - 1.47.4-1 - Update to 1.47.4 +- Remove lib64 rpaths * Thu Jan 12 2017 Igor Gnatenko - 1.47.0-2 - Rebuild for readline 7.x