What | Removed | Added |
---|---|---|
CC | leigh123linux@gmail.com |
Hi, Your spec file has a major issue, you need to use fedora build flags %build cmake \ -DCMAKE_INSTALL_PREFIX=%{_libdir}/kodi/addons/ Use the %cmake macro, you can see what is does by running '$ rpm -E %cmake' also use the %make_build macro instead of make %{?_smp_mflags} Change it to %build %cmake . %make_build The release version is wrong for a git snapshot, replace 1 with 0.1 The debug package has spurious-executable-perm errors that could be fixed by add this to %prep section # fix spurious-executable-perm on debug package find . -name '*.h' -or -name '*.cpp' | xargs chmod a-x