]> git.pld-linux.org Git - packages/chrpath.git/blobdiff - chrpath.spec
- document hidden option.
[packages/chrpath.git] / chrpath.spec
index 8b0e7a7fd73f0e36af64218d64b4adeebde1f21e..edeceb7498caba688296844e4b2a1743d9aa7554 100644 (file)
@@ -2,17 +2,19 @@ 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:       1.1
 License:       GPL
 Group:         Applications/Editors
 #Source0ActiveFtp
 Source0:       ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz
 # 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
@@ -26,8 +28,12 @@ w kt
 
 %prep
 %setup -q
+%ifarch %{x8664} ppc64 s390x sparc64
+%patch0 -p1
+%endif
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
@@ -49,4 +55,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.11492 seconds and 4 git commands to generate.