Accepting request 867421 from openSUSE:Tools

- Update to version 20210128:
  * Split out final comments in description
  * Make a special exception for short %p* snippets
  * Also split Conflict headers
  * Keep the old require sorting
  * Improve the performance of reorder_tags
  * Fix merge_comments
  * Do not split %if and section start
  * Support multiline copyrights (for Firefox)
  * Simplify how to calculcate the base_package
  * Split tag values of certain tags
  * Be careful with macros that appear between tags
  * Replace SPDX mapper with an advanced version
  * Fix merging empty sections
  * Allow before lines to commented tags
  * Keep comments close to the original line
  * Review some deltas in the test suites that are acceptable for now
  * Parse more into the description - basically everything for now
  * Fix Release tag
  * Add an empty line before each section
  * Map SPDX licenses
  * Fix more test cases
  * Adopt some test cases and fix some others
  * Reorder tags that are below each other
  * Fix whitespace
  * Little progress
  * Add test cases for spec-file cleaner (with current output)
  * Use perltidy like Cavil
  * Remove patch_license - old helper script for mass migration
  * Test case for issue 19

OBS-URL: https://build.opensuse.org/request/show/867421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=79
This commit is contained in:
Dominique Leuenberger 2021-03-12 12:30:38 +00:00 committed by Git OBS Bridge
commit 0034450a50
7 changed files with 53 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/openSUSE/obs-service-format_spec_file.git</param> <param name="url">https://github.com/openSUSE/obs-service-format_spec_file.git</param>
<param name="changesrevision">7eaf24ab80bb90ca8a57f86be09cb58e48d3f7d4</param></service></servicedata> <param name="changesrevision">5d082d1f5c2caa3991e732f7ddad300fc81278fa</param></service></servicedata>

View File

@ -1,6 +1,6 @@
Format: 1.0 Format: 1.0
Source: obs-service-format-spec-file Source: obs-service-format-spec-file
Version: 20191114 Version: 20210128
Binary: obs-service-format-spec-file Binary: obs-service-format-spec-file
Maintainer: Adrian Schroeter <adrian@suse.de> Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: all Architecture: all

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44dbb0d9761a6bdc3b60fc4ee34bb055f4caf962ae56ef311d78bc51ca348f0c
size 116235

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ee7562dc40c79f84dd99be2533c4412c81885727328ac786d27e51df924cf2d
size 1494540

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Thu Jan 28 10:06:54 UTC 2021 - coolo@suse.com
- Update to version 20210128:
* Split out final comments in description
* Make a special exception for short %p* snippets
* Also split Conflict headers
* Keep the old require sorting
* Improve the performance of reorder_tags
* Fix merge_comments
* Do not split %if and section start
* Support multiline copyrights (for Firefox)
* Simplify how to calculcate the base_package
* Split tag values of certain tags
* Be careful with macros that appear between tags
* Replace SPDX mapper with an advanced version
* Fix merging empty sections
* Allow before lines to commented tags
* Keep comments close to the original line
* Review some deltas in the test suites that are acceptable for now
* Parse more into the description - basically everything for now
* Fix Release tag
* Add an empty line before each section
* Map SPDX licenses
* Fix more test cases
* Adopt some test cases and fix some others
* Reorder tags that are below each other
* Fix whitespace
* Little progress
* Add test cases for spec-file cleaner (with current output)
* Use perltidy like Cavil
* Remove patch_license - old helper script for mass migration
* Test case for issue 19
* Only parse Provides in Header section
* Test case for issue 41
* Trim all trailing whitespace - including \r
* Fix copyright year to 2012 in the test cases
* Fetch licenses from JSON and remove + variants
* Fetch exceptions from JSON
* add some testcases
* prepare_spec handle the case where License/Group are in a if/else/endif
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 14 14:53:12 UTC 2019 - ro@suse.com Thu Nov 14 14:53:12 UTC 2019 - ro@suse.com

View File

@ -1,5 +1,5 @@
name: obs-service-format_spec_file name: obs-service-format_spec_file
version: 20191114 version: 20210128
mtime: 1573743088 mtime: 1611828367
commit: 246de69f80129b4b20fa4e421d594f22ed2aa52a commit: 5d082d1f5c2caa3991e732f7ddad300fc81278fa

View File

@ -1,7 +1,7 @@
# #
# spec file for package obs-service-format_spec_file # spec file for package obs-service-format_spec_file
# #
# Copyright (c) 2019 SUSE LLC. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: obs-service-format_spec_file Name: obs-service-format_spec_file
Version: 20191114 Version: 20210128
Release: 0 Release: 0
Summary: An OBS source service: reformats a spec file to SUSE standard Summary: An OBS source service: reformats a spec file to SUSE standard
License: GPL-2.0-only License: GPL-2.0-only
@ -47,7 +47,7 @@ spec file instead of creating a new one.
%make_install %make_install
%check %check
perl prepare_spec %{_topdir}/SOURCES/%{name}.spec make check
%files %files
%license COPYING %license COPYING