Commit Graph

44 Commits

Author SHA256 Message Date
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
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
20b8106003 - Version bump to 0.7.4:
* Use license digger from format_spec_file
  * Provide optional subpkg providing format_spec_file OBS bindings

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=61
2015-09-17 12:49:06 +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
1f9c5231fa Accepting request 311265 from home:BenniBrunner:branches:openSUSE:Tools
Fixed bugreference

OBS-URL: https://build.opensuse.org/request/show/311265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=53
2015-06-09 10:21:58 +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
Tomáš Chvátal
c308905d39 - Require py3-setuptools
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=33
2014-09-03 17:40:52 +00:00
Tomáš Chvátal
0905072cdc - py3 include arpgarse itself.
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=31
2014-08-29 10:46:30 +00:00
Tomáš Chvátal
8887b4137a - Version bump to 0.6.1:
* Fixup release with working spec-cleaner script executable

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=30
2014-08-13 12:29:13 +00:00
Tomáš Chvátal
5a94606b33 - Version bump to 0.6.0:
* Use setuptools and nosetests for building&testing
  * Various bugfixes as found by java icedtea cleaning

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=29
2014-08-13 12:10:32 +00:00
Tomáš Chvátal
90f5084f1a - Version bump to 0.5.9:
* Fix parsing %endif #comment
  * Fix parsing %if rigth after %clean section

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=27
2014-07-08 11:33:23 +00:00
Tomáš Chvátal
9de851e89b - Version bump to 0.5.8:
* brown paperbag release fixing tests on py3.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=25
2014-06-23 15:02:26 +00:00
Tomáš Chvátal
c5ea47f25c - Version bump to 0.5.7:
* Updates about smp_mflags parsing
  * makeinstall macro replacing improvements.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=24
2014-06-23 11:25:49 +00:00
Tomáš Chvátal
4b94edf49c - Version bump to 0.5.6:
* Few minor fixes as reported on github.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=22
2014-05-10 11:29:49 +00:00
Tomáš Chvátal
09a8dbd7d5 - Version bump to 0.5.5:
* Few minor fixes as reported on github tracker.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=20
2014-04-04 13:01:11 +00:00
Tomáš Chvátal
14a3d618da - Version bump to 0.5.4:
* plenty of bugfixes regarding to spec parsing as they were
    reported on github
  * add more exceptions on adding curly brackets
  * update licenses list to the latest.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=18
2014-02-03 12:45:43 +00:00
Tomáš Chvátal
c104105c71 - Add comment on py3 conditional and depend on python-argparse
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=16
2014-01-14 07:13:50 +00:00
Tomáš Chvátal
f309e8c56a - Version bump to 0.5.3:
+ Various parser fixes and extended testsuite coverage
    thanks to reports from packagers team.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=15
2014-01-09 17:36:25 +00:00
Tomáš Chvátal
e41b7ad6bf - Version bump to 0.5.2:
+ Fixes issues found while parsing libreoffice
  + Fixes issues 4 and 3 on github

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=14
2013-12-04 12:33:29 +00:00
Tomáš Chvátal
19e37d0f6b - Version bump to 0.5.1:
+ Fixes the conditionals placement and makes all tests pass.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=12
2013-12-03 11:37:02 +00:00
Tomáš Chvátal
9dd6ba74fb - Version bump to 0.4.2:
+ fix inlining
  + fix service shell script
  + rename obs service to different from format_spec_file

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=10
2013-11-29 11:28:09 +00:00
Tomáš Chvátal
a3570f57a7 - Fix build on fedora as they bytecompile the py
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=9
2013-11-25 12:15:37 +00:00
Tomáš Chvátal
3901e11ad6 - Version bump to 0.4.1
+ Fixes to actually be able to parse own specfile.

- Version bump to 0.4.0:
  + Add extensive testsuite
  + Split the code for readability purposes
  + Mimic all the functionality from prep_spec
  + Provide and obsolete obs-service-format_spec_file

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=8
2013-11-25 10:21:34 +00:00
fcaa59cf55 Accepting request 110547 from home:saschpe:branches:openSUSE:Tools
- Set license to SPDX style (BSD-3-Clause)

OBS-URL: https://build.opensuse.org/request/show/110547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=6
2012-03-23 07:48:29 +00:00
2af51ea2c2 Accepting request 81885 from home:prusnak:branches:openSUSE:Tools
- synchronize obs and git changes

OBS-URL: https://build.opensuse.org/request/show/81885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=5
2011-09-15 13:31:32 +00:00
60c3b5fe85 Accepting request 76256 from home:yecril71pl:branches:openSUSE:Tools
add usage string (the default answer ‘spec-cleaner [options]’ is incorrect)

OBS-URL: https://build.opensuse.org/request/show/76256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=4
2011-07-18 06:20:28 +00:00
7189ad629c Accepting request 69282 from home:vuntz
Update to 0.2

OBS-URL: https://build.opensuse.org/request/show/69282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=3
2011-05-03 19:47:10 +00:00
f187597dc1 Accepting request 54864 from home:prusnak:branches:openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/54864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=2
2010-12-07 03:50:54 +00:00
1403f7b963 Accepting request 49565 from home:vuntz
OBS-URL: https://build.opensuse.org/request/show/49565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=1
2010-10-12 13:33:30 +00:00