]> git.pld-linux.org Git - packages/chrpath.git/blobdiff - chrpath.spec
- keepgoing option documented, release 2.
[packages/chrpath.git] / chrpath.spec
index 34c137e1051096e843cb28b93a536b09c7d11de9..f57c672ef0d953699199e3593a8f9b7d57386bc6 100644 (file)
@@ -1,16 +1,18 @@
-# TODO: biarch support (work on ELF32 binaries too in 64-bit version)
 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.13
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Editors
 #Source0ActiveFtp
 Source0:       ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz
 # Source0-md5: b73072a8fbba277558c50364b65bb407
+Patch0:                %{name}-keepgoing.patch
+Patch1:                %{name}-multilib.patch
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                no_install_post_chrpath 1
@@ -27,8 +29,13 @@ w kt
 
 %prep
 %setup -q
+%patch0 -p1
+%ifarch %{x8664} ppc64 s390x sparc64
+%patch1 -p1
+%endif
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
@@ -50,4 +57,7 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.602345 seconds and 4 git commands to generate.