- Update to version 2.5.0+git20240325.982d664:
* dbus-services: power-profiles-daemon (bsc#1219956) (#1197)
* SpecCheck: Add no-%check-section warning
* Bump upper bound of suse_version to include ALP & current Factory
* test: add mocks folder and mocks for duplicates check
* pkg: remove unicode type reference in is_utf8_bytestr exception
* Refactored the is_utf8_bytestr function
* readme: More specific title for building section
* test: imporve fixtures in test_duplicates.py
* Add building documentation
* Update README.md
OBS-URL: https://build.opensuse.org/request/show/1161419
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1132
- Update to version 2.5.0+git20240125.d0146be:
* sysctl-whitelist: add another package name for kubernetes1.29 (bsc#1219168)
* check: Implement reset method in checks
* Disable Mageia CI builds due to system problem
* check: Implement reset method in checks
* test: Add another test for patch-not-applied
* read rpm package directly with open() while extracting
* remove redundant TODO comments; checking is handled with check_output() pretty well now
* leave rpm2cpio as fallback for distros which do not have rpm2archive available yet
* fix warnings about import order, attempt 2
* fix warnings about import order
* Fixes for nsafe shell command
* Drop rpm2cpio usage entirely
* Adding support for RPM packages containing files greater than 4GB
* lint: Reset all checks for each package
* test: Extend tag tests to check 'W: missing-dependency-on'
OBS-URL: https://build.opensuse.org/request/show/1141536
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1110
* polkit-rules, sudoers: add plasma-branding-Kalpa for special wheel group handling (bsc#1217707, bsc#1217706)
* cron-whitelist: remove obsolete opa-ff entries
* cron-whitelist: remove obsolete logdigest entries
* fix readelf output encoding handling of errors
* Ignore (and escape) symbols that are not valid utf8
* Revert "Disable Mageia CI builds due to system problem"
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1097
- Update to version 2.5.0+git20231025.2713543:
* zypper-plugins: whitelist zypp-boot-plugin (bsc#1215988)
* Release 2.5.0
* Add new check to detect links to scripts
* SpecCheck: Support "%patch n" to detect applied patches
* lint: Show dynamic description for WarnOnFunction config
* description: Add files-duplicate description
* descriptions: Add invalid-lc-messages-dir
* test: Add some tests for I18NCheck
* Add iso_15924 to LANGUAGES
* pkg: Set default user/group as root for FakePkg files
* pkg: Add linkto parameter to FakePkg files
* pkg: Add filenames to FakePkg headers
* pkg: Move scriptprog to AbstractPkg
OBS-URL: https://build.opensuse.org/request/show/1120325
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1088
- 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
* dbus-services: keep old deepin names around until rename is complete (bsc#1214101)
* BinariesCheck: Allow ELF prefix in magic string
* README: added test coverage badge
* pkg_resource is deprecated, importlib and packaging are standard now
* Change setuptools dependency version and license
* Add 'rpmlint.descriptions' to packages on pyproject.toml
* Move metadata from setup.py to pyproject.toml
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1074
- Update to version 2.4.0+git20230713.dfa31c7:
* bsc#1213292: adjust timesync1 dbus whitelisting
* spellcheck: Set lang to en_US when it's C
* SpecCheck: Allow macros for special comments
* rpmdiff: handle script argument with argparse
* PythonCheck: Handle extras in req check
* PythonCheck: Use packaging to parse deps strings
* PythonCheck: Ignore python_version in requirements
* PythonCheck: Support complex python requirements
* SpecCheck: Check for NULL char in all lines
* rpmdiff: adjust for rpm-4.19.0 API changes
* DocCheck: adjust for rpm-4.19.0 API changes
* dbus-services: drop whitelisting that was never put into production
* openSUSE/users-groups: transmission
* Releasing rpmlint as pre-commit hook
OBS-URL: https://build.opensuse.org/request/show/1098548
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1070