I received RPMLINT warning “W: no-binary for my package. The package should be of the noarch architecture because it doesn’t contain any binaries.”
So I add BuildArch: noarch to the spec file. But I received unpackage files under /usr/src/debug/, however, from what I understand, files under debug can only exist if I enable debug info flag in OBS but I did not enable it.
Is this normal?](https://build.opensuse.org/package/show/home:andythe_great/qdldl)Also, does having files under usr/lib/cmake/qdldl normal? or do I have to force it to lib64?
I tried adding the flag like you suggest, however, the same debug directory still appear.
Looking at the log, I also found -DCMAKE_BUILD_TYPE=RelWithDebInfo being invoke together with the -DCMAKE_BUILD_TYPE=Release, How to override the flag?
Thanks.
I look through all the cmakelists.txt files and search for RelWithDebInfo, and I don’t found any.
Then I add set(CMAKE_BUILD_TYPE Release) to all cmakelists.txt files. However, the build log still show -DCMAKE_BUILD_TYPE=RelWithDebInfo being invoke.
So is there other places that -DCMAKE_BUILD_TYPE=RelWithDebInfo was called other than cmakelists.txt?
Thanks.