Commit Graph

163 Commits

Author SHA1 Message Date
Todd Zullinger
c74c9bf480 Fix mixed-use-of-spaces-and-tabs warning
There is some irony in the rpmlint.spec file not passing rpmlint
cleanly. :)
2018-05-04 00:46:14 -04:00
Todd Zullinger
211efe1897 Explicitly disable the non-standard-group check
The non-standard-group check has been effectively disabled since rpm
removed the GROUPS file in 4.14.0¹.  Additionally, the Fedora packaging
guidelines discourage the use of the 'Group:' tag², so there is little
point in maintaining a list of valid groups.

¹ https://github.com/rpm-software-management/rpm/commit/0d93b634
² https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections
2018-05-04 00:46:14 -04:00
Todd Zullinger
8221668e34 Properly handle the exception on missing files (bz1574509)
On installs where documentation or additional languages are not
installed, rpmlint fails while attempting to iterate over the file list.
The files are only opened for their 'magic numbers' which is used in a
few tests in BinariesCheck and SourceCheck.

Fedora container images sets nodocs and '%_install_langs en_US' (which
causes locale files not to be installed).  Running rpmlint in such a
container results in a traceback when rpmlint attempts to check the
packages files.

Backport patch from upstream to fix the issue.

Resolves: https://bugzilla.redhat.com/1574509
Source: https://github.com/rpm-software-management/rpmlint/commit/d59bc2a
2018-05-03 22:00:35 -04:00
Todd Zullinger
0a7af54e25 Ignore /usr/src/debug/ in debugsource packages
We have ignored /usr/lib/debug in debuginfo packages, since 2006
(503da0b, rpmlint-0.76).  Treat /usr/src/debug in debugsource equally.
2018-04-18 14:38:08 -04:00
Todd Zullinger
40e157a58e Ignore 'no-documentation' in debugsource packages
The no-documentation warning has been ignored for debuginfo packages
since 2006 (503da0b, rpmlint-0.76).
2018-04-18 12:37:02 -04:00
Tom Callaway
f148d64da6 disable library-without-ldconfig-postin/postun checks (F28+) 2018-04-17 16:17:35 -04:00
Tom Callaway
b1742cd9b4 cleanup flake errors 2018-04-17 12:32:00 -04:00
Todd Zullinger
82c8e3c312 Ignore useless-provides on debuginfo provides (bz1489096)
Applied upstream patch to rpmlint-1.10 via 'git am -3' to resolve
changes in diff context.

Upstream issue: https://github.com/rpm-software-management/rpmlint/issues/112
Upstream commit: https://github.com/rpm-software-management/rpmlint/commit/e739876
2018-04-16 16:44:13 -04:00
Todd Zullinger
a325960c04 Update UsrLibBinaryException config to include .build-id
In 2e06474 ("buildid fixes", 2017-07-17) an upstream patch was applied
which added '.build-id' to the UsrLibBinaryException regex.
Unfortunately, since fd3ffab ("add systemd to UsrLibBinaryException",
2014-06-25)), we override this setting in our rpmlint.config file and it
was not updated to include '.build-id'.

Update the regex to include (most) of the upstream changes, along with our
addition of 'systemd' to the regex.

