Commit Graph

73 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tomáš Chvátal
29d87fb477 Accepting request 460665 from home:pluskalm:branches:openSUSE:Tools
- Update to version 0.9.3:
  * Fix regression (gh#openSUSE/spec-cleaner#171)

OBS-URL: https://build.opensuse.org/request/show/460665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=96
2017-02-27 10:27:50 +00:00
Tomáš Chvátal
93ce2f755d - Version update to 0.9.2:
* More minimal fixes
  * Add option to keep vertical space in preamble if desired

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=94
2017-02-13 12:24:30 +00:00
Tomáš Chvátal
e7fbaefb7e - Version update to 0.9.1:
* Switch from regexp macro detection to full-blown parser to avoid
    bugs

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=92
2016-12-30 20:46:22 +00:00
Tomáš Chvátal
94559f8a2a - Version update to 0.9.0:
* Various small fixes
  * Support for tex/perl/cmake conversions:
    + bla-devel -> cmake(bla)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=90
2016-06-30 15:50:42 +00:00
Tomáš Chvátal
e70d48a7cc - Version update to 0.8.9:
* Fix one more virtualenv issue
  * Fix one case of broken requires splitting
  * Properly initialize unbracketing in regexps
  * Fix one more case of double pkg-config dependency

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=88
2016-06-06 11:00:39 +00:00
Tomáš Chvátal
67159bed7d - Version update to 0.8.8:
* Various install fixes for pypi
  * Few small fixes for copyiright parsing
  * Add ghc_ macros to known exclude for bracketing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=86
2016-05-19 13:41:27 +00:00
Tomáš Chvátal
69a935a843 - Version update to 0.8.5:
* Fix for pkgconfig adding in preamble section

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=84
2016-05-11 20:09:28 +00:00
Tomáš Chvátal
6291e5ebc9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=83 2016-05-11 12:30:04 +00:00
Tomáš Chvátal
32f41bb31b - Version update to 0.8.4:
* 0.8.3 skipped due to pypi mistake
  * set suffix for manpages/infopages
  * remove suse_update_config
  * remove more authors blobs
  * redo options passing to be more readable
  * split out testsuite (now runs ~270 tests)
  * few bracketing excludes updates
  * Fix the no-header option to do what everyone would expect

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=82
2016-05-11 11:28:17 +00:00
Tomáš Chvátal
f87afc2277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=80 2016-04-30 15:40:07 +00:00
Tomáš Chvátal
61ec348af2 - Version update to 0.8.2:
* Add switch to disable copyright generating
  * Few small fixes
  * Tweak pkgconfig addition to work on all distros not just openSUSE

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=79
2016-04-29 20:43:21 +00:00
Tomáš Chvátal
54e8950ec5 - Version update to 0.8.1:
* Sort out AUTHORS alphabetically and fix emails
  * Fix FIXME addition to all ./configure calls
  * Fix breakage on some buildrequires syntax

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=77
2016-04-14 19:38:49 +00:00
Tomáš Chvátal
8461f09b49 - Version update to 0.8.0:
* Various bugfixes to the functionality
  * Add fixme to plain ./configure macro
  * Add pkgconfig dependency if needed
  * Add tests for all exclude_bracketing rules

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=74
2016-04-13 12:48:53 +00:00
Tomáš Chvátal
9d1170b0b1 Accepting request 378528 from home:pjanouch:branches:openSUSE:Tools
Add build files for Debian, second try

OBS-URL: https://build.opensuse.org/request/show/378528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=72
2016-03-23 11:51:21 +00:00
Tomáš Chvátal
06b70807bc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=70 2016-03-03 10:04:10 +00:00
Tomáš Chvátal
ed22066cac - Version update to 0.7.9:
* Fix bug in %if detection if it was curlified
  * Add one more case of RPM_BUILD_ROOT replacement
  * Detect wrong Group values and suggest correct ones

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=69
2016-03-03 10:02:07 +00:00
Tomáš Chvátal
6fbe4ef283 - Version update to 0.7.8:
* Various tweaks for the minimal mode
  * Fixed issue with eating up newline after oneline scriptlets
  * Added one more case for section declarations

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=67
2016-02-17 09:52:41 +00:00
Tomáš Chvátal
53e693808c - Version update to 0.7.7:
* fix oneline scriptlets from previous version
  * Few small fixes
  * Minimal mode expansion to work reliably as format_spec_file replacement

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=65
2016-02-09 20:06:40 +00:00
Tomáš Chvátal
2e0701d1ec - Version update to 0.7.5:
* Replace jobs in install section too
  * Do not curlify gconf_schemas
  * Work with defines in sections not just as global declarations
  * Quote optflags properly when replacing RPM_OPT_FLAGS
  * Do not add empty line after oneline scriptlet

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=63
2016-01-22 13:44:14 +00:00
Tomáš Chvátal
67806d007d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=60 2015-09-17 12:42:35 +00:00
Tomáš Chvátal
0be0f99b3d - Version bump to 0.7.3:
* Fix wrong bracketing of kernel_module macro

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=58
2015-09-02 08:22:32 +00:00
Tomáš Chvátal
46865cc262 - Version bump to 0.7.2:
* Do not curlify %20 which is usually space in Source lines
  * Few more excludes for bracket
  * Bunch of small fixes
- Version bump to 0.7.1 bnc#934059:

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=55
2015-06-26 20:13:10 +00:00
Tomáš Chvátal
2c9193d39d - Version bump to 0.7.1 bnC#934059:
* Fix %config(noreplace) curlification
  * Preparation for more path replacements

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=52
2015-06-09 09:09:31 +00:00
Tomáš Chvátal
19abbaaf06 - Version bump to 0.7.0:
* Various small code cleanups and readability improvemnets
  * Better macro detection to allow braces in macros
  * Fix minimal mode appending empty lines in some cases
  * Various additional bracketing excludes

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=50
2015-06-03 09:15:34 +00:00
Tomáš Chvátal
189484ad52 - Version bump to 0.6.9:
* Replace => with >=
  * Bracketing excludes
  * Replace paths using regexps instead of hardcoding (more cases covered)
  * Remove various obsolete tags from preamble Icon/Packager/...
  * Fix RPM_BUILD_ROOT replacement cornercase failure
  * Remove %doc from %_mandir paths as it is pointless to have there

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=48
2015-04-16 19:23:37 +00:00
Tomáš Chvátal
7f2e83177c - Version bump to 0.6.8:
* The copyright line broke test, so update again to fix that

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=46
2015-02-10 14:51:02 +00:00
Tomáš Chvátal
17e43518ab - Version bump to 0.6.7:
* Update copyright line to match current SUSE one

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=45
2015-02-10 14:42:08 +00:00
Tomáš Chvátal
11fcc8f3a1 - Version bump to 0.6.6:
* Excludes for java qmake gem_ and kde macros
  * Cleanup conflicts lines properly
  * Cleanup kernel subpkgs properly
  * Work with spaces in version string

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=44
2015-02-10 14:38:33 +00:00
Tomáš Chvátal
914d715a10 - Version bump to 0.6.5:
* Fix vertical spacing around nested conditionals
  * Fix issue with bogus %lang detection

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=42
2014-12-08 09:02:27 +00:00
Tomáš Chvátal
e6c09913af - Remove PKGBUILD until service-download_files is fixed to work fine
with them
- Version bump to 0.6.4:
  * Various small fixes and macro expansion.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=40
2014-11-15 10:11:14 +00:00
Tomáš Chvátal
cb3af738d6 - Version bump to 0.6.3:
* Fix diff mode
  * Various %if macro whitespacing issues squashing
  * Base pkgconf conversions from 13.2

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=38
2014-10-12 09:34:05 +00:00
Tomáš Chvátal
ab860da2b6 - Make us build again for Fedora
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=37
2014-10-12 09:27:33 +00:00
Tomáš Chvátal
b47111d625 - Version bump to 0.6.2:
* Fix iniline mode
  * Various small fixes and testsuite expansion

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=35
2014-09-22 13:22:24 +00:00