Commit Graph

148 Commits

Author SHA256 Message Date
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
Tomáš Chvátal
0181b321bc - Version update to 1.0.7 bsc#1089297:
* Fix haskell macro bracketing
  * Fix firewalld macros bracketing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=124
2018-04-12 08:16:21 +00:00
Dominique Leuenberger
d03ae737b6 Accepting request 583685 from openSUSE:Tools
- Version update to 1.0.6 release:
  * Fixes license conversions to spdx3.0
  * Allows better parsing of pattern packages
  * Various manpage suffixing fixes
  * Added more things to exclude bracketing

OBS-URL: https://build.opensuse.org/request/show/583685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=50
2018-03-07 09:39:40 +00:00
Tomáš Chvátal
6a72055e1d - Version update to 1.0.6 release:
* Fixes license conversions to spdx3.0
  * Allows better parsing of pattern packages
  * Various manpage suffixing fixes
  * Added more things to exclude bracketing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=122
2018-03-06 20:13:29 +00:00
Dominique Leuenberger
e390a6d6c1 Accepting request 580985 from openSUSE:Tools
- Fix issue with the %doc -> %license conversion in some complex
  cases, multiple licenses at once, prefixed licenses

OBS-URL: https://build.opensuse.org/request/show/580985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=49
2018-02-28 19:03:16 +00:00
Tomáš Chvátal
7a34e69c3f - Fix issue with the %doc -> %license conversion in some complex
cases, multiple licenses at once, prefixed licenses

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=120
2018-02-28 14:35:35 +00:00
Dominique Leuenberger
d161aec267 Accepting request 576937 from openSUSE:Tools
- Drop the debian control things, all releases fail to build
- Update to 1.0.3:
  * Fix various lint issues
  * Switch to SPDX-3.0 license format
  * Add %doc -> %license conversion script
  * Fix crash bugs found when scanning whole Tumbleweed repo

OBS-URL: https://build.opensuse.org/request/show/576937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=48
2018-02-21 13:11:08 +00:00
Tomáš Chvátal
65feac017b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=118 2018-02-15 09:31:39 +00:00
Tomáš Chvátal
f67131a1ac OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=117 2018-02-15 09:29:43 +00:00
Tomáš Chvátal
22e3ebe066 - Drop the debian control things, all releases fail to build
- Update to 1.0.3:
  * Fix various lint issues
  * Switch to SPDX-3.0 license format
  * Add %doc -> %license conversion script
  * Fix crash bugs found when scanning whole Tumbleweed repo

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=116
2018-02-15 09:29:01 +00:00
Dominique Leuenberger
6469552bd8 Accepting request 568515 from openSUSE:Tools
- Version update to 1.0.2 bsc#1077177:
  * Allow changelog-year specification via cmdline
  * Switch to pytest
  * Add groups for rust
  * Fix bug in otherprovides removal

OBS-URL: https://build.opensuse.org/request/show/568515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=47
2018-01-24 14:30:49 +00:00
Tomáš Chvátal
b94bf0e2d5 - Version update to 1.0.2 bsc#1077177:
* Allow changelog-year specification via cmdline
  * Switch to pytest
  * Add groups for rust
  * Fix bug in otherprovides removal

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=114
2018-01-23 10:02:49 +00:00
Dominique Leuenberger
1e248d0c8f Accepting request 554866 from openSUSE:Tools
- Version update to 1.0.1 bsc#1071561:
  * Recognize new rpm trgger* events
  * Remove otherproviders conflicts syntax (just keep the pkg name)
  * Detect more apache macros
  * Drop py_requires macro that is useless

OBS-URL: https://build.opensuse.org/request/show/554866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=46
2017-12-08 11:59:40 +00:00
Tomáš Chvátal
0c85362868 - Version update to 1.0.1 bsc#1071561:
* Recognize new rpm trgger* events
  * Remove otherproviders conflicts syntax (just keep the pkg name)
  * Detect more apache macros
  * Drop py_requires macro that is useless

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=112
2017-12-06 15:57:12 +00:00
Dominique Leuenberger
1b9dad0b87 Accepting request 528773 from openSUSE:Tools
- Version update to 1.0.0 bsc#1060402:
  * Recognise the BuildConflicts tag
  * Fix few make parsing errors
  * Fix some codeblock error detection
  * More path replacements detection
  * Keep uppercase URL tag as per vote

