diff --git a/libmspack.spec b/libmspack.spec index 4e667b4..aff70b3 100644 --- a/libmspack.spec +++ b/libmspack.spec @@ -1,6 +1,6 @@ Name: libmspack Version: 0.5 -Release: 0.6.alpha%{?dist} +Release: 0.7.alpha%{?dist} Summary: Library for CAB and related files compression and decompression Group: System Environment/Libraries @@ -36,6 +36,11 @@ chmod a-x mspack/mspack.h %build CFLAGS="%{optflags} -fno-strict-aliasing" \ %configure --disable-static --disable-silent-rules + +# disable rpath the hard way +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make %{?_smp_mflags} @@ -44,7 +49,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la # avoid conflict with expand from coreutils -install -D -p -m 755 test/expand $RPM_BUILD_ROOT%{_bindir}/msexpand +libtool --mode=install install -D -p -m 755 test/expand $RPM_BUILD_ROOT%{_bindir}/msexpand iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8 touch -r ChangeLog Changelog.utf8 @@ -75,6 +80,9 @@ popd %changelog +* Wed Jul 27 2016 Dan Horák - 0.5-0.7.alpha +- install the actual expand binary + * Wed Jul 27 2016 Dan Horák - 0.5-0.6.alpha - install the expand tool as msexpand (#1319357)