From a7fa9b25d2944bc4afa1af60a681056ecfde937d39befdc4c497edeb4e58550f Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Fri, 15 Sep 2023 07:26:45 +0000 Subject: [PATCH] Accepting request 1111465 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint - Update to version 2.4.0+git20230915.ac23757: * dbus-services: update tukitd (bsc#1215216) * FileDigestCheck: do not use hash as variable name * FileDigestCheck: Adapt fstrings to python3.12 check * test: Remove real_files opotional parameter * Add 'nats' user for NATS Server * Add 'signaling' user for Nextcloud Talk Signaling Server * Add 'otobo' user and group, successor app for OTRS * PythonCheck: Add python-sphinx-doctrees-leftover * test: Allow external file content definition * test: Allow list of files in get_tested_mock_package * test: add test documentation * test: each file now default to empty content * test: mocked test_config_files * test: mocked newly added multiple-pyc-version tests * test: mocked test_duplicates tests * Refactored FakePkg with a new helper method for cleaner code in get_tested_mock_package * moved _gather_dep_info and _gather_aux to AbstractPkg * CI: removed GSoC23 branch for CI workflow * test: mocked python dependencies leftovers; and removed 2 binaries * copied _gather_deps_info and _gather_aux functions to FakePkg class * test: mocked test_python_dependencies_missing; also removed its two rpm binaries * test: removed binaries used for testing python package dependencies from metadata and requires.txt * test: mocked another metadata test that supports complex dependency statements * test: mocked test for metadata check in python package * test: mocked complex dependencies from metadata * test: mocked test for python dependencies from requires.txt * test: mocked test for python dependencies from metadata * modified if condition in add_file_with_content function * test: distutil test for python packages is mocked * tests: Refactored Python package tests using mocking for docs, src, and tests * test: Remove binary RPM packages with Python docs and docs modules * test: modified test_python_doc_module_in_package with mocking * test: mocked test_python_doc_in_package * flake8: fixed flake8 warnings * Flake8 suggestion * Update main.yml for GitHub Actions on branch GSoC23 * No need to import FakePkg * changes as suggested * As suggested, I have made changes to to get_tested_mock_package to use API, instead of just kwargs * Tried to mock a test: test_binary.py * CI: Use pipx to install external dependencies * flake8: ignored double quotes with a comment * flake8: remove double quotes * add flake8 extra plugins * Use python-magic API when available * test: Skip test_executable_stack when ldd-failed * PythonCheck: Add check for *.pyc different version OBS-URL: https://build.opensuse.org/request/show/1111465 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1076 --- _servicedata | 2 +- rpmlint-2.4.0+git20230818.5cdd21d0.tar.xz | 3 -- rpmlint-2.4.0+git20230915.ac23757.tar.xz | 3 ++ rpmlint.changes | 52 +++++++++++++++++++++++ rpmlint.spec | 2 +- 5 files changed, 57 insertions(+), 5 deletions(-) delete mode 100644 rpmlint-2.4.0+git20230818.5cdd21d0.tar.xz create mode 100644 rpmlint-2.4.0+git20230915.ac23757.tar.xz diff --git a/_servicedata b/_servicedata index dd7a895..66adbb2 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/rpm-software-management/rpmlint.git - e0596d1c50c618e07f1e3e1350dcb0ae26e52f8c \ No newline at end of file + ac237576f18dc0feb8d043e5134bca479a6988b9 \ No newline at end of file diff --git a/rpmlint-2.4.0+git20230818.5cdd21d0.tar.xz b/rpmlint-2.4.0+git20230818.5cdd21d0.tar.xz deleted file mode 100644 index 1c5e16c..0000000 --- a/rpmlint-2.4.0+git20230818.5cdd21d0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74bb33b208be538253d808d5cf0e39c9c00a529fad0c71501dab69eeb81e47ae -size 7333184 diff --git a/rpmlint-2.4.0+git20230915.ac23757.tar.xz b/rpmlint-2.4.0+git20230915.ac23757.tar.xz new file mode 100644 index 0000000..935bbed --- /dev/null +++ b/rpmlint-2.4.0+git20230915.ac23757.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f463764c96890c6c0a81ebc1dbe5876687d2d3c0fd93d20fc9f1abffd9c69c2 +size 6868420 diff --git a/rpmlint.changes b/rpmlint.changes index 8a06ebf..c36da24 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Fri Sep 15 07:21:51 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.4.0+git20230915.ac23757: + * dbus-services: update tukitd (bsc#1215216) + * FileDigestCheck: do not use hash as variable name + * FileDigestCheck: Adapt fstrings to python3.12 check + * test: Remove real_files opotional parameter + * Add 'nats' user for NATS Server + * Add 'signaling' user for Nextcloud Talk Signaling Server + * Add 'otobo' user and group, successor app for OTRS + * PythonCheck: Add python-sphinx-doctrees-leftover + * test: Allow external file content definition + * test: Allow list of files in get_tested_mock_package + * test: add test documentation + * test: each file now default to empty content + * test: mocked test_config_files + * test: mocked newly added multiple-pyc-version tests + * test: mocked test_duplicates tests + * Refactored FakePkg with a new helper method for cleaner code in get_tested_mock_package + * moved _gather_dep_info and _gather_aux to AbstractPkg + * CI: removed GSoC23 branch for CI workflow + * test: mocked python dependencies leftovers; and removed 2 binaries + * copied _gather_deps_info and _gather_aux functions to FakePkg class + * test: mocked test_python_dependencies_missing; also removed its two rpm binaries + * test: removed binaries used for testing python package dependencies from metadata and requires.txt + * test: mocked another metadata test that supports complex dependency statements + * test: mocked test for metadata check in python package + * test: mocked complex dependencies from metadata + * test: mocked test for python dependencies from requires.txt + * test: mocked test for python dependencies from metadata + * modified if condition in add_file_with_content function + * test: distutil test for python packages is mocked + * tests: Refactored Python package tests using mocking for docs, src, and tests + * test: Remove binary RPM packages with Python docs and docs modules + * test: modified test_python_doc_module_in_package with mocking + * test: mocked test_python_doc_in_package + * flake8: fixed flake8 warnings + * Flake8 suggestion + * Update main.yml for GitHub Actions on branch GSoC23 + * No need to import FakePkg + * changes as suggested + * As suggested, I have made changes to to get_tested_mock_package to use API, instead of just kwargs + * Tried to mock a test: test_binary.py + * CI: Use pipx to install external dependencies + * flake8: ignored double quotes with a comment + * flake8: remove double quotes + * add flake8 extra plugins + * Use python-magic API when available + * test: Skip test_executable_stack when ldd-failed + * PythonCheck: Add check for *.pyc different version + ------------------------------------------------------------------- Fri Aug 18 09:31:56 UTC 2023 - matthias.gerstner@suse.com diff --git a/rpmlint.spec b/rpmlint.spec index c00c9a2..5f288c0 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -23,7 +23,7 @@ %define name_suffix -%{flavor} %endif Name: rpmlint%{name_suffix} -Version: 2.4.0+git20230818.5cdd21d0 +Version: 2.4.0+git20230915.ac23757 Release: 0 Summary: RPM file correctness checker License: GPL-2.0-or-later