Commit Graph

182 Commits

Author SHA1 Message Date
Todd Zullinger
dbfdbf0711 Fix mixed-use-of-spaces-and-tabs warning (in this spec file) 2018-06-17 13:16:14 -04:00
Miro Hrončok
b7d6ab3005 Apply upstream fix for Python 3.7 new magic numbers 2018-06-12 11:54:07 +02:00
Miro Hrončok
0e4c3a2139 For the time being, flake8 is broken, so we fake it
See https://bugzilla.redhat.com/show_bug.cgi?id=1582075
2018-06-08 21:31:20 +02:00
Tom Callaway
13ad940560 fix python 3.7 mtime handling 2018-06-02 14:40:46 -04:00
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
8dac1b92ab Simplify and improve git ignore rules
Using a pattern to match the source tar.gz files prevents fedpkg upload
from needlessly appending each new source file to .gitignore.

Also ignore *.rpm, the results dir from mockbuild, and expanded source
directories.
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
5e6ce69b4c Merge branch 'master' into f25 2017-09-08 17:31:06 -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
9caa8d208a Merge branch 'master' into f25 2017-09-05 14:53:22 -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
Ville Skyttä
a9bf72e4c0 Merge branch 'master' into f25 2017-04-15 10:31:53 +03: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
e426dec3a3 Update Python 3.5.3 magic bytecode value 2017-03-09 18:24:43 +01:00
Charalampos Stratakis
a82f40d63e Update Python 3.5.3 magic bytecode value 2017-03-09 18:09:18 +01:00
Tom Callaway
c13781c4d3 merge fix 2017-02-08 17:01:15 -05:00
Tom Callaway
4498671584 apply upstream fix to not demand versioned filename Provides/Obsoletes 2017-02-08 16:59:58 -05:00
Adam Williamson
8d46ad4f18 Update Python 3.6 magic bytecode value (github PR #7) 2017-01-16 11:07:02 +01: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
Orion Poplawski
4b91cead2b Remove old unused patches 2016-07-13 13:11:14 -06: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