I created an RPM package. It seems Ok.
rpmlint I get this error:
hasciicam.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/hasciicam This executable is calling setuid and setgid without setgroups or initgroups. There is a high probability this means it didn't relinquish all groups, and this would be a potential security issue to be fixed. Seek POS36-C on the web for details about the problem.
In the source code there are these two lines:
setuid (uid); setgid (gid);
Should they be reversed?