Package Details: rpmlint 2.3.0-1

Git Clone URL: https://aur.archlinux.org/rpmlint.git (read-only, click to copy)
Package Base: rpmlint
Description: A tool for checking common errors in rpm packages
Upstream URL: https://github.com/rpm-software-management/rpmlint
Licenses: GPL2
Submitter: td123
Maintainer: larchunix (carsme)
Last Packager: carsme
Votes: 4
Popularity: 0.000154
First Submitted: 2011-09-12 22:55 (UTC)
Last Updated: 2022-05-19 13:46 (UTC)

Latest Comments

carsme commented on 2022-04-18 19:40 (UTC)

@nicoulaj Those tests should only run if you have an RPM database (at /var/lib/rpm). If you do have an RPM database on your system, could you try to remove it and install again?

nicoulaj commented on 2022-04-17 19:34 (UTC)

Some tests fail:

======================================================================================================================================== FAILURES ========================================================================================================================================
_____________________________________________________________________________________________________________________________ test_run_installed[packages0] ______________________________________________________________________________________________________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fd182fedd80>, packages = PosixPath('test/source/wrongsrc-0-0.src.rpm')

    @pytest.mark.skipif(not HAS_RPMDB, reason='No RPM database present')
    @pytest.mark.parametrize('packages', [Path('test/source/wrongsrc-0-0.src.rpm')])
    def test_run_installed(capsys, packages):
        # load up 1 normal path file and 2 installed packages
        additional_options = {
            'rpmfile': [packages],
            'installed': ['binutils', 'rpm'],
        }
        options = {**options_preset, **additional_options}
        linter = Lint(options)
        linter.checks = _remove_except_zip(linter.checks)
        linter.run()
        out, err = capsys.readouterr()
>       assert '3 packages and 0 specfiles checked' in out
E       AssertionError: assert '3 packages and 0 specfiles checked' in '============================ rpmlint session starts ============================\nrpmlint: 2.2.0\nconfiguration:\n   ...g\nchecks: 27, packages: 3\n\n 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.0 s \n'

test/test_lint.py:233: AssertionError
____________________________________________________________________________________________________________________________ test_run_installed_and_no_files _____________________________________________________________________________________________________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fd183348520>

    @pytest.mark.skipif(not HAS_RPMDB, reason='No RPM database present')
    def test_run_installed_and_no_files(capsys):
        additional_options = {
            'rpmfile': [],
            'installed': ['rpm'],
        }
        options = {**options_preset, **additional_options}
        linter = Lint(options)
        linter.checks = _remove_except_zip(linter.checks)
        linter.run()
        out, err = capsys.readouterr()
>       assert '1 packages and 0 specfiles checked' in out
E       AssertionError: assert '1 packages and 0 specfiles checked' in '============================ rpmlint session starts ============================\nrpmlint: 2.2.0\nconfiguration:\n   ...g\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.0 s \n'

test/test_lint.py:283: AssertionError
_________________________________________________________________________________________________________________________________ test_installed_package _________________________________________________________________________________________________________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fd1833509a0>

    @pytest.mark.skipif(not HAS_RPMDB, reason='No RPM database present')
    def test_installed_package(capsys):
        additional_options = {
            'installed': ['bzip2'],
            'permissive': True
        }
        options = {**options_preset, **additional_options}
        linter = Lint(options)
        retcode = linter.run()
        out, err = capsys.readouterr()
>       assert '1 packages and 0 specfiles checked' in out
E       AssertionError: assert '1 packages and 0 specfiles checked' in '============================ rpmlint session starts ============================\nrpmlint: 2.2.0\nconfiguration:\n   ...g\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.0 s \n'

test/test_lint.py:437: AssertionError

carsme commented on 2021-07-26 14:11 (UTC)

@stig124 Released a new pkgver. Hopefully it's fixed now.

stig124 commented on 2021-07-24 17:17 (UTC)

The package doesn't build, 41 errors in tests

See logs : https://termbin.com/fvnk

anthr76 commented on 2021-05-18 14:38 (UTC)

Version 2.0 is out

nyoxi commented on 2017-08-16 17:10 (UTC)

There's an issue in PKGBUILD. The 'url' should not be an array. Please replace line: url=("http://${pkgname}.sourceforge.net/") with: url="http://${pkgname}.sourceforge.net/"