============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /opt/testing/lib/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 checks: 41, packages: 4 fipscheck.i586: E: script-without-shebang /usr/bin/.fipscheck.hmac 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. fipscheck.spec:75: E: rpm-buildroot-usage %build %{buildroot}%{_bindir}/fipshmac %{buildroot}%{_bindir}/fipscheck \ fipscheck.spec:76: E: rpm-buildroot-usage %build %{buildroot}%{_bindir}/fipshmac %{buildroot}/%{_libdir}/libfipscheck.so.%{soversion} \ fipscheck.spec:77: E: rpm-buildroot-usage %build ln -s .libfipscheck.so.%{soversion}.hmac %{buildroot}/%{_libdir}/.libfipscheck.so.%{somajor}.hmac \ $RPM_BUILD_ROOT or %{buildroot} must not be touched during %build or %prep stage, as it will break short circuit builds and will not persist to %install stage in a normal build, leading to unexpected package build behavior. fipscheck.i586: W: non-executable-in-bin /usr/bin/.fipscheck.hmac 644 A file is being installed in /usr/bin, but is not an executable. Be sure that the file is an executable or that it has executable permissions. fipscheck-devel.i586: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. fipscheck.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. fipscheck.i586: W: hidden-file-or-dir /usr/bin/.fipscheck.hmac libfipscheck1.i586: W: hidden-file-or-dir /usr/lib/.libfipscheck.so.1.2.1.hmac libfipscheck1.i586: W: hidden-file-or-dir /usr/lib/.libfipscheck.so.1.hmac The file or directory is hidden. You should see if this is normal, and delete it from the package if not. fipscheck-devel.i586: W: files-duplicate /usr/share/man/man3/fipscheck.h.3.gz /usr/share/man/man3/FIPSCHECK_fips_module_installed.3.gz:/usr/share/man/man3/FIPSCHECK_get_binary_path.3.gz:/usr/share/man/man3/FIPSCHECK_get_library_path.3.gz:/usr/share/man/man3/FIPSCHECK_kernel_fips_mode.3.gz:/usr/share/man/man3/FIPSCHECK_verify_ex.3.gz:(and 2 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files TOTAL 0.2 100.0 4 packages and 0 specfiles checked; 5 errors, 6 warnings, 12 filtered, 5 badness; has taken 0.2 s