Commit Graph

221 Commits

Author SHA1 Message Date
Miro Hrončok
bc64942c3a Rebuilt for Python 3.7 2018-06-18 21:16:07 +02:00
Todd Zullinger
71aa39eda1 Fix non-ghost-in-run filter in config
The non-ghost-in-var-(lock|run) identifiers were merged and renamed to
non-ghost-in-run in rpmlint-1.8¹.  Update the config to properly filter
this warning.

¹ https://github.com/rpm-software-management/rpmlint/commit/2d56865
2018-06-17 14:21:44 -04:00
Todd Zullinger
6da2389eba Disable automatic compilation of Python files in /usr/share/rpmlint
The rpmlint build process byte compiles these, so no manual byte
compilation is needed.  (The make definition COMPILE_PYC has been used
since 83a9a35 (2009-11-02).  Prior to that a patch was applied to byte
compile in %build.)
2018-06-17 13:22:08 -04:00
Todd Zullinger
68a527b440 Remove el4/el5 configs and /usr/bin symlinks
Both el4 and el5 have been unsupported for ages.  Removing the /usr/bin
symlinks also clears two rpmlint 'no-manual-page-for-binary' warnings.
2018-06-17 13:16:14 -04:00
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
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
Tom Callaway
6c560c4ef9 fix unbound var, do not overload sys.argv[0] 2013-11-11 10:41:51 -05:00
Tom Callaway
2be746cdc8 update license list, fix desktop file parsing 2013-10-09 19:44:45 -04:00
Thomas Woerner
cd043ba906 - Fixed URL and Source0, now using sourceforge.net 2013-08-06 16:08:07 +02:00
Dennis Gilmore
b582d436f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 07:59:29 -05:00
Tom Callaway
0b83184dc6 1.5 2013-05-17 13:41:17 -04:00
Tom Callaway
0f810c9127 add lua bytecode fix, explicitly require perl 2013-04-01 10:30:39 -04:00
Tom Callaway
e83f5fc5a6 exclude non config files that live in /etc, update license list 2013-03-06 16:09:55 -05:00
Dennis Gilmore
c13d69f991 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:53:06 -06:00
Tom Callaway
dd187b82bf add requires: %{_bindir}/groff for man page checks (bz873448) 2012-11-06 10:11:27 -05:00
Tom Callaway
0c54658f9e fix handling of ruby RI files as text files (they are binary files) and apply upstream fix for macro regexp 2012-09-06 15:46:51 -04:00
Thomas Woerner
d2202269e5 Fixed build for RHEL: no bash-completion 2012-09-04 16:29:11 +02:00
Tom Callaway
4ba44299ba fix py3 magic number, update license list 2012-08-14 15:50:21 -04:00
Dennis Gilmore
e204a4f05f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 12:05:09 -05:00
Toshio Kuratomi
66978dd958 Patch to fix messages that contain unicode summaries
https://bugzilla.redhat.com/show_bug.cgi?id=783912
2012-01-23 10:22:26 -08:00
Dennis Gilmore
023014ee27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:56:22 -06:00
Rex Dieter
1f01b0b41e fix bug reference 2011-12-15 14:10:57 -06:00
Tom Callaway
364c6fdefd Do not throw an error on desktop files set +x 2011-12-15 14:25:38 -05:00
Tom Callaway
8504c7c92b fix minor ownership issue 2011-12-05 15:50:22 -05:00
Tom Callaway
f985389d8c add BR: bash-completion for the .pc file 2011-12-05 14:43:03 -05:00
Tom Callaway
3347761d18 1.4, filter non-ghost-in-var-(lock|run) 2011-12-05 14:35:57 -05:00
Tom "spot" Callaway
32994cd899 fix bz 741298 and 745446 2011-10-12 14:51:03 -04:00
Tom "spot" Callaway
76c1090bd2 1.3 2011-07-12 10:59:05 -04:00
Tom "spot" Callaway
6a047fdab5 update to 1.2, filter out files-attr-not-set except for el4 2011-04-24 21:58:38 -04:00
Tom "spot" Callaway
82cdcdc29f fix source url 404 bug 2011-03-03 12:08:22 -05:00
Tom "spot" Callaway
6541858153 fix source url 404 bug 2011-03-03 12:07:13 -05:00
Dennis Gilmore
4b3b9857d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 02:43:23 -06:00
Tom "spot" Callaway
8980a9829c 1.1 2011-02-04 11:20:54 -05:00
Tom "spot" Callaway
fe3c72569c simplify el configs, fix changelog issues 2010-12-07 15:19:40 -05:00
Tom "spot" Callaway
66f16c4cf4 add support for el5-rpmlint, el6-rpmlint | disable no-cleaning-of-buildroot checks for Fedora | disable no-buildroot-tag check for Fedora | disable no-%clean-section check for Fedora 2010-12-06 12:32:05 -05:00
Ville Skyttä
e7cd5217d2 Update to 1.0; fixes #637956, and #639823. 2010-11-01 23:38:29 +02:00
Ville Skyttä
259364fd5e Sync Fedora license list with Wiki revision 1.85. 2010-11-01 23:31:14 +02:00
Ville Skyttä
8480e39802 Whitelist more expectedly setuid executables; fixes #646455. 2010-11-01 23:20:23 +02:00
Ville Skyttä
db3d04e628 0.99-1
- Update to 0.99; fixes #623607, helps work around #537430.
- Sync Fedora license list with Wiki revision 1.80.
2010-08-19 18:57:17 +03:00
David Malcolm
a9d401058f recompiling .py files against Python 2.7 (rhbz#623355) 2010-08-11 17:59:35 -04:00
Ville Skyttä
f96e6af37b Comment update. 2010-06-23 19:07:29 +00:00
Ville Skyttä
d345d0088c - Update to 0.98; fixes #599427 and #599516.
- Filter out all lib*-java and lib*-python explicit-lib-dependency
    messages.
- Sync Fedora license list with Wiki revision 1.75; fixes #600317.
2010-06-23 19:06:20 +00:00
Ville Skyttä
b7f5315add - Update to 0.97; fixes #459452, #589432.
- Filter out explicit-lib-dep messages for libvirt(-python) (Dan
    Kenigsberg).
- Sync Fedora license list with Wiki revision 1.73.
2010-05-18 19:58:31 +00:00
Ville Skyttä
e2f06ee756 - Update to 0.96; fixes #487974, #571375, #571386, #572090, #572097,
#578390.
- Sync Fedora license list with Wiki revision 1.71.
2010-04-21 21:52:53 +00:00
Ville Skyttä
f0b8d54da9 - Patch to fix non-coherent-filename regression for source packages. 2010-03-06 18:09:37 +00:00
Ville Skyttä
1468d1ba3f - Update to 0.95; fixes #564585, #567285, #568498, and #570086. 2010-03-03 20:43:08 +00:00
Ville Skyttä
e6cf082307 - Update to 0.94; rpm >= 4.8.0 spec file check fix included upstream.
- Sync Fedora license list with Wiki revision 1.65 (#559156).
2010-01-31 23:14:18 +00:00
Ville Skyttä
43fef61643 - Apply upstream patch to fix spec file check with rpm >= 4.8.0. 2010-01-25 23:11:37 +00:00