Skip to content

Releases: packit/specfile

0.34.2

18 Mar 07:23
875f03e
Compare
Choose a tag to compare
  • context_management: add a type stub override to fix typing. Type checkers like mypy and pyright can now correctly determine the types for .sources(), .sections(), and the other Specfile methods that return context managers. (#457)

0.34.1

07 Feb 14:31
192a081
Compare
Choose a tag to compare
  • Removed the usage of a walrus operator for Python 3.6 compatibility. (#450)

0.34.0

26 Jan 21:21
84d6f3b
Compare
Choose a tag to compare
  • Added support for detached (open)SUSE style changelogs (#444)

0.33.0

13 Dec 13:14
c0a98a8
Compare
Choose a tag to compare
  • There is a new convenience method Sections.get_or_create() that allows you to manipulate a section
    without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441)
    For example, this will work properly even on spec files without %changelog:

    with spec.sections() as sections:
        changelog = sections.get_or_create("changelog")
        changelog[:] = ["%autochangelog"]
    

0.32.6

13 Nov 13:12
442e2a9
Compare
Choose a tag to compare
  • New minor release for testing in CBS Koji

0.32.5

26 Oct 21:29
c38cfaa
Compare
Choose a tag to compare
  • We have fixed our parser to take in account the deprecations introduced in Python 3.8 (#420)

0.32.4

11 Oct 11:01
4ab4336
Compare
Choose a tag to compare
  • NEVR and NEVRA classes are now hashable (#416)

0.32.3

27 Sep 14:20
c2be029
Compare
Choose a tag to compare
  • specfile can now handle multi-line tag values (enclosed in a macro body, e.g. %shrink). (#412)

0.32.2

15 Sep 20:54
514fbde
Compare
Choose a tag to compare
  • Explicitly invalidate the global parse hash when a SpecParser instance is created to prevent this issue. (#409)

0.32.1

29 Jul 15:20
8aac26d
Compare
Choose a tag to compare
  • Fixed two issues related to condition parsing. (#405)