Created attachment 1068317 [details] sample srpm file Description of problem: When build packages on F22 for F21 via mock, an empty debug file is created. Version-Release number of selected component (if applicable): rpm-build-4.12.0.1-7.fc21.x86_64 How reproducible: every time Steps to Reproduce: 1. mock -r fedora-21-x86_64 sample.srpm Actual results: An empty debug file is created. Expected results: Debug file with debug info.
Your %{_libdir}/purple-2/telegram-purple.so doesn't have set executable bit. From https://fedoraproject.org/wiki/Packaging:Debuginfo: * find-debuginfo.sh processes only files that are executable when it's run; for practical purposes one can assume that happens under the hood after the %install section. Make sure that all ELF binaries (executables, shared libraries, DSO's) are executable at end of %install.