Skip to content

Releases: packit/specfile

0.28.3

23 May 11:15
557c33b
Compare
Choose a tag to compare
  • Fixed several minor issues such as processing seemingly commented-out macro definitions (e.g. #%global prerel rc1) and treating SourceLicense tag as a source. (#374, #376)
  • Made EVR, NEVR and NEVRA objects comparable. (#379)

0.28.2

08 Apr 12:10
904cb3b
Compare
Choose a tag to compare
  • Handling of trailing newlines in the macro defintions has been improved. (#361)

0.28.1

26 Mar 11:28
a14e688
Compare
Choose a tag to compare
  • We have fixed an issue in %prep section processing. For instance, if the %patches macro appeared there, it would have been converted to %patch es, causing failure when executing %prep later. (#356)

0.28.0

17 Mar 15:01
cdf06f2
Compare
Choose a tag to compare
  • A trailing newline is no longer added to spec files without one upon saving. (#353)

0.27.0

19 Jan 13:24
1789f9c
Compare
Choose a tag to compare
  • Improved handling of commented-out macro definitions and fixed related logic in Specfile.update_value(). (#338)

0.26.0

11 Dec 10:23
502994c
Compare
Choose a tag to compare
  • When accessing tags or macro definitions by name, specfile now takes validity into account when looking for the best match. For example if there are two instances of Version tag, one in the true and one in the false branch of a condition, Specfile.version will always access the one that is in the true branch. (#328)

0.25.1rc1

20 Nov 19:18
c9599ac
Compare
Choose a tag to compare
0.25.1rc1 Pre-release
Pre-release
  • Third pre-release for testing Packit support.

0.25.0

20 Nov 14:55
78f50b4
Compare
Choose a tag to compare
  • There is a new method, Specfile.update_version(), that allows updating spec file version even if it is a pre-release. (#317)

0.24.1rc2

14 Nov 12:35
3446e64
Compare
Choose a tag to compare
0.24.1rc2 Pre-release
Pre-release
  • Second pre-release for testing Packit support.

0.24.0

06 Nov 17:14
2efbd9c
Compare
Choose a tag to compare
  • 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)