ELBA-2024-19806

ELBA-2024-19806 - python-specfile Bug Fix update

Type:BUG
Severity:NA
Release Date:2024-03-27

Description


[0.28.0-1]
- A trailing newline is no longer added to spec files without one upon saving. (#353)

[0.27.0-1]
- Improved handling of commented-out macro definitions and fixed related logic in Specfile.update_value(). (#338)

[0.25.0-1]
- There is a new method, Specfile.update_version(), that allows updating spec file version even if it is a pre-release. (#317)

[0.24.0-1]
- Improved type annotations for UserList subclasses. (#299)
- Macro definitions gained a new commented_out property indicating that a macro definition is commented out. Another new property, comment_out_style, determines if it is achieved by using a %dnl (discard next line) directive (e.g. %dnl %global prerelease beta2) or by replacing the starting % with # (e.g. #global prerelease beta2). (#298)

[0.23.0-1]
- Sources now have a valid property that indicates whether a source is valid in the current context, meaning it is not present in a false branch of any condition. (#295)

[0.22.1-1]
- Removed dependency on setuptools-scm-git-archive. (#290)

[0.21.0-1]
- specfile no longer tracebacks when some sources are missing and can't be _emulated_. In such case the spec file is parsed without them at the cost of %setup and %patch macros potentially expanding differently than with the sources present. (#271)
- Specfile's license in RPM spec file is now confirmed to be SPDX compatible. (#269)

[0.20.2-1]
- Fixed Packit config to work properly with propose-downstream and pull-from-upstream jobs. (#261)

[0.7.0-1]
- It is now possible to filter changelog entries by specifying lower bound EVR, upper bound EVR or both. (#104)
- Added support for filenames specified in source URL fragments, for example: https://example.com/foo/1.0/download.cgi#/python-specfile-0.28.0.tar.gz (#100)

[0.6.0-1]
- Switched to our own implementation of working with %changelog timestamps and removed dependency on arrow (#88)
- Fixed requires of EPEL 8 rpm (#86)

[0.5.1-1]
- Added new %conf section (#74)
- Switched to rpm-py-installer (#75)
- Fixed detecting extended timestamp format in %changelog (#77, #81)

[0.5.0-1]
- Strict optional typing is now enforced (#68)
- Fixed deduplication of tag names (#69)
- Sources and patches can now be removed by number (#69)
- Number of digits in a source number is now expressed the same way as packit does it (#69)
- Empty lines are now compressed when deleting tags (#69)
- Added convenience property for getting texts of tag comments (#69)
- Added convenience method for adding a patch (#69)

[0.4.0-1]
- Added convenience properties for most used tags (#63)
- Hardened linting by ignoring only specific mypy errors (#64)
- Fixed list of valid tag names and ensured newly added tags are not part of a condition block (#66)
- Initial patch number and its default number of digits are now honored (#66)
- Fixed a bug in %prep macro stringification (#67)

[0.3.0-1]
- Made Sources a MutableSequence (#36)
- Started using consistent terminology for source numbers and added the option to insert a source with a specific number (#47)
- Added support for implicit source numbering (#48)
- Documented sources and %prep macros in README (#49)
- Implemented high-level manipulation of version and release (#54)
- Added support for [0.3.0-1.fc35
- local build (#56)
- Added remote property to sources and enabled addition of Sources (#59)
- Implemented mid-level manipulation of %prep section, including modification of %prep macros (#37, #52)

[0.2.0-1]
- New upstream release 0.2.0

[0.1.1-1]
- New upstream release 0.1.1

[0.1.0-1]
- Initial package




Updated Packages


Release/ArchitectureFilenameMD5sumSuperseded By AdvisoryChannel Label
Oracle Linux 8 (x86_64) python-specfile-0.28.0-1.el8.src.rpmde56abbeb92a78b8ab099b919e63ff4a-ol8_x86_64_developer_EPEL
python3-specfile-0.28.0-1.el8.noarch.rpm0a1ec53a8b2fe51ebb3f0ce7c4b9888b-ol8_x86_64_developer_EPEL



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete