diff --git a/fedora.toml b/fedora.toml index 0b8cb9c..755fd3f 100644 --- a/fedora.toml +++ b/fedora.toml @@ -233,7 +233,8 @@ Filters = [ # ' executable-marked-as-config-file', # ' log-files-without-logrotate', # ' hardcoded-prefix-tag', - ' -debug(info|source).* no-documentation', + '-debug(info|source).* no-documentation', + '-debugsource.* no-binary', # ' multiple-specfiles', # ' no-default-runlevel ', # ' setgid-binary ', @@ -265,8 +266,9 @@ Filters = [ # Fedora specific stuff that we don't want ' ghost-files-without-postin', ' no-provides ', - ' -debuginfo.* /usr/lib/debug/', - ' -debugsource.* /usr/src/debug/', + '-debuginfo.* /usr/lib/debug/', + '-debugsource.* /usr/src/debug/', + '-devel.* no-binary', '^gpg-pubkey:', ' doc-file-dependency .* /bin/sh$', 'explicit-lib-dependency (liberation-fonts|libertas-.*-firmware|libvirt$|.*-(java|python|utils)$)', @@ -275,12 +277,6 @@ Filters = [ 'dangling-\S*symlink /usr/share/doc/HTML/\S+/common .+/common$', 'hidden-file-or-dir .*/man5/\.k5login\.5[^/]+$', 'blender.+ (wrong-script-interpreter|non-executable-script) .+/blender/.+\.py.*BPY.*', - # Fedora 12 and newer no longer need a buildroot defined, to have the buildroot cleaned at the beginning - # of %install, and do not need to define a %clean section unless the default is invalid. - ' no-cleaning-of-buildroot ', - # Only EL4 needs the files-attr-not-set check, because rpm 4.4 and newer no longer need a %defattr line - # (it automatically provides one). - 'files-attr-not-set', # Don't bother with the non-ghost-in-run checks, /var/lock and /var/run are # symlinks to /run/lock and /run respectively, and /run is a tmpfs 'non-ghost-in-run', diff --git a/rpmlint.spec b/rpmlint.spec index bb62deb..d2ca12d 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -3,7 +3,7 @@ Name: rpmlint Version: 2.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tool for checking common errors in RPM packages License: GPL-2.0-or-later URL: https://github.com/rpm-software-management/rpmlint @@ -76,6 +76,9 @@ cp -a %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/xdg %{_bindir}/rpmlint %changelog +* Fri Oct 07 2022 Todd Zullinger - 2.4.0-3 +- disable various errors/warnings for debug/devel packages + * Wed Oct 05 2022 Miro HronĨok - 2.4.0-2 - remove the license list, depend on rpmlint-fedora-license-data instead