caffeine.noarch: W: empty-%post caffeine.noarch: W: empty-%postun caffeine.noarch: W: explicit-lib-dependency python3-xlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. caffeine.noarch: W: files-duplicate /usr/share/pixmaps/caffeine.png /usr/share/icons/hicolor/48x48/apps/caffeine.png caffeine.noarch: W: invalid-desktopfile /usr/share/applications/caffeine.desktop value item "TrayIcon" in key "Categories" in group "Desktop Entry" is a reserved category, so a "OnlyShowIn" key must be included .desktop file is not valid, check with desktop-file-validate 2 packages and 0 specfiles checked; 0 errors, 5 warnings.