Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python3-specfile | Distribution: Fedora Project |
Version: 0.33.0 | Vendor: Fedora Project |
Release: 1.fc40 | Build date: Mon Dec 16 13:25:43 2024 |
Group: Unspecified | Build host: buildvm-ppc64le-05.iad2.fedoraproject.org |
Size: 573575 | Source RPM: python-specfile-0.33.0-1.fc40.src.rpm |
Packager: Fedora Project | |
Url: https://github.com/packit/specfile | |
Summary: A library for parsing and manipulating RPM spec files |
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.
MIT
* Mon Dec 16 2024 Packit <[email protected]> - 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 * Wed Nov 13 2024 Packit <[email protected]> - 0.32.6-1 - New minor release for testing in CBS Koji * Sat Oct 26 2024 Packit <[email protected]> - 0.32.5-1 - We have fixed our parser to take in account the deprecations introduced in Python 3.8 (#420) * Fri Oct 11 2024 Packit <[email protected]> - 0.32.4-1 - NEVR and NEVRA classes are now hashable (#416) * Mon Sep 30 2024 Packit <[email protected]> - 0.32.3-1 - specfile can now handle multi-line tag values (enclosed in a macro body, e.g. `%shrink`). (#412) - Resolves: rhbz#2299289 * Sun Sep 15 2024 Packit <[email protected]> - 0.32.2-1 - Explicitly invalidate the global parse hash when a SpecParser instance is created to prevent this issue. (#409) * Mon Jul 29 2024 Packit <[email protected]> - 0.32.1-1 - Fixed two issues related to condition parsing. (#405) * Mon Jul 22 2024 Packit <[email protected]> - 0.32.0-1 - It is now possible to bump a release in a manner similar to `rpmdev-bumpspec` using `Specfile.bump_release()` method. (#399) * Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 0.31.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 09 2024 Packit <[email protected]> - 0.31.0-1 - 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) - Resolves: rhbz#2294393 * Wed Jun 26 2024 Packit <[email protected]> - 0.30.0-1 - 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) * Mon Jun 17 2024 Packit <[email protected]> - 0.29.0-1 - Improved compatibility with RPM 4.20 (alpha version is currently in Fedora Rawhide). (#380) - Resolves: rhbz#2282962 * Sun Jun 09 2024 Python Maint <[email protected]> - 0.28.3-2 - Rebuilt for Python 3.13 * Thu May 23 2024 Packit <[email protected]> - 0.28.3-1 - 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) * Mon Apr 08 2024 Packit <[email protected]> - 0.28.2-1 - Handling of trailing newlines in the macro defintions has been improved. (#361) - Resolves: rhbz#2271583 * Tue Mar 26 2024 Packit <[email protected]> - 0.28.1-1 - 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) * Sun Mar 17 2024 Packit <[email protected]> - 0.28.0-1 - A trailing newline is no longer added to spec files without one upon saving. (#353) * Fri Jan 26 2024 Fedora Release Engineering <[email protected]> - 0.27.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Packit <[email protected]> - 0.27.0-1 - Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`. (#338) * Mon Nov 20 2023 Packit <[email protected]> - 0.25.0-1 - There is a new method, `Specfile.update_version()`, that allows updating spec file version even if it is a pre-release. (#317) * Mon Nov 06 2023 Packit <[email protected]> - 0.24.0-1 - Improved type annotations for `UserList` subclasses. (#299) - Macro definitions gained a new `commented_out` property indicating that a macro definition is commented out. Another new property, `comment_out_style`, determines if it is achieved by using a `%dnl` (discard next line) directive (e.g. `%dnl %global prerelease beta2`) or by replacing the starting `%` with `#` (e.g. `#global prerelease beta2`). (#298) * Mon Oct 30 2023 Packit <[email protected]> - 0.23.0-1 - 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) * Fri Oct 06 2023 Packit <[email protected]> - 0.22.1-1 - Removed dependency on setuptools-scm-git-archive. (#290) * Fri Sep 01 2023 Packit <[email protected]> - 0.22.0-1 - 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) * Fri Aug 11 2023 Nikola Forró <[email protected]> - 0.21.0-1 - `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) * Mon Jul 31 2023 Packit <[email protected]> - 0.20.2-1 - Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261) * Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 0.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 13 2023 Packit <[email protected]> - 0.20.0-1 - 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) * Wed Jun 28 2023 Python Maint <[email protected]> - 0.19.0-2 - Rebuilt for Python 3.12 * Thu Jun 22 2023 Packit <[email protected]> - 0.19.0-1 - Parsing has been optimized so that even spec files with hundreds of thousands of lines can be processed in reasonable time. (#240) * Fri May 26 2023 Packit <[email protected]> - 0.18.0-1 - Specfile library now handles multiple `%changelog` sections. (#230) * Thu May 11 2023 Packit <[email protected]> - 0.17.0-1 - 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) * Thu Apr 20 2023 Packit <[email protected]> - 0.16.0-1 - Added `Specfile.has_autorelease` property to detect if a spec file uses the `%autorelease` macro. (#221) * Fri Mar 10 2023 Packit <[email protected]> - 0.15.0-1 - Parsing the spec file by RPM is now performed only if really necessary, greatly improving performance in certain scenarios. (#212) - Checked that license is a valid SPDX license. * Thu Feb 23 2023 Packit <[email protected]> - 0.14.0-1 - Fixed a bug that broke parsing in case spec file contained conditionalized macro definitions or similar constructs. (#209) - Specfile no longer depends on rpm-py-installer, it now depends directly on rpm. (#207) * Mon Jan 30 2023 Packit <[email protected]> - 0.13.2-1 - Fixed infinite loop that occured when section options were followed by whitespace. (#197) * Mon Jan 23 2023 Packit <[email protected]> - 0.13.1-1 - Fixed a bug in section parsing that caused sections to be ignored when there were macro definitions spread across the spec file and not cumulated at the top. (#191) * Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jan 20 2023 Packit <[email protected]> - 0.13.0-1 - Added `Section.options` attribute for convenient manipulation of section options. (#183) - specfile now supports single-line sections where section content is represented by a macro starting with a newline. (#182) - Added `evr` argument to `Specfile.add_changelog_entry()`. This allows adding a changelog entry with an EVR value that's different from the current specfile's value. This makes it easier to reconstruct a specfile's `%changelog` based on another source using the higher level interface. (#181) * Fri Jan 06 2023 Packit <[email protected]> - 0.12.0-1 - All classes including `Specfile` itself can now be copied using the standard `copy()` and `deepcopy()` functions from `copy` module. (#176) - `Section.name` attribute has been renamed to a more fitting `Section.id`. (#167) - `setup.cfg` now uses `license_files` instead of deprecated `license_file`. (#162)
/usr/lib/python3.12/site-packages/specfile /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info/INSTALLER /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info/LICENSE /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info/METADATA /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info/WHEEL /usr/lib/python3.12/site-packages/specfile-0.33.0.dist-info/top_level.txt /usr/lib/python3.12/site-packages/specfile/__init__.py /usr/lib/python3.12/site-packages/specfile/__pycache__ /usr/lib/python3.12/site-packages/specfile/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/changelog.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/changelog.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/conditions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/conditions.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/constants.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/constants.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/context_management.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/context_management.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/exceptions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/exceptions.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/formatter.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/formatter.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/macro_definitions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/macro_definitions.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/macros.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/macros.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/options.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/options.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/prep.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/prep.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sections.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sections.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sourcelist.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sourcelist.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sources.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/sources.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/spec_parser.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/spec_parser.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/specfile.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/specfile.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/tags.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/tags.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/types.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/types.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/utils.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/utils.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/value_parser.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/specfile/__pycache__/value_parser.cpython-312.pyc /usr/lib/python3.12/site-packages/specfile/changelog.py /usr/lib/python3.12/site-packages/specfile/conditions.py /usr/lib/python3.12/site-packages/specfile/constants.py /usr/lib/python3.12/site-packages/specfile/context_management.py /usr/lib/python3.12/site-packages/specfile/exceptions.py /usr/lib/python3.12/site-packages/specfile/formatter.py /usr/lib/python3.12/site-packages/specfile/macro_definitions.py /usr/lib/python3.12/site-packages/specfile/macros.py /usr/lib/python3.12/site-packages/specfile/options.py /usr/lib/python3.12/site-packages/specfile/prep.py /usr/lib/python3.12/site-packages/specfile/py.typed /usr/lib/python3.12/site-packages/specfile/sections.py /usr/lib/python3.12/site-packages/specfile/sourcelist.py /usr/lib/python3.12/site-packages/specfile/sources.py /usr/lib/python3.12/site-packages/specfile/spec_parser.py /usr/lib/python3.12/site-packages/specfile/specfile.py /usr/lib/python3.12/site-packages/specfile/tags.py /usr/lib/python3.12/site-packages/specfile/types.py /usr/lib/python3.12/site-packages/specfile/utils.py /usr/lib/python3.12/site-packages/specfile/value_parser.py /usr/share/doc/python3-specfile /usr/share/doc/python3-specfile/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jan 9 02:54:44 2025