[ All 3 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ]
×

Project python-specfile-0.37.1-1.el9

Name python-specfile
Epoch 0
Version 0.37.1
Release 1.el9
Website/URL https://github.com/packit/specfile
License MIT
Build Time 2025-11-01 13:19:15
Build Host builder-arm64-1.inferitos.ru
Summary A library for parsing and manipulating RPM spec files
Repositories Extras
Description Python library for parsing and manipulating RPM spec files. Main focus is on modifying existing spec files, any change should result in a minimal diff.
Errata
× Full screenshot
Packages link
Package Summary SHA-256 checksum
noarch
python3-specfile-0.37.1-1.el9.noarch A library for parsing and manipulating RPM spec files e24531351b0169eeb6b377ac21a1198def0849f857778d2499b769da27bb6eac download
src
python-specfile-0.37.1-1.el9.src A library for parsing and manipulating RPM spec files 66859550a2f6ab9ea2d513e037a8f10edec5261c41dc80414febf327901f91c3 download
Changelog link
* Sat Nov 01 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.37.1-1
- Rebuilt for MSVSphere

* Fri Oct 03 2025 Packit <hello@packit.dev> - 0.37.1-1
- We have solved a FutureWarning in our codebase. (#485)

* Fri Sep 05 2025 Packit <hello@packit.dev> - 0.37.0-1
- Added support for Elbrus E2K CPU architectures. (#484)

* Fri May 30 2025 Packit <hello@packit.dev> - 0.36.0-1
- 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)

* Fri May 16 2025 Packit <hello@packit.dev> - 0.35.1-1
- We have fixed a bug that caused changes to get lost when a spec file passed as a path was replaced or deleted. (#470)

* Sun Apr 13 2025 Packit <hello@packit.dev> - 0.35.0-1
- 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)

* Tue Mar 18 2025 Packit <hello@packit.dev> - 0.34.2-1
- 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)

* Fri Feb 07 2025 Packit <hello@packit.dev> - 0.34.1-1
- Removed the usage of a walrus operator for Python 3.6 compatibility. (#450)

* Mon Jan 27 2025 Packit <hello@packit.dev> - 0.34.0-1
- Added support for detached (open)SUSE style changelogs (#444)
- Resolves: rhbz#2342178

* Mon Dec 16 2024 Packit <hello@packit.dev> - 0.33.0-1
- 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"]
  ```
- Resolves: rhbz#2332288