FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/rpmlint.systemd.uqz1l_h2/usr/lib/tmpfiles.d/README'
→ I'm not sure what's going on here. /usr/lib/tmpfiles.d/README exists.
I think the line
https://github.com/rpm-software-management/rpmlint/blob/2402248b1a2f4c770...
("dirname = dirname if dirname != '/' else None")
should be replaced with such a code:
if dirname == '/':
return dirname