============================ rpmlint session starts ============================ rpmlint: 2.6.1 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/openvswitch-rpmlintrc checks: 41, packages: 18 openvswitch.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/openvswitch/.conf.db.~lock~" openvswitch.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/openvswitch/system-id.conf" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html openvswitch.armv6hl: E: script-without-shebang /usr/share/openvswitch/scripts/usdt/kernel_delay.rst 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. openvswitch.armv6hl: W: potential-bashisms /usr/share/openvswitch/scripts/ovs-ctl ovn.armv6hl: W: potential-bashisms /usr/share/ovn/scripts/ovn-ctl checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. openvswitch-devel.armv6hl: E: no-binary openvswitch-ipsec.armv6hl: E: no-binary openvswitch-pki.armv6hl: E: no-binary ovn-devel.armv6hl: E: no-binary ovn-docker.armv6hl: E: no-binary python3-ovs.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. openvswitch.armv6hl: W: hidden-file-or-dir /etc/openvswitch/.conf.db.~lock~ The file or directory is hidden. You should see if this is normal, and delete it from the package if not. openvswitch.armv6hl: W: files-duplicate /usr/sbin/rcovsdb-server /usr/sbin/rcopenvswitch:/usr/sbin/rcovs-delete-transient-ports:/usr/sbin/rcovs-vswitchd ovn.armv6hl: W: files-duplicate /usr/bin/ovn_detrace.py /usr/bin/ovn-detrace Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. openvswitch.armv6hl: E: env-script-interpreter (Badness: 9) /usr/share/openvswitch/scripts/usdt/bridge_loop.bt /usr/bin/env bpftrace This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 6.1 69.8 BinariesCheck 0.8 9.5 ExtractRpm 0.6 6.8 SignatureCheck 0.3 3.6 SharedLibraryPolicyCheck 0.3 3.5 FilesCheck 0.2 2.1 SpecCheck 0.1 1.3 TOTAL 8.7 100.0 18 packages and 0 specfiles checked; 8 errors, 7 warnings, 81 filtered, 16 badness; has taken 8.8 s