Skip to content

Releases: packit/specfile

0.40.1

13 Mar 15:35
1985392

Choose a tag to compare

  • Fixed issues related to introduced sanitization (#523, #524, #525).

0.40.0

11 Mar 13:02
c0061d8

Choose a tag to compare

  • Specfile() has a new sanitize option that enables best effort sanitization of potentially dangerous constructs such as shell expansions and unsafe Lua macros before they are passed to RPM for parsing. (#519)
  • Fixed incorrect parsing of nested macros. (#522)

0.39.1

14 Feb 09:20
d96a70a

Choose a tag to compare

  • Fixed whitespace padding of day of month in changelog entries. (#511)

0.39.0

12 Feb 14:47
705ce1d

Choose a tag to compare

  • Changelog entries that have incorrect padding set for a day of a month are now fixed if possible or ignored. (#508)

0.38.0

08 Jan 13:44
a07560d

Choose a tag to compare

  • A bug leading to incorrect EVR expansion has been fixed. (#492)
  • Prevented side-effects during condition evaluation that could occur when expanding macros that manipulate other macros, leading to misinterpreted validity of condition branches. (#499)

0.37.1

03 Oct 12:46
21a45ba

Choose a tag to compare

  • We have solved a FutureWarning in our codebase. (#485)

0.37.0

05 Sep 11:35
aafca33

Choose a tag to compare

  • Added support for Elbrus E2K CPU architectures. (#484)

0.36.0

30 May 13:09
2420653

Choose a tag to compare

  • We have fixed a bug that caused specfile to traceback when section names with conditional macro expansions containing spaces were present in the spec file. (#476)

0.35.1

16 May 10:10
8156990

Choose a tag to compare

  • We have fixed a bug that caused changes to get lost when a spec file passed as a path was replaced or deleted. (#470)

0.35.0

13 Apr 19:43
e059c30

Choose a tag to compare

  • Added support for creating Specfile instances from file objects and strings. (#458)
  • The context_management type stubs now use ParamSpec from typing_extensions to support Python < 3.10. (#466)