diff --git a/macros.octave b/macros.octave index 20b2d6b..1b02590 100644 --- a/macros.octave +++ b/macros.octave @@ -60,9 +60,11 @@ echo "endfunction" >> %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m \ %{nil} # Run pkg tests - We need to reinstall to recreate 'octave_packages' so that -# octave can find the package, then remove 'octave_packages' again. +# octave can find the package, then remove 'octave_packages' again, and re-strip +# any shared objects. %octave_pkg_check \ %octave_cmd pkg("prefix","%{buildroot}%{octprefix}","%{buildroot}%{octarchprefix}");pkg("global_list",fullfile("%{buildroot}%{octshareprefix}","octave_packages"));pkg("local_list",fullfile("%{buildroot}%{octshareprefix}","octave_packages"));pkg("install","-nodeps","-verbose","%{_builddir}/%{buildsubdir}/build/%{octpkg}-%{version}-%{octave_tar_suffix}.tar.gz");pkg("load","%{octpkg}");runtests("%{buildroot}%{octpkgdir}");unlink(pkg("local_list"));unlink(pkg("global_list")); \ +/usr/lib/rpm/brp-strip-shared %{__strip} \ %{nil} # preun script - we need to remove our uninstall protection and perhaps diff --git a/octave.spec b/octave.spec index ac32f62..19ec615 100644 --- a/octave.spec +++ b/octave.spec @@ -14,7 +14,7 @@ Name: octave Epoch: 6 Version: 4.2.0 -Release: 14%{?rcver:.rc%{rcver}}%{?dist} +Release: 15%{?rcver:.rc%{rcver}}%{?dist} Summary: A high-level language for numerical computations Group: Applications/Engineering License: GPLv3+ @@ -431,6 +431,9 @@ fi %{_pkgdocdir}/refcard*.pdf %changelog +* Wed Feb 08 2017 Orion Poplawski - 6:4.2.0-15 +- Have %%octave_pkg_check re-strip shared objects + * Tue Feb 07 2017 Orion Poplawski - 6:4.2.0-14 - Rebuild with fixed pkgconf (bug #1419685)