+ Update rpmprep to handle %patchN for rpm >= 4.20
+ Do not embrace macros inside %python_module
+ Use python-rpm-spec instead of calling rpmspec command
+ Add %dnl to excludes-bracketing.txt
- Fix version number in package from github master
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=167
- Clean up the SPEC file
- Update to 1.2.2 bsc#1099674:
* Expand python sitelib glob usage in files
* Add new head category for PSP macros
* Make flake8 happy and fix C416
* avoid adding curly braces to apparmor_reload
* Bump CodeQL Actions version
* Do not put curly brackets around python_libalternatives_reset_alternative
* Try to fix coveralls in github actions
* Update to actions/checkout@v3 and setup-python@v4
* Try to increase timeout for urlopen
* Make flake8 and mypy happy
* Set headers for urlopen to avoid 403 code
* ubuntu-latest doesn't support 3.6 anymore
* Replace calls to w3m with calls to curl
* move logic that tries to change the URL field to https into _make_secure_url
* Fix pep8 errors to pass flake8 tests (#296)
* Extend support for patterns (boo#1195092)
* update coveralls config
* Ignore error N818 from pep8-naming for now
* Fix URL expectations on tests
* Do not put brackets on %obsolete_legacy_pattern
* Fix#287: Incorrect curlification for more systemd-macros
* Add new script for rpmlint.
* Use github token directly
- Remove spec-cleaner-psp-macros.patch that is already included in
1.2.2 release
- Install new *.toml files with licenses
OBS-URL: https://build.opensuse.org/request/show/1120592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=162
- Update to 1.1.9 bsc#1099674:
* Add builtin and comprehensions to catch tad more issues
* Do not add FIXME comments for already commented lines
* Add the article to the comment
* Exclude mysql_testserver calls from bracketing
* Do not curlify systemd_ordering macro
* Ignore dephell setup generator macro from bracketing
* Use github actions and drop travis and tox
* Use pre-commit framework for the project (it runs black, flake8,
flake8-docstrings and mypy on every commit)
* Update README
* Add %{dephell_gensetup} macro instead of the full call to
dephell com
OBS-URL: https://build.opensuse.org/request/show/788281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=148
- Update to 1.1.8 bsc#1099674:
* Change libexecdir substitution to do /usr/libexec to %{_libexecdir}
* Exclude apache_rex_check from bracketing
* Add testscase for boolean dependencies that gets mangled currently
* Do not remove -p0 from autosetup
* Use %make_build if possible issue
* Teach spec-cleaner to not break the %elif* macros added with
rpm 4.15
* Fixup the nested boolean dependencies
* Fixup whitespace reported by flake8
* Set explicit urllib timeout issue
* Replace more stuff for %make build
OBS-URL: https://build.opensuse.org/request/show/768709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=146
- Update to 1.1.5 bsc#1099674:
* Use https in URL in spec-cleaner.spec test
* Remove duplicated backslash in regexp
* Parallelize test run
* Add jupyter_move_config to excludes from bracketing
* Do not fail if URL is ftp:// or other protocol
* Make xdist enabled by default on all test runs and add xdist to deps
* By default remove groups from packages
- remove spec-cleaner-1.1.4_test_https.patch that is no longer needed
OBS-URL: https://build.opensuse.org/request/show/733443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=140
- Update to 1.1.4 bsc#1099674:
* Exclude stuff from openstack macros
* Replace 'http' with 'https' in URL
* Replace legacy packageand() with 'and' expression
* Replace pwdutils with shadow in Requires
* Add openstack_cleanup_prep to bracketing excludes
* Do not curlify yast_metainfo and yast_check
* Fixup the eating of Source lines with whitespace
* Document '#nospeccleaner' tag
* Add docstrings to the functions and classes.
* Use type hints for the most important functions
* Update README and licences
* Various small fixes
- add a temporary patch spec-cleaner-1.1.4_test_https.patch
that fixes a test that fails if there is no internet connection
OBS-URL: https://build.opensuse.org/request/show/716031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=138
* Fix help message not working
* Make libexecdir opt-in rather than opt-out
* Account for LICENCE string not just LICENSE
* Warn about direct qmake/meson usage
* Use https when mentioning bugzilla in header
* Use tuples on some places rather than lists
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=132