Commit Graph

264 Commits

Author SHA1 Message Date
Tom Stellard
00196912df Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-11 19:08:20 +00:00
Miro Hrončok
9d73fed514 Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs 2020-08-21 15:07:34 +02:00
Fedora Release Engineering
b520121e46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:56:22 +00:00
Miro Hrončok
a5d3b021f3 Don't use the %python_sitelib macro, because it errors
See https://fedoraproject.org/wiki/Changes/PythonMacroError
2020-07-16 18:01:14 +02:00
Troy Dawson
9121f405a5 Minor conditional tweak for ELN
Signed-off-by: Troy Dawson tdawson@redhat.com
2020-07-07 15:58:09 +00:00
Tom Callaway
efbe7afa49 use python3-file-magic on f33+ 2020-06-23 09:39:00 -04:00
Tom Callaway
86c1640949 turn *-not-linked-against-libc from errors to warnings (bz1749738) 2020-06-16 11:02:09 -04:00
Tom Callaway
02b658689b add /usr/bin/python[23] as valid shells 2020-06-10 08:40:10 -04:00
Miro Hrončok
c203015a2f Rebuilt for Python 3.9 2020-05-24 10:33:39 +02:00
Michel Alexandre Salim
43b8a7e220 Filter out postin-without-install-info
Fedora no longer requires install-info scriptlets, and we already filter out some rpmlint rules (`info-files-without-install-info-postin` and `info-files-without-install-info-postun`).

Some packages (like `emacs-slime`) still has `%post` for other reasons, though, and if they also ship info files this triggers an extraneous rpmlint error.

Filter out `postin-without-install-info` in addition to the existing two rules.

Test case:
```
~/src/fedora/pkgs-others/rpmlint master*
❯ diff -u <(rpmlint /var/lib/mock/fedora-32-x86_64/result/emacs-slime-2.24-1.fc32.noarch.rpm) <(rpmlint -f ./rpmlint.config /var/lib/mock/fedora-32-x86_64/result/emacs-slime-2.24-1.fc32.noarch.rpm)
--- /proc/self/fd/12    2020-04-28 18:24:01.774132790 -0700
+++ /proc/self/fd/13    2020-04-28 18:24:01.775132781 -0700
@@ -1,6 +1,4 @@
 emacs-slime.noarch: E: incorrect-fsf-address /usr/share/common-lisp/source/slime/lib/hyperspec.el
 emacs-slime.noarch: E: incorrect-fsf-address /usr/share/common-lisp/source/slime/swank/clisp.lisp
 emacs-slime.noarch: E: incorrect-fsf-address /usr/share/emacs/site-lisp/slime/lib/hyperspec.el
-emacs-slime.noarch: E: postin-without-install-info /usr/share/info/slime.info.gz
-emacs-slime.noarch: E: postin-without-install-info /usr/share/info/slime.info.gz
-1 packages and 0 specfiles checked; 5 errors, 0 warnings.
+1 packages and 0 specfiles checked; 3 errors, 0 warnings.
```
2020-04-28 18:31:55 -07:00
Fedora Release Engineering
a23b587055 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:53:23 +00:00
Miro Hrončok
2ed17290bd Rebuilt for Python 3.8 2019-08-17 19:34:19 +02:00
Fedora Release Engineering
f3fdb39e98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:46:59 +00:00
Tom Callaway
0a2d485000 merge conflig file cleanups from PR 2019-07-11 17:11:21 -04:00
Tom Callaway
f7f6955004 merge PR requests manually 2019-07-11 09:45:19 -04:00
Miro Hrončok
0070702fc8 Make it build 2019-07-04 01:14:11 +02:00
Tom Callaway
b129e361c8 1.11 2019-06-21 10:49:39 -04:00
Nikos Mavrogiannopoulos
4e0d749337 rpmlint.config: corrected typo in bad_crypto_warning for gnutls 2019-05-28 13:35:51 +02:00
Miro Hrončok
39f2f25c6a Suppress locale error in order to work in default mock (#1668400) 2019-03-10 12:19:03 +01:00
Fedora Release Engineering
79d42bd312 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:35:58 +00:00
Igor Gnatenko
7c354bae36 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:45 +01: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
Tom Callaway
41b3d2a725 force python3 as exec binary 2018-10-05 15:43:45 -04: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
Fedora Release Engineering
a9b1df195f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:44:17 +00:00
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
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