Commit Graph

175 Commits

Author SHA256 Message Date
e688e61c04 Break tests
Some checks failed
obs/scm/build
2024-10-02 10:23:50 +02:00
aed8e88377 Fix build
All checks were successful
obs/scm/build
2024-10-02 09:33:51 +02:00
e441bbefd8 Break tests 2024-10-01 09:39:26 +02:00
d1274f3d32 Merge pull request 'Update to version 1.2.3+3' (#1) from feature-branch into factory
Reviewed-on: #1
2024-10-01 08:07:58 +02:00
f31001ab81 Update to version 1.2.3+3 2024-10-01 08:04:18 +02:00
Ana Guerrero
068aa51dc4 Accepting request 1186143 from openSUSE:Tools
- Update to version 1.2.3+1:
  + 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/request/show/1186143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=72
2024-07-08 17:09:07 +00:00
46b22263fe - Remove some pytest build dependencies
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=168
2024-07-08 10:59:22 +00:00
d04ab0f6ca - Update to version 1.2.3+1:
+ 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
2024-07-08 10:55:50 +00:00
Ana Guerrero
18f3dcadf8 Accepting request 1166628 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1166628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=71
2024-04-10 15:49:59 +00:00
99bf117013 Accepting request 1164119 from home:dimstar:Factory
- Update to version 1.2.2+5:
  + Fix mingw32-clutter and replace_pwdutils tests.
  + Update rpmprep to handle %patchN for rpm >= 4.20.
- Drop fix_tests_needing_web_connection.patch: fixed upstream.
- Convert to obs_scm service: there is no bootstrapping needed for
  the tarball anyway, so using pristine git checkout is preferred.

OBS-URL: https://build.opensuse.org/request/show/1164119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=165
2024-04-10 11:06:04 +00:00
Ana Guerrero
5998bf5ec4 Accepting request 1134634 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1134634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=70
2023-12-22 21:42:33 +00:00
7dee1f31da Accepting request 1134633 from home:kstreitova:branches:openSUSE:Tools
- Add fix_tests_needing_web_connection.patch to temporarily fix
  tests that need internet connection that is not available during
  OBS build. Already fixed upstream in fd0f649

OBS-URL: https://build.opensuse.org/request/show/1134633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=163
2023-12-22 14:14:14 +00:00
530adc25bd Accepting request 1120592 from home:kstreitova:branches:openSUSE:Tools
- 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
2023-10-26 13:37:30 +00:00
Ana Guerrero
db9ebb2254 Accepting request 1120004 from openSUSE:Tools
- add spec-cleaner-psp-macros.patch to avoid spec-cleaner
  rewriting the location of the psp macro

- Fix: Use Mageia specific macro for Mageia builds in spec file
  * Various small fixes
- Version update to 1.1.2 bsc#1099674:

OBS-URL: https://build.opensuse.org/request/show/1120004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=69
2023-10-25 16:02:24 +00:00
dbcce9ffed - add spec-cleaner-psp-macros.patch to avoid spec-cleaner
rewriting the location of the psp macro
- Fix: Use Mageia specific macro for Mageia builds in spec file
  * Various small fixes
- Version update to 1.1.2 bsc#1099674:

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=160
2023-10-24 13:45:19 +00:00
Dominique Leuenberger
28c65df4c1 Accepting request 900714 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/900714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=68
2021-06-19 21:03:13 +00:00
01920fd3f5 Accepting request 900554 from home:tarakbumba:branches:openSUSE:Tools
- Fix: Use Mageia specific macro for Mageia builds in spec file

OBS-URL: https://build.opensuse.org/request/show/900554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=158
2021-06-18 07:58:57 +00:00
Dominique Leuenberger
3e2ac08cee Accepting request 853113 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/853113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=67
2020-12-04 20:29:27 +00:00
44e10abc84 Accepting request 849031 from home:jayvdb:branches:devel:languages:python
- Update URLs
- Remove build dependencies on unnecessary pytest plugins

OBS-URL: https://build.opensuse.org/request/show/849031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=156
2020-12-04 14:09:05 +00:00
Dominique Leuenberger
8afefd2403 Accepting request 838918 from openSUSE:Tools
- Update to 1.2.1 bsc#1099674:
  * Use Leap 15.2 as a base for data files

OBS-URL: https://build.opensuse.org/request/show/838918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=66
2020-10-02 15:36:35 +00:00
Tomáš Chvátal
45fc9928bf - Update to 1.2.1 bsc#1099674:
* Use Leap 15.2 as a base for data files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=154
2020-10-01 07:33:15 +00:00
Dominique Leuenberger
e001e17533 Accepting request 829739 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/829739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=65
2020-08-28 21:45:38 +00:00
Tomáš Chvátal
c3d59f849a Accepting request 829702 from home:dimstar:Factory
- Use %{_prefix}/lib instead of %{_libexecdir}: obs services are
  explicitly looked for at this location.

OBS-URL: https://build.opensuse.org/request/show/829702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=152
2020-08-26 11:58:54 +00:00
Dominique Leuenberger
0b51edf4c8 Accepting request 814878 from openSUSE:Tools
- Update to 1.2.0 bsc#1099674:
  * Fix pypi rewritter to work with wheels
  * Do not choke on multiline string macros

OBS-URL: https://build.opensuse.org/request/show/814878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=64
2020-06-16 11:46:42 +00:00
Tomáš Chvátal
a876292bcd - Update to 1.2.0 bsc#1099674:
* Fix pypi rewritter to work with wheels
  * Do not choke on multiline string macros

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=150
2020-06-16 10:48:49 +00:00
Dominique Leuenberger
13edfcdee1 Accepting request 788381 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/788381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=63
2020-03-26 22:33:46 +00:00
Tomáš Chvátal
8688f7f7e8 Accepting request 788281 from home:kstreitova:branches:openSUSE:Tools
- 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
2020-03-26 05:07:50 +00:00
Dominique Leuenberger
f601944164 Accepting request 768720 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/768720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=62
2020-01-30 21:37:13 +00:00
Tomáš Chvátal
61a9c36651 Accepting request 768709 from home:kstreitova:branches:openSUSE:Tools
- 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
2020-01-30 12:54:58 +00:00
Dominique Leuenberger
a77df5c08e Accepting request 748641 from openSUSE:Tools
- Update to 1.1.7 bsc#1099674:
  * Fix a duplication with new SUSE copyright line
  * Exclude all pom_ macros from bracketing

OBS-URL: https://build.opensuse.org/request/show/748641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=61
2019-11-14 23:15:08 +00:00
Tomáš Chvátal
8e133f190f - Update to 1.1.7 bsc#1099674:
* Fix a duplication with new SUSE copyright line
  * Exclude all pom_ macros from bracketing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=144
2019-11-14 10:46:39 +00:00
Dominique Leuenberger
6288e36fbf Accepting request 747377 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/747377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=60
2019-11-11 20:38:10 +00:00
Tomáš Chvátal
debdced285 Accepting request 747374 from home:kstreitova:branches:openSUSE:Tools
- Update to 1.1.6 bsc#1099674:
  * Do not remove groups by default. Now, groups are kept untouched
    by default. Introduce a new option '--remove-groups' that
    removes Group tags from the specfile. Remove '--preserve_groups'
    option.
  * Say goodbye to setup.py test usage as it is deprecated
  * Update the copyring and SUSE header string wrt #264
  * Ignore hpc_configure macro from bracketing

OBS-URL: https://build.opensuse.org/request/show/747374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=142
2019-11-11 15:02:33 +00:00
Dominique Leuenberger
98a8a95690 Accepting request 733445 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/733445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=59
2019-09-26 18:43:51 +00:00
Tomáš Chvátal
bee456b98f Accepting request 733443 from home:kstreitova:branches:openSUSE:Tools
- 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
2019-09-26 13:16:32 +00:00
Dominique Leuenberger
58a1a34921 Accepting request 716033 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/716033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=58
2019-07-18 13:21:17 +00:00
cae59089e7 Accepting request 716031 from home:kstreitova:branches:openSUSE:Tools
- 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
2019-07-17 11:27:48 +00:00
Stephan Kulow
fc3249c710 Accepting request 682450 from openSUSE:Tools
- Update to 1.1.3 bsc#1099674:
  * Convert pytest calls to macros
  * Fix errors in %python_expand line expansions
  * update licenses list
  * Expand more excludes for curlification
  * Do not add accidental newlines to complex conditions

OBS-URL: https://build.opensuse.org/request/show/682450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=57
2019-03-10 08:34:52 +00:00
Tomáš Chvátal
75fe15a541 - Update to 1.1.3 bsc#1099674:
* Convert pytest calls to macros
  * Fix errors in %python_expand line expansions
  * update licenses list
  * Expand more excludes for curlification
  * Do not add accidental newlines to complex conditions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=136
2019-03-07 12:39:24 +00:00
Dominique Leuenberger
a22dd6f8b6 Accepting request 657809 from openSUSE:Tools
- Version update to 1.1.2 bsc#1099674: 
  * Fixed qmake macro recommendation
  * More licenses recognised
  * Do not curlify sysuser_create

OBS-URL: https://build.opensuse.org/request/show/657809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=56
2018-12-13 18:50:16 +00:00
Tomáš Chvátal
930825d210 - Version update to 1.1.2 bsc#1099674:
* Fixed qmake macro recommendation
  * More licenses recognised
  * Do not curlify sysuser_create

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=134
2018-12-13 11:35:20 +00:00
Dominique Leuenberger
eb7b1867de Accepting request 630463 from openSUSE:Tools
- Version update to 1.1.1 bsc#1099674:
  * 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/request/show/630463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=55
2018-08-20 14:21:46 +00:00
Tomáš Chvátal
6de08b7d76 - Version update to 1.1.1 bsc#1099674:
* 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
2018-08-20 07:19:53 +00:00
Dominique Leuenberger
5eaa4d15d5 Accepting request 620042 from openSUSE:Tools
- Version update to 1.1.0 bsc#1099674:
  * Fix issue with previous release not finding datadirs

OBS-URL: https://build.opensuse.org/request/show/620042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=54
2018-07-02 21:33:02 +00:00
Tomáš Chvátal
523e2b6407 - Version update to 1.1.0 bsc#1099674:
* Fix issue with previous release not finding datadirs

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=130
2018-07-01 16:07:40 +00:00
Dominique Leuenberger
272146c002 Accepting request 619757 from openSUSE:Tools
- Version uppdate to 1.0.9 bsc#1099674:
  * Move some checks from rpmlint to be autochecked
  * Dropped support of py2
  * Fixed error reported on parsing non-utf spec-file
  * Leap 15.0 used as base for conversions to pkgconfig/etc.

OBS-URL: https://build.opensuse.org/request/show/619757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=53
2018-06-29 20:36:59 +00:00
Tomáš Chvátal
be932e9ec1 - Version uppdate to 1.0.9 bsc#1099674:
* Move some checks from rpmlint to be autochecked
  * Dropped support of py2
  * Fixed error reported on parsing non-utf spec-file
  * Leap 15.0 used as base for conversions to pkgconfig/etc.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=128
2018-06-29 11:29:10 +00:00
Dominique Leuenberger
294abaa375 Accepting request 606443 from openSUSE:Tools
- Version update to 1.0.8 bsc#1092933:
  * Be case insensitive on license detection
  * Exclude limit_build from bracketing
  * Replace _libexecdir as we now do not really bother about
    SLE11

OBS-URL: https://build.opensuse.org/request/show/606443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=52
2018-05-16 09:39:00 +00:00
Tomáš Chvátal
fab77adebf - Version update to 1.0.8 bsc#1092933:
* Be case insensitive on license detection
  * Exclude limit_build from bracketing
  * Replace _libexecdir as we now do not really bother about
    SLE11

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=126
2018-05-11 12:49:08 +00:00
Yuchen Lin
8bc487fe8a Accepting request 595915 from openSUSE:Tools
- Version update to 1.0.7 bsc#1089297:
  * Fix haskell macro bracketing
  * Fix firewalld macros bracketing

OBS-URL: https://build.opensuse.org/request/show/595915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=51
2018-04-13 10:51:05 +00:00