Summary: chrpath - change the rpath or runpath in binaries
Summary(pl): chrpath - narzêdzie do zmiany rpath lub runpath w binariach
Name: chrpath
-Version: 0.10
-Release: 3
+Version: 0.13
+Release: 1.1
License: GPL
Group: Applications/Editors
+#Source0ActiveFtp
Source0: ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz
-# Source0-md5: a8adacc92f1535913d5c59c6b8c5197c
-Patch0: %{name}-elf64.patch
+# Source0-md5: b73072a8fbba277558c50364b65bb407
+Patch0: %{name}-multilib.patch
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define no_install_post_chrpath 1
+%define no_install_post_chrpath 1
%description
chrpath changes, lists or removes the rpath or runpath setting in a
%prep
%setup -q
+%ifarch %{x8664} ppc64 s390x sparc64
%patch0 -p1
+%endif
%build
-rm -f missing
+%{__libtoolize}
%{__aclocal}
%{__autoheader}
%{__autoconf}
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
+%ifarch %{x8664} ppc64 s390x sparc64
+%attr(755,root,root) %{_libdir}/libchrpath*.so
+%endif
%{_mandir}/man1/*