============================ 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/lvm2-rpmlintrc checks: 41, packages: 5 lvm2.x86_64: W: tmpfile-not-in-filelist /run/lock/lvm lvm2.x86_64: 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.x86_64: E: systemd-service-without-service_del_postun blk-availability.service lvm2.x86_64: E: systemd-service-without-service_del_postun lvm2-monitor.service The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. liblvm2cmd2_03.x86_64: W: obsolete-not-provided liblvm2app2_2 liblvm2cmd2_03.x86_64: W: obsolete-not-provided liblvm2cmd2_02 lvm2.x86_64: 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.x86_64: W: non-conffile-in-etc /etc/lvm/profile/cache-mq.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/cache-smq.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/command_profile_template.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/lvmdbusd.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/metadata_profile_template.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/thin-generic.profile lvm2.x86_64: W: non-conffile-in-etc /etc/lvm/profile/thin-performance.profile lvm2.x86_64: 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:1972: W: non-break-space line 1972, 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.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:425: W: macro-in-comment %{_libdir} lvm2.spec:429: 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.x86_64: 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.x86_64: 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.x86_64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/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 BinariesCheck 0.2 24.1 ExtractRpm 0.2 21.8 FilesCheck 0.2 18.0 BashismsCheck 0.1 12.4 TOTAL 0.9 100.0 5 packages and 0 specfiles checked; 3 errors, 19 warnings, 592 filtered, 52 badness; has taken 0.9 s