Autospec doesn't include package files after build

I am trying to build Cadence with autospec to work with JACK.
I successifuly built with it, but at the end, looking through the .spec file I see that autospec did not include the package files and binaries like cadence, catia, catarina, and so on.

I am having this issue quite often with autospec with out-of-box packages. Does anyone have the same issue? Is it possible to manually configure it to add what I need?

To reproduce this, one needs first to build PyQt5.sip. Easily done with

cd ~/clearlinux
make autospecnew URL=“https://files.pythonhosted.org/packages/b1/40/dd8f081f04a12912b65417979bf2097def0af0f20c89083ada3670562ac5/PyQt5_sip-12.9.0.tar.gz” NAME=PyQt5.sip
cd packages/PyQt5.sip
make repoadd
make install-local

Then

make autospecnew URL=“https://github.com/falkTX/cadence/tarball/master” NAME=cadence

add this to packages/cadence/buildreq_add file:

PyQt5
PyQt5.sip

After

make autospec

You should end up with the following cadence.spec file:

This file is auto-generated. DO NOT EDIT

Generated by: autospec.py

Name : cadence
Version : 1
Release : 4
URL : https://github.com/falkTX/cadence/tarball/master
Source0 : https://github.com/falkTX/cadence/tarball/master
Summary : No detailed summary available
Group : Development/Tools
License : LGPL-2.0
BuildRequires : PyQt5
BuildRequires : PyQt5.sip
BuildRequires : buildreq-qmake

%description
Cadence is a set of tools useful for audio production.
It’s being developed by falkTX, using Python3 and Qt4 (and some C++ where needed).

%prep
%setup -q -n falkTX-Cadence-c146ff9
cd %{_builddir}/falkTX-Cadence-c146ff9

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1623076573
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
make %{?_smp_mflags} all

%install
export SOURCE_DATE_EPOCH=1623076573
rm -rf %{buildroot}
%make_install

%files
%defattr(-,root,root,-)

I see calls for make install and the files in build log, but I don’t know why I ended up with no files in my package.

Solved in #661 changing PREFIX to /usr