Open jurobystricky opened 5 years ago
I put "-C src " into my "make_install_args" file.
Then I ran autospec. As I expected, the spec file contained:
%make_install -C src
However the build failed, with the offending line in the build.log:
+ /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 INSTALLROOT=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 install_prefix=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 BUILDROOT=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 BUILD_ROOT=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 INSTALL_ROOT=/builddir/build/BUILDROOT/stockfish-10-1.x86_64 install '%*'
Note the last '%*'. I would expect "-C src" instead.
@jurobystricky IIRC, rpm macros do not support passing arguments like that. Either we need to pass the arguments correctly or extend the %make_install macro to support it.
%make_install
I put "-C src " into my "make_install_args" file.
Then I ran autospec. As I expected, the spec file contained:
However the build failed, with the offending line in the build.log:
Note the last '%*'. I would expect "-C src" instead.