Commit Graph

84 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
4e0d749337 rpmlint.config: corrected typo in bad_crypto_warning for gnutls 2019-05-28 13:35:51 +02:00
Tom Callaway
0e13c403f8 filter out info-files-without-install-info-postin/postun check 2019-01-16 09:13:27 -05:00
Tom Callaway
5a6293221c ignore non-standard-dir-perm error for 700 dirs in /etc and /var/lib 2018-12-07 12:10:37 -05:00
Frank Dana (FeRD)
9d8f6ca034 Add explicit-lib-dependency exception for libreoffice
When readying parlatype[1] for package review[2], I discovered that rpmlint was giving me an explicit-lib-dependency error on the parlatype-libreoffice-helpers package, due to its "Requires: libreoffice-pyuno%{?isa}" component.

Obviously, a libreoffice package is not a library, even though the package name starts with 'lib'. This change adds an additional filter to the rpmlint.config , excluding `libreoffice.*$` from the explicit-lib-dependency check.

[1]: https://github.com/gkarsay/parlatype
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1624208
2018-09-10 05:17:54 +00:00
Georg Sauthoff
92819b9482 remove unlisted or-later (+) variants
of licenses that don't have a or-later clause and thus aren't
listed on the Fedora Licensing page.
2018-08-11 11:56:26 +02:00
Georg Sauthoff
4c791e8bf6 add new valid licenses 2018-08-11 11:51:52 +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
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
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
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
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
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
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
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
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
fd3ffabf2a add systemd to UsrLibBinaryException 2014-06-25 12:39:23 -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
2be746cdc8 update license list, fix desktop file parsing 2013-10-09 19:44:45 -04:00
Tom Callaway
0b83184dc6 1.5 2013-05-17 13:41:17 -04:00
Tom Callaway
e83f5fc5a6 exclude non config files that live in /etc, update license list 2013-03-06 16:09:55 -05:00
Tom Callaway
4ba44299ba fix py3 magic number, update license list 2012-08-14 15:50:21 -04:00
Tom Callaway
364c6fdefd Do not throw an error on desktop files set +x 2011-12-15 14:25:38 -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
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
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ä
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
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ä
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ä
54cb46a0ce - Update to 0.93; fixes #531102 and #555284.
- Enable checks requiring network access in default config.
- Disallow kernel module packages in default config.
- Remove old X11R6 dirs from paths treated as system ones in default
    config.
- Sync Fedora license list with Wiki revision 1.64.
- Omit python-enchant and python-magic dependencies when built on EL.
2010-01-25 22:20:10 +00:00
Ville Skyttä
83a9a35aba - Update to 0.92; fixes #528535, and #531102 (partially).
- Python byte compile patch applied/superseded upstream.
- Add <lua> to list of valid scriptlet shells.
- Sync Fedora license list with Wiki revision 1.53.
2009-11-02 21:40:42 +00:00
Ville Skyttä
8662069110 - Update to 0.91; fixes #513811, #515185, #516492, #519694, and #521630.
- Add dependencies on gzip, bzip2, and xz.
- Sync Fedora license list with Wiki revision 1.49.
- Move pre-2008 %changelog entries to CHANGES.package.old.
2009-09-13 22:15:36 +00:00
Ville Skyttä
97d5013475 - Update to 0.88; fixes #461610, #496735, #496737 (partially), #491188,
#506957.
- Sync Fedora license list with Wiki revision 1.44.
- Parse list of standard users and groups from the setup package's uidgid
    file.
2009-06-21 21:17:41 +00:00
Ville Skyttä
49f105abf9 Parse list of standard users and groups from the setup package's uidgid
file.
2009-05-19 19:49:43 +00:00