============================ rpmlint session starts ============================ rpmlint: 2.7.0 configuration: /opt/testing/lib/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/lvm2-rpmlintrc checks: 41, packages: 5 lvm2.armv7hl: W: tmpfile-not-in-filelist /run/lock/lvm lvm2.armv7hl: W: tmpfile-not-in-filelist /run/lvm Please add the specified file to your %files section as %ghost so users can easily query who created the file, it gets uninstalled on package removal and finally other rpmlint checks see it. lvm2.armv7hl: E: systemd-service-without-service_del_preun lvm-devices-import.path lvm2.armv7hl: E: systemd-service-without-service_del_preun lvm-devices-import.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. lvm2.armv7hl: E: systemd-service-without-service_add_pre lvm-devices-import.path lvm2.armv7hl: E: systemd-service-without-service_add_pre lvm-devices-import.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. lvm2.armv7hl: E: systemd-service-without-service_add_post lvm-devices-import.path lvm2.armv7hl: E: systemd-service-without-service_add_post lvm-devices-import.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. liblvm2cmd2_03.armv7hl: W: obsolete-not-provided liblvm2app2_2 liblvm2cmd2_03.armv7hl: W: obsolete-not-provided liblvm2cmd2_02 lvm2.armv7hl: W: obsolete-not-provided lvm2-cmirrord 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. lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/cache-mq.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/cache-smq.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/command_profile_template.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/lvmdbusd.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/metadata_profile_template.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/thin-generic.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/thin-performance.profile lvm2.armv7hl: W: non-conffile-in-etc /etc/lvm/profile/vdo-small.profile 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. lvm2.spec:2111: W: non-break-space line 2111, char 27 The spec file contains a non-break space, which looks like a regular space in some editors but can lead to obscure errors. It should be replaced by a regular space. lvm2-devel.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. lvm2.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. lvm2.spec:449: W: macro-in-comment %{_libdir} lvm2.spec:453: W: macro-in-comment %{_lib} 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. lvm2.armv7hl: W: hidden-file-or-dir /etc/lvm/cache/.cache The file or directory is hidden. You should see if this is normal, and delete it from the package if not. lvm2.armv7hl: W: files-duplicate /usr/share/man/man8/lvm-dumpconfig.8.gz /usr/share/man/man8/lvm-config.8.gz Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. lvm2.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/libdevmapper-event-lvm2.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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.3 44.0 BinariesCheck 0.5 17.6 FilesCheck 0.4 12.5 BashismsCheck 0.3 10.6 SpecCheck 0.1 4.3 SignatureCheck 0.1 3.8 TOTAL 2.9 100.0 5 packages and 0 specfiles checked; 8 errors, 19 warnings, 1037 filtered, 57 badness; has taken 2.9 s