Empty debugsources.list file when building a package


i get this message, when building the package with spec file:

Processing files: vdr-osd2web-debugsource-0.2.48-1.fc29.x86_64
error: Empty %files file /home/martin/rpmbuild/BUILD/vdr-plugin-osd2web-0.2.48/debugsourcefiles.list

RPM build errors:
Macro expanded in comment on line 3: %{nil}

Empty %files file /home/martin/rpmbuild/BUILD/vdr-plugin-osd2web-0.2.48/debugsourcefiles.list

What should I do? you can see my specfile [2]

[1] <a href="" title=""></a>
[2] <a href="" title=""></a>



Re: Empty debugsources.list file when building a package

By Martin Gansser at 11/08/2018 - 05:56

ok, rpmlint give me a hint:

vdr-osd2web.x86_64: E: executable-marked-as-config-file /etc/vdr/plugins/osd2web/
Executables must not be marked as config files because that may prevent
upgrades from working correctly. If you need to be able to customize an
executable, make it for example read a config file in /etc/sysconfig.

solved with:
# fix the perm due E: executable-marked-as-config-file
chmod 0755 %{buildroot}/%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}