============================ rpmlint session starts ============================ rpmlint: 2.6.1 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/python-base-rpmlintrc checks: 41, packages: 7 python-demo.x86_64: E: zero-length /usr/share/doc/packages/python/Tools/pybench/package/submodule.py python-idle.x86_64: E: wrong-script-end-of-line-encoding /usr/lib64/python2.7/idlelib/idle.bat This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/build-amd64.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/build.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/buildmsi.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/clean-amd64.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/clean.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/external-amd64.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/external.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/test-amd64.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/buildbot/test.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/nuget/build.bat python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/nuget/make_pkg.proj python-demo.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/python/Tools/unicode/genwincodecs.bat This file has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It could prevent it from being displayed correctly in some circumstances. python.src: E: unused-rpmlintrc-filter "devel-file-in-non-devel-package.*/usr/lib.*/python.*/distutils/tests/xxmodule.c" python.src: E: unused-rpmlintrc-filter "devel-file-in-non-devel-package.*/usr/include/python.*/pyconfig.h" python.src: E: unused-rpmlintrc-filter "executable-stack.*/usr/lib/python2.7/lib-dynload/_ctypes.so" python.spec:192: W: suse-update-desktop-file-deprecated %suse_update_desktop_file is deprecated The usage of %suse_update_desktop_file is deprecated and should not be used. python.src: W: source-not-compressed gz recursion.tar A source archive or file in your package is not compressed using the gz compression method (doesn't have the gz extension). python-curses.x86_64: W: self-obsoletion pyth_cur obsoletes pyth_cur python-demo.x86_64: W: self-obsoletion pyth_dmo obsoletes pyth_dmo python-gdbm.x86_64: W: self-obsoletion pygdmod obsoletes pygdmod python-tk.x86_64: W: self-obsoletion pyth_tk obsoletes pyth_tk python-tk.x86_64: W: self-obsoletion pyth_tkl obsoletes pyth_tkl python-tk.x86_64: W: self-obsoletion python-tkinter obsoletes python-tkinter The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. python-idle.x86_64: E: script-without-shebang /usr/lib64/python2.7/idlelib/idle.bat 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. python-demo.x86_64: W: potential-bashisms /usr/share/doc/packages/python/Tools/faqwiz/move-faqwiz.sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. python-demo.x86_64: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. python.x86_64: W: obsolete-not-provided python-elementtree python.x86_64: W: obsolete-not-provided python-nothreads python.x86_64: W: obsolete-not-provided python-sqlite python.x86_64: W: obsolete-not-provided python21 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. python-demo.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. python.x86_64: W: name-repeated-in-summary Python python.src: W: name-repeated-in-summary Python The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. python.spec:258: W: macro-in-comment %ifarch python.spec:258: W: macro-in-comment %ix86 python.spec:260: W: macro-in-comment %endif 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. python-demo.x86_64: W: files-duplicate /usr/share/doc/packages/python/Tools/buildbot/external.bat /usr/share/doc/packages/python/Tools/buildbot/external-amd64.bat 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 ExtractRpm 0.3 34.5 FilesCheck 0.1 13.7 BashismsCheck 0.1 12.3 TOTAL 0.9 100.0 7 packages and 0 specfiles checked; 7 errors, 32 warnings, 38 filtered, 7 badness; has taken 1.0 s