Skip to content

Releases: packit/specfile

0.31.0

04 Jul 14:25
8aba712
Compare
Choose a tag to compare
  • Value of a Tag no longer includes trailing whitespace (if any). (#393)
  • specfile now tries to expand macros before processing conditions to be able to resolve conditional expressions defined by macros, for example OpenSUSE Tumbleweed defines %ifpython3 macro as %if "%{python_flavor}" == "python3". (#394)

0.30.0

26 Jun 12:19
85a0b40
Compare
Choose a tag to compare
  • Fixed an exception that occured when accessing the Specfile.has_autochangelog property while having unparseable lines (e.g. lines ending with unescaped %) in %changelog. (#387)

0.29.0

06 Jun 13:49
0ba5f9f
Compare
Choose a tag to compare
  • Improved compatibility with RPM 4.20 (alpha version is currently in Fedora Rawhide). (#380)

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.