- Version update to 0.9.9:
  * Include pkgconfig and others from leap 42.3 instead of 42.2

OBS-URL: https://build.opensuse.org/request/show/528773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=45
2017-09-27 14:55:08 +00:00
Tomáš Chvátal
a95170cb6f - Version update to 1.0.0 bsc#1060402:
* Recognise the BuildConflicts tag
  * Fix few make parsing errors
  * Fix some codeblock error detection
  * More path replacements detection
  * Keep uppercase URL tag as per vote

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=110
2017-09-26 10:45:01 +00:00
Tomáš Chvátal
9512619507 - Version update to 0.9.9:
* Include pkgconfig and others from leap 42.3 instead of 42.2

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=109
2017-08-09 11:40:24 +00:00
Dominique Leuenberger
7ebcc685ae Accepting request 507043 from openSUSE:Tools
- Version update to 0.9.8 bsc#1046652:
  * Various fixes as reported on github
  * Remove defattr as default from new rpm should be enough
  * Remove buildroot as new rpms do not need it at all

OBS-URL: https://build.opensuse.org/request/show/507043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=44
2017-06-30 16:42:30 +00:00
Tomáš Chvátal
c54ec6f814 - Version update to 0.9.8 bsc#1046652:
* Various fixes as reported on github
  * Remove defattr as default from new rpm should be enough
  * Remove buildroot as new rpms do not need it at all

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=107
2017-06-29 11:30:12 +00:00
Dominique Leuenberger
a60f9c31c1 Accepting request 503031 from openSUSE:Tools
- Version update to 0.9.7:
  * Fix help parsing that crashed the app on execution

OBS-URL: https://build.opensuse.org/request/show/503031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=43
2017-06-12 13:36:11 +00:00
Tomáš Chvátal
60ca7b0f60 - Version update to 0.9.7:
* Fix help parsing that crashed the app on execution

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=105
2017-06-12 08:59:35 +00:00
Dominique Leuenberger
9684625147 Accepting request 501887 from openSUSE:Tools
- Version update to 0.9.6:
  * Deduplication of requires/buildrequires
  * Preamble detection fixups
  * Detect buildignores

OBS-URL: https://build.opensuse.org/request/show/501887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=42
2017-06-08 14:38:32 +00:00
Tomáš Chvátal
4b2a311be1 - Version update to 0.9.6:
* Deduplication of requires/buildrequires
  * Preamble detection fixups
  * Detect buildignores

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=103
2017-06-08 11:24:35 +00:00
Dominique Leuenberger
2ec698c7f6 Accepting request 495599 from openSUSE:Tools
- Version update to 0.9.5:
  * More fixes for the dep_parser
  * Convert pypy urls to new format
  * Start of rpmpreamble cleanup

OBS-URL: https://build.opensuse.org/request/show/495599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=41
2017-05-17 15:19:22 +00:00
Tomáš Chvátal
2f0e254de6 - Version update to 0.9.5:
* More fixes for the dep_parser
  * Convert pypy urls to new format
  * Start of rpmpreamble cleanup

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=101
2017-05-17 12:41:32 +00:00
Yuchen Lin
0537c1186c Accepting request 487015 from openSUSE:Tools
- Version update to 0.9.4:
  * Fixes in the dep_parser
  * Vertical whitespace is now safeguarded
  * More excludes_bracketing
  * Update list of known licenses

OBS-URL: https://build.opensuse.org/request/show/487015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=40
2017-04-13 08:45:19 +00:00
Tomáš Chvátal
d243e02e44 - Version update to 0.9.4:
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=99
2017-04-10 10:32:08 +00:00
Tomáš Chvátal
be7954871c - Version update to 0.9.3:
* Fixes in the dep_parser
  * Vertical whitespace is now safeguarded
  * More excludes_bracketing
  * Update list of known licenses

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=98
2017-04-08 09:22:19 +00:00