============================ 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 checks: 41, packages: 2 opencensus-proto-source.noarch: E: version-control-internal-file /usr/src/opencensus-proto/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. opencensus-proto.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. opencensus-proto-source.noarch: W: hidden-file-or-dir /usr/src/opencensus-proto/.github opencensus-proto-source.noarch: W: hidden-file-or-dir /usr/src/opencensus-proto/.github opencensus-proto-source.noarch: W: hidden-file-or-dir /usr/src/opencensus-proto/.gitignore opencensus-proto-source.noarch: W: hidden-file-or-dir /usr/src/opencensus-proto/.travis.yml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. opencensus-proto-source.noarch: W: files-duplicate /usr/src/opencensus-proto/gen-python/opencensus/proto/trace/__init__.py /usr/src/opencensus-proto/gen-python/opencensus/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/agent/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/agent/common/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/agent/metrics/__init__.py:(and 4 more) opencensus-proto-source.noarch: W: files-duplicate /usr/src/opencensus-proto/gen-python/opencensus/proto/trace/v1/__init__.py /usr/src/opencensus-proto/gen-python/opencensus/proto/agent/common/v1/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/agent/metrics/v1/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/agent/trace/v1/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/metrics/v1/__init__.py:/usr/src/opencensus-proto/gen-python/opencensus/proto/resource/v1/__init__.py:(and 1 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. opencensus-proto-source.noarch: E: filelist-forbidden-fhs23 /usr/src/opencensus-proto File violates FHS 2.3. opencensus-proto-source.noarch: E: env-script-interpreter (Badness: 9) /usr/src/opencensus-proto/gradlew /usr/bin/env sh opencensus-proto-source.noarch: E: env-script-interpreter (Badness: 9) /usr/src/opencensus-proto/src/install-protoc.sh /usr/bin/env bash opencensus-proto-source.noarch: E: env-script-interpreter (Badness: 9) /usr/src/opencensus-proto/src/mkgogen.sh /usr/bin/env bash opencensus-proto-source.noarch: E: env-script-interpreter (Badness: 9) /usr/src/opencensus-proto/src/mkpygen.sh /usr/bin/env bash opencensus-proto-source.noarch: E: env-script-interpreter (Badness: 9) /usr/src/opencensus-proto/src/mkrubygen.sh /usr/bin/env bash 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 TOTAL 0.2 100.0 2 packages and 0 specfiles checked; 7 errors, 7 warnings, 4 filtered, 47 badness; has taken 0.2 s