============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/hawk-rpmlintrc checks: 41, packages: 2 hawk2.aarch64: E: zero-length /usr/share/hawk/Gemfile.lock hawk2.aarch64: E: zero-length /usr/share/hawk/public/assets/gettext-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css hawk2.aarch64: E: zero-length /usr/share/hawk/public/assets/ie-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/javascripts/font-awesome/font-awesome.js hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/bootstrap/_growl.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/bootstrap/_wizard.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_blockui.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_jquery.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_jsviews.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_matchheight.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_rails.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_sortable.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_stickytabs.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/jquery/_validate.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/misc/_html5shiv.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/misc/_moment.scss hawk2.aarch64: E: zero-length /usr/share/hawk/vendor/assets/stylesheets/misc/_respond.scss hawk2.src: E: unused-rpmlintrc-filter "non-executable-script .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "script-without-shebang .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "wrong-script-end-of-line-encoding .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "file-not-in-%lang .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "hidden-file-or-dir .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "zero-length .*/srv/www/hawk/vendor/*" hawk2.src: E: unused-rpmlintrc-filter "unexpanded-macro .*/srv/www/hawk/vendor/bundle" hawk2.src: E: unused-rpmlintrc-filter "hidden-file-or-dir /srv/www/hawk/.bundle" hawk2.src: E: unused-rpmlintrc-filter "dangling-symlink /srv/www/hawk/public/doc/" hawk2.src: E: unused-rpmlintrc-filter "zero-length .*/srv/www/hawk/public/assets/*" hawk2.src: E: unused-rpmlintrc-filter "no-manual-page-for-binary hawk_*" hawk2.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. hawk2.aarch64: E: script-without-shebang /etc/hawk/server.json This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. hawk2.aarch64: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/hawk_chkpwd Please add a %verifyscript section hawk2.aarch64: W: non-conffile-in-etc /etc/hawk/server.json A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. hawk2.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. hawk2.spec:143: W: macro-in-comment %attr hawk2.spec:143: W: macro-in-comment %{uname} hawk2.spec:143: W: macro-in-comment %{gname} hawk2.spec:143: W: macro-in-comment %{www_base} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.8 49.7 SUIDPermissionsCheck 0.9 24.9 FilesCheck 0.3 7.8 BuildRootAndDateCheck 0.2 4.6 TOTAL 3.6 100.0 2 packages and 0 specfiles checked; 30 errors, 7 warnings, 280 filtered, 30 badness; has taken 3.7 s