Skip to content

Releases: packit/specfile

0.23.0

30 Oct 09:12
0e110df
Compare
Choose a tag to compare
  • 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

06 Oct 13:07
0af08c9
Compare
Choose a tag to compare
  • Removed dependency on setuptools-scm-git-archive. (#290)

0.22.0

01 Sep 13:35
e49e5e3
Compare
Choose a tag to compare
  • Macro definitions and tags gained a new valid attribute. A macro definition/tag is considered valid if it doesn't appear in a false branch of any condition appearing in the spec file. (#276)

0.21.0

11 Aug 10:13
56360c0
Compare
Choose a tag to compare
  • 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

31 Jul 13:12
4486a88
Compare
Choose a tag to compare
  • Fixed Packit config to work properly with propose-downstream and pull-from-upstream jobs. (#261)

0.20.1

30 Jul 13:03
799a1a2
Compare
Choose a tag to compare
  • specfile now once again supports EPEL 8 and Python 3.6. (#256)

0.20.0

13 Jul 15:25
8aae0b1
Compare
Choose a tag to compare
  • Fixed infinite loop when removing macros with % in the name. (#244)
  • Added a possibility to undefine system macros by setting a macro value to None in the macros argument of the Specfile constructor. (#244)
  • Fixed a bug in processing options of %prep macros. For instance, when a quoted string appeared inside an expression expansion, it could lead to improper parsing, rendering the spec file invalid after accessing the options. (#253)

0.19.0

22 Jun 13:02
bad19f0
Compare
Choose a tag to compare
  • Parsing has been optimized so that even spec files with hundreds of thousands of lines can be processed in reasonable time. (#240)

0.18.0

26 May 09:50
e5615bf
Compare
Choose a tag to compare
  • Specfile library now handles multiple %changelog sections. (#230)

0.17.0

11 May 09:43
bc4fbbd
Compare
Choose a tag to compare
  • Added a new guess_packager() function that uses similar heuristics as rpmdev-packager, meaning that the Specfile.add_changelog_entry() method no longer requires rpmdev-packager to guess the changelog entry author. (#220)
  • The Specfile.add_changelog_entry() method now uses dates based on UTC instead of the local timezone. (#223)