An OBS source service: reformats a spec file to SUSE standard.
This is a source service for openSUSE Build Service.
This source service is formating the spec file to SUSE standard. The rational
behind is to make it easier to review spec files from unknown packagers.
This should be used in "trylocal" mode, so that osc is adapting the existing
spec file instead of creating a new one.
- Developed at openSUSE:Tools
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:zSystems/obs-service-format_spec_file && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000709 709 Bytes | |
_servicedata | 0000000258 258 Bytes | |
debian.dsc | 0000000225 225 Bytes | |
obs-service-format_spec_file-20210128.obscpio | 0001494540 1.43 MB | |
obs-service-format_spec_file.changes | 0000016393 16 KB | |
obs-service-format_spec_file.obsinfo | 0000000121 121 Bytes | |
obs-service-format_spec_file.spec | 0000001649 1.61 KB |
Revision 79 (latest revision is 86)
Dominique Leuenberger (dimstar_suse)
accepted
request 867421
from
Stephan Kulow (coolo)
(revision 79)
- 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
Comments 0