============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/avahi-rpmlintrc checks: 41, packages: 18 avahi.armv7hl: 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.armv7hl: E: update-alternatives-requirement-missing python311-avahi.armv7hl: E: update-alternatives-requirement-missing python312-avahi.armv7hl: E: update-alternatives-requirement-missing python313-avahi.armv7hl: 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.armv7hl: 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.armv7hl: 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.armv7hl: 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.armv7hl: 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.armv7hl: E: summary-not-capitalized (Badness: 20) mDNSResponder Compatibility Package for the Zeroconf/Bonjour D-Bus service libdns_sd.armv7hl: 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.armv7hl: I: package-supports-update-alternatives python311-avahi.armv7hl: I: package-supports-update-alternatives python312-avahi.armv7hl: I: package-supports-update-alternatives python313-avahi.armv7hl: I: package-supports-update-alternatives python311-avahi.armv7hl: 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.armv7hl: 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.armv7hl: 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.armv7hl: W: non-conffile-in-etc /etc/avahi/avahi-dnsconfd.action avahi-autoipd.armv7hl: 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. avahi-compat-howl-devel.armv7hl: E: no-binary avahi-compat-mDNSResponder-devel.armv7hl: E: no-binary libavahi-devel.armv7hl: E: no-binary python310-avahi.armv7hl: E: no-binary python311-avahi.armv7hl: E: no-binary python312-avahi.armv7hl: E: no-binary python313-avahi.armv7hl: 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.armv7hl: 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. libdns_sd.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/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.armv7hl: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/avahi-dbus.conf avahi.armv7hl: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/avahi-dbus.conf avahi.armv7hl: 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.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/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.7 33.8 BinariesCheck 0.4 18.3 ExtractRpm 0.3 16.7 SignatureCheck 0.2 11.0 TOTAL 2.0 100.0 18 packages and 0 specfiles checked; 18 errors, 18 warnings, 120 filtered, 105 badness; has taken 2.0 s