diff --git a/macros.octave b/macros.octave index 76e4c13..b227cbc 100644 --- a/macros.octave +++ b/macros.octave @@ -13,8 +13,8 @@ # Run an octave command - quietly with no startup files %octave_cmd() octave -H -q --no-window-system --no-site-file --eval "%*"; -# Build Source0 into a package tar file in a temporary location -%octave_pkg_build %octave_cmd pkg build '-verbose' %{_tmppath}/%{name}-%{version}-%{release}.%{_arch} %{_builddir}/%{buildsubdir} +# Build unpacked source directory into a package tar file in a temporary location +%octave_pkg_build %octave_cmd pkg build '-verbose' '-nodeps' %{_tmppath}/%{name}-%{version}-%{release}.%{_arch} %{_builddir}/%{buildsubdir} # Install a package. We use the octave pkg install command to install the # built package into the buildroot. We also put a note to prevent the root