This fixes spurious 'only-non-binary-in-usr-lib' warnings.
2018-04-16 16:22:54 -04:00
Till Maas
941afaf845 Update URL (RH #1547150) 2018-03-04 23:03:21 +01:00
Fedora Release Engineering
65b9a6b8b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:19:33 +00:00
Karsten Hopp
18202d2d81 fix python3 conditional 2018-01-15 15:10:52 +01:00
Tom Callaway
21c51c4c42 ignore common jargon words in spellcheck 2017-10-29 12:52:00 -04:00
Tom Callaway
b3fa55f70c fix SSL_CTX_set_cipher_list waiver, use raw strings in config file to silence python3 deprecation warnings 2017-10-29 12:29:04 -04:00
Tom Callaway
2a5843ffca use correct config file option for debugsource 2017-09-11 11:34:49 -04:00
Tom Callaway
12ea7db6f2 update config file to reflect new licenses and to ignore devel files in debugsource packages 2017-09-08 17:25:17 -04:00
Tom Callaway
22599c5362 1.10 2017-09-05 14:52:32 -04:00
Fedora Release Engineering
bd916d2419 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 13:17:02 +00:00
Tom Callaway
2e06474450 buildid fixes 2017-07-17 09:57:13 -04:00
Petr Písař
33b1bd9b4d perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-13 11:44:24 +02:00
Björn Esser
fbcf1f6f79 Upstream fix for str object has no attribute decode (bz1439941) 2017-04-07 11:18:42 +02:00
Charalampos Stratakis
a82f40d63e Update Python 3.5.3 magic bytecode value 2017-03-09 18:09:18 +01:00
Tom Callaway
4498671584 apply upstream fix to not demand versioned filename Provides/Obsoletes 2017-02-08 16:59:58 -05:00
Adam Williamson
ecef64ec25 Update Python 3.6 magic bytecode value (github PR #7) 2016-12-29 22:18:27 -08:00
Charalampos Stratakis
f0c479992d Rebuild for Python 3.6 2016-12-14 00:08:52 +01:00
Orion Poplawski
09554fb695 Use %license
- BR python-flake8-import-order for tests
2016-10-24 15:16:09 -06:00
Tom Callaway
fcd9a01d65 ignore long description lines for debuginfo packages 2016-08-26 16:00:01 -04:00
Tom Callaway
6098c6ff42 fix 403 ignore rule for github to be more complete (bz1359582) 2016-07-25 13:49:32 -04:00
Tom Callaway
34b6470a88 cleanup rpmlint errors, oh the irony 2016-07-08 11:09:06 -04:00
Tom Callaway
72bfedf890 1.9 + unicodefixes 2016-07-08 11:05:57 -04:00
Tom Callaway
36f604e5dd ignore python*-*lib* for explicit-lib-dependency, update license list 2016-06-14 14:00:16 -04:00
Tom Callaway
20f2bcffd2 update license list, add github.com to the filter ignore list for 403 errors (bz1326855) 2016-04-18 14:42:40 -05:00
Fedora Release Engineering
2072b03141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 22:18:57 +00:00
Tom Callaway
16156f17aa fix issue with epath on macros, fix python35 issues 2015-11-30 14:12:19 -05:00
Peter Robinson
e162585b4a - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 18:05:52 +00:00
Tom Callaway
0fda47c0f5 fix issue in config regex causing bitbucket URLs to slip through invalid-url filter 2015-09-28 10:51:39 -04:00
Tom Callaway
e45bad3651 1.8 2015-09-25 13:51:08 -04:00
Tom Callaway
4852c95d63 1.7 2015-07-10 11:46:52 -04:00
Dennis Gilmore
f9bbf59a9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:33:15 +00:00
Tom Callaway
71d1d188e1 filter out failure from broken webservers, add new licenses 2015-05-29 12:09:59 -04:00
Tom Callaway
65d75b9e5f update license list in config 2014-12-09 14:47:16 -05:00
Tom Callaway
4346425f02 update to 1.6 2014-09-04 09:40:52 -04:00
Tom Callaway
7c6bb13edb Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpmlint
Conflicts:
	rpmlint.spec
2014-06-25 12:40:38 -04:00
Tom Callaway
fd3ffabf2a add systemd to UsrLibBinaryException 2014-06-25 12:39:23 -04:00
Dennis Gilmore
bed828977a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 21:56:49 -05:00
Tom Callaway
22237e2dc9 fix python 3.4 magic number 2014-05-29 14:25:30 -04:00
Tom Callaway
0536d0406f update config to ignore non-readable /etc/ovirt-engine/isouploader.conf 2014-05-12 15:26:34 -04:00
Tom Callaway
139a2c4b32 filter out broken-syntax-in-scriptlet-requires (except on el4/5) 2014-02-10 16:04:28 -05:00
Ville Skyttä
37bafdf91a Make default config Python 3 compatible. 2014-02-09 14:19:54 +02:00
Tom Callaway
9cd7c836ad fix unicode naming bug (bz 1036310) 2013-12-12 13:29:23 -05:00