Remove rpath.

epel9
Gwyn Ciesla 4 years ago
parent ce803e4446
commit 7bf5a2b95e

@ -17,6 +17,7 @@ BuildRequires: libtool
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtk-doc
BuildRequires: chrpath
Patch0: ORBit2-2.14.3-multilib.patch
# handle ref leaks in the a11y stack more gracefully
@ -65,7 +66,7 @@ write such programs, you'll also need to install the ORBIT package.
%patch3 -p1 -b .deprecated
%build
%configure --disable-gtk-doc --enable-purify --disable-static
%configure --disable-gtk-doc --enable-purify --disable-static --disable-rpath
make %{?_smp_mflags}
%install
@ -98,6 +99,12 @@ cat >$RPM_BUILD_ROOT%{_includedir}/orbit-2.0/orbit/orbit-config.h <<EOF
#endif
EOF
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libORBitCosNaming-2.so.0.1.0
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libORBit-imodule-2.so.0.0.0
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.so
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/ior-decode-2
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/typelib-dump
%ldconfig_scriptlets
%files

Loading…
Cancel
Save