X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=chrpath.spec;h=edeceb7498caba688296844e4b2a1743d9aa7554;hb=c460e99dd75f2a4c6cdda7862dbc78fc19580a14;hp=8b0e7a7fd73f0e36af64218d64b4adeebde1f21e;hpb=7c7e424a6dc3b2939f3ec3d965096de30a8cae34;p=packages%2Fchrpath.git diff --git a/chrpath.spec b/chrpath.spec index 8b0e7a7..edeceb7 100644 --- a/chrpath.spec +++ b/chrpath.spec @@ -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/*