============================ 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/avahi-rpmlintrc checks: 41, packages: 18 avahi.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /run/avahi-daemon" 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 python310-avahi.aarch64: E: update-alternatives-requirement-missing python311-avahi.aarch64: E: update-alternatives-requirement-missing python312-avahi.aarch64: E: update-alternatives-requirement-missing python313-avahi.aarch64: E: update-alternatives-requirement-missing The package does not have update-alternatives in Requires(post) or Requires(postun). This is needed for the proper scriptlet execution. avahi.aarch64: E: systemd-service-without-service_del_preun avahi-daemon.socket The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. avahi.aarch64: E: systemd-service-without-service_del_postun avahi-daemon.socket The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. avahi.aarch64: E: systemd-service-without-service_add_pre avahi-daemon.socket The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. avahi.aarch64: E: systemd-service-without-service_add_post avahi-daemon.socket The package contains a systemd service but doesn't contain a %post with a call to service_add_post. avahi.spec:151: 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. avahi-compat-mDNSResponder-devel.aarch64: E: summary-not-capitalized (Badness: 20) mDNSResponder Compatibility Package for the Zeroconf/Bonjour D-Bus service libdns_sd.aarch64: E: summary-not-capitalized (Badness: 20) mDNSResponder Compatibility Package for the Zeroconf/Bonjour D-Bus service Summary doesn't begin with a capital letter. avahi.spec:54: W: python-module-def %{?!python_module:%define python_module() python3-%{**}} The spec file contains a conditional definition of python_module macro, this macro is present in recent versions of python-rpm-macros. The following conditional python_module macro definition can be removed: %{?!python_module:%define python_module() python-%{**} python3-%{**}} python310-avahi.aarch64: I: package-supports-update-alternatives python311-avahi.aarch64: I: package-supports-update-alternatives python312-avahi.aarch64: I: package-supports-update-alternatives python313-avahi.aarch64: I: package-supports-update-alternatives python311-avahi.aarch64: W: obsolete-not-provided python-avahi 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. avahi-autoipd.aarch64: W: non-standard-uid /var/lib/avahi-autoipd avahi-autoipd A file in this package is owned by an unregistered user id. To register the user, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. avahi-autoipd.aarch64: W: non-standard-gid /var/lib/avahi-autoipd avahi-autoipd A file in this package is owned by an unregistered group id. To register the group, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. avahi.aarch64: W: non-conffile-in-etc /etc/avahi/avahi-dnsconfd.action avahi-autoipd.aarch64: W: non-conffile-in-etc /etc/avahi/avahi-autoipd.action A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. python310-avahi.aarch64: E: no-binary python311-avahi.aarch64: E: no-binary python312-avahi.aarch64: E: no-binary python313-avahi.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. avahi.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. avahi.spec:626: W: macro-in-comment %{buildroot} avahi.spec:626: W: macro-in-comment %{_libdir} avahi.spec:837: W: macro-in-comment %doc avahi.spec:838: W: macro-in-comment %doc 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. avahi.aarch64: W: install-file-in-docs /usr/share/doc/packages/avahi/INSTALL A file whose name suggests that it contains installation instructions is included in the package. Such instructions are often not relevant for already installed packages. python310-avahi.aarch64: W: files-duplicate /usr/lib/python3.10/site-packages/avahi/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/avahi/__pycache__/__init__.cpython-310.opt-1.pyc:/usr/lib/python3.10/site-packages/avahi/__pycache__/__init__.cpython-310.opt-2.pyc python311-avahi.aarch64: W: files-duplicate /usr/lib/python3.11/site-packages/avahi/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/avahi/__pycache__/__init__.cpython-311.opt-1.pyc:/usr/lib/python3.11/site-packages/avahi/__pycache__/__init__.cpython-311.opt-2.pyc python312-avahi.aarch64: W: files-duplicate /usr/lib/python3.12/site-packages/avahi/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/avahi/__pycache__/__init__.cpython-312.opt-1.pyc:/usr/lib/python3.12/site-packages/avahi/__pycache__/__init__.cpython-312.opt-2.pyc python313-avahi.aarch64: W: files-duplicate /usr/lib/python3.13/site-packages/avahi/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/avahi/__pycache__/__init__.cpython-313.opt-1.pyc:/usr/lib/python3.13/site-packages/avahi/__pycache__/__init__.cpython-313.opt-2.pyc Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. libdns_sd.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/libdns_sd.so 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. avahi.aarch64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/avahi-dbus.conf avahi.aarch64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/avahi-dbus.conf avahi.aarch64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/avahi-dbus.conf allow receive_* is normally not needed as that is the default. libhowl0.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libhowl.so.0.0.0 The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 0.6 28.0 BinariesCheck 0.4 20.2 ExtractRpm 0.4 18.0 SignatureCheck 0.3 13.4 TOTAL 2.1 100.0 18 packages and 0 specfiles checked; 15 errors, 22 warnings, 120 filtered, 102 badness; has taken 2.1 s