Recommended update for obs-service-format_spec_file
| Announcement ID: | SUSE-RU-2022:0147-1 |
|---|---|
| Rating: | moderate |
| References: | |
| Affected Products: |
|
An update that contains one feature can now be installed.
Description:
This update for obs-service-format_spec_file fixes the following issues:
obs-service-format_spec_file:
Update obs-service-format_spec_file from version 20191114 to version 20211115:
- Sync license identifiers from SPDX (spdx.org). (jsc#SLE-18915)
- Be more wary on usage of macros in Tags
- Do not Cache Source. but only Source[0-9]
- Stop pretending we can guess what the spec file is for
- Avoid deep recursion in merge_comments
- Allow to override date
- 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 calculate 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
- Reorder tags that are below each other
- Fix whitespace
- Add test cases for spec-file cleaner (with current output)
- Use perltidy like Cavil
- Remove patch_license - old helper script for mass migration
- Only parse Provides in Header section
- 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
- prepare_spec handle the case where License/Group are in a if/else/endif
rpmlint:
- Rebuild rpmlint with the new obs-service-format_spec_file.
rpmlint-mini:
- BuildRequires
python-rpm-macrossince thepy3_vermacro is now considered obsolete inpython3-base.
Patch Instructions:
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
-
openSUSE Leap 15.3
zypper in -t patch SUSE-2022-147=1 -
Development Tools Module 15-SP3
zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP3-2022-147=1
Package List:
-
openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64 i586)
- rpmlint-mini-debuginfo-1.10-150300.18.6.8
- rpmlint-mini-debugsource-1.10-150300.18.6.8
- rpmlint-mini-1.10-150300.18.6.8
-
Development Tools Module 15-SP3 (noarch)
- rpmlint-1.10-7.32.3
-
Development Tools Module 15-SP3 (aarch64 ppc64le s390x x86_64)
- rpmlint-mini-debuginfo-1.10-150300.18.6.8
- rpmlint-mini-debugsource-1.10-150300.18.6.8
- rpmlint-mini-1.10-150300.18.6.8