============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.13/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/spack-rpmlintrc checks: 41, packages: 4 spack.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/spack/packages.yaml" 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 spack.src: E: unused-rpmlintrc-filter "non-standard-group Unspecified" spack.src: E: unused-rpmlintrc-filter "non-executable-script /var/lib/spack/repos.*" spack.src: E: unused-rpmlintrc-filter ".* E: SUSE_Backports_policy-SLE_conflict .*" spack.noarch: W: potential-bashisms /usr/lib/spack/env/cc checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. spack.noarch: W: non-executable-in-bin /usr/bin/spack.ps1 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. spack.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. spack.spec:43: W: macro-in-comment %{_sysconfdir} spack.spec:135: W: macro-in-comment %{mypython} spack.spec:371: W: macro-in-comment %{mypython} spack.spec:378: W: macro-in-comment %{_sysconfdir} spack.spec:430: W: macro-in-comment %{buildroot} spack.spec:430: W: macro-in-comment %{spack_dir} spack.spec:531: W: macro-in-comment %{without 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. spack-build-dependencies.noarch: E: explicit-lib-dependency libcurl-devel spack-build-dependencies.noarch: E: explicit-lib-dependency libopenssl-devel spack-build-dependencies.noarch: E: explicit-lib-dependency libzip-devel You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. spack-build-dependencies.noarch: E: devel-dependency libcurl-devel Your package has a dependency on a devel package but it's not a devel package itself. spack.noarch: W: bin-sh-syntax-error /usr/bin/spack A /bin/sh shell script contains a POSIX shell syntax error. This might indicate a potential bash-specific feature being used, try dash -n for more detailed error message. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 3.8 48.6 FilesCheck 1.5 19.0 BashismsCheck 1.2 15.4 FilelistCheck 0.4 5.0 BuildRootAndDateCheck 0.3 4.4 SUIDPermissionsCheck 0.2 2.2 TOTAL 7.7 100.0 4 packages and 0 specfiles checked; 7 errors, 12 warnings, 154 filtered, 7 badness; has taken 8.2 s