============================ rpmlint session starts ============================ rpmlint: 2.5.0 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/mono-core.rpmlintrc checks: 41, packages: 23 mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/VBCSCompiler.exe.config mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csc.exe.config mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csc.rsp mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csi.exe.config mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csi.rsp mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/vbc.exe.config mono-core.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/vbc.rsp mono-devel.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets mono-devel.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.Managed.Core.targets mono-devel.x86_64: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.VisualBasic.Core.targets This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. mono-core.src: E: unused-rpmlintrc-filter "useless-provides mono" libmono-2_0-devel.x86_64: E: script-without-shebang /usr/bin/mono-gdb.py libmonosgen-2_0-devel.x86_64: E: script-without-shebang /usr/bin/mono-sgen-gdb.py mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/VBCSCompiler.exe.config mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/csc.exe.config mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/csc.rsp mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/csi.exe.config mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/csi.rsp mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/vbc.exe.config mono-core.x86_64: E: script-without-shebang /usr/lib/mono/4.5/vbc.rsp mono-devel.x86_64: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets mono-devel.x86_64: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.Managed.Core.targets mono-devel.x86_64: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.VisualBasic.Core.targets mono-devel.x86_64: E: script-without-shebang /usr/lib/rpm/fileattrs/mono.attr 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. mono-core.x86_64: E: postin-without-ldconfig /usr/lib64/libmono-native.so.0.0.0 This package contains a library and its %post scriptlet doesn't call ldconfig. mono-complete.x86_64: W: obsolete-not-provided mono-data-postgresql mono-complete.x86_64: W: obsolete-not-provided mono-entityframework If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. mono-devel.x86_64: E: non-devel-file-in-devel-package /usr/lib64/libmono-profiler-aot.so.0.0.0 mono-devel.x86_64: E: non-devel-file-in-devel-package /usr/lib64/libmono-profiler-coverage.so.0.0.0 mono-devel.x86_64: E: non-devel-file-in-devel-package /usr/lib64/libmono-profiler-log.so.0.0.0 A non-development file is located in a devel package. ibm-data-db2.x86_64: E: no-binary mono-complete.x86_64: E: no-binary mono-data.x86_64: E: no-binary mono-data-oracle.x86_64: E: no-binary mono-data-sqlite.x86_64: E: no-binary mono-extras.x86_64: E: no-binary mono-locale-extras.x86_64: E: no-binary mono-winforms.x86_64: E: no-binary mono-winfxcore.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. mono-core.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. mono-core.x86_64: E: library-without-ldconfig-postun /usr/lib64/libmono-native.so.0.0.0 This package contains a library and provides no %postun scriptlet containing a call to ldconfig. mono-devel.x86_64: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable mono-devel.x86_64: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable mono-devel.x86_64: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable/v5.0/SupportedFrameworks/.NET Framework 4.6.xml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. mono-web.x86_64: E: files-duplicated-waste (Badness: 100) 124360 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. mono-core.x86_64: W: files-duplicate /etc/mono/4.5/settings.map /etc/mono/4.0/settings.map mono-extras.x86_64: W: files-duplicate /usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe /usr/lib/mono/4.5/mono-service.exe mono-extras.x86_64: W: files-duplicate /usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.pdb /usr/lib/mono/4.5/mono-service.pdb mono-web.x86_64: W: files-duplicate /etc/mono/4.5/Browsers/Compat.browser /etc/mono/2.0/Browsers/Compat.browser:/etc/mono/4.0/Browsers/Compat.browser mono-web.x86_64: W: files-duplicate /etc/mono/4.5/DefaultWsdlHelpGenerator.aspx /etc/mono/2.0/DefaultWsdlHelpGenerator.aspx:/etc/mono/4.0/DefaultWsdlHelpGenerator.aspx Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. libmono-2_0-1.x86_64: E: explicit-lib-dependency libmonosgen-2_0-1 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. mono-core.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/mono-test-install /usr/bin/env bash mono-devel.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/mono-heapviz /usr/bin/env python3 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. mono-core.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/libmono-native.so mono-mvc.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/system.web.extensions.design_1.0.pc mono-mvc.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/system.web.extensions_1.0.pc mono-mvc.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/system.web.mvc.pc mono-mvc.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/system.web.mvc2.pc mono-mvc.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/system.web.mvc3.pc mono-reactive.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/reactive.pc mono-wcf.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/wcf.pc mono-web.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/pkgconfig/aspnetwebstack.pc A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. mono-complete.x86_64: E: devel-dependency libmono-2_0-devel Your package has a dependency on a devel package but it's not a devel package itself. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.4 24.9 SignatureCheck 1.3 22.9 BashismsCheck 1.2 20.2 BinariesCheck 0.4 7.8 ZipCheck 0.4 7.8 FilesCheck 0.3 5.2 SpecCheck 0.2 3.5 BuildRootAndDateCheck 0.2 2.9 TOTAL 5.7 100.0 23 packages and 0 specfiles checked; 52 errors, 11 warnings, 5475 filtered, 608 badness; has taken 5.8 s