| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python311-specfile | Distribution: openSUSE Tumbleweed |
| Version: 0.39.1 | Vendor: openSUSE |
| Release: 1.2 | Build date: Wed Feb 25 12:16:06 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 647924 | Source RPM: python-specfile-0.39.1-1.2.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/packit/specfile | |
| Summary: A library for parsing and manipulating RPM spec files | |
A library for parsing and manipulating RPM spec files.
MIT
* Wed Feb 25 2026 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.39.1
* Fixed whitespace padding of day of month in changelog entries. (#511)
- from version 0.39.0
* Changelog entries that have incorrect padding set for a day of
a month are now fixed if possible or ignored. (#508)
* Tue Jan 13 2026 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.38.0
* 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)
* Tue Nov 04 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.37.1
* We have solved a FutureWarning in our codebase. (#485)
* Tue Sep 23 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.37.0
* Added support for Elbrus E2K CPU architectures. (#484)
* Mon Jun 02 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.36.0
* 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 30 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.35.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)
* Wed May 14 2025 Nico Krapp <nico.krapp@suse.com>
- Update to 0.35.0
* 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)
* Sat Mar 29 2025 Dirk Müller <dmueller@suse.com>
- update to 0.34.2:
* 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.
* Fri Feb 14 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.34.1
* Removed the usage of a walrus operator for Python 3.6 compatibility.
- Use Python 3.11 on SLE-15 by default
* Sat Feb 01 2025 Matej Cepl <mcepl@cepl.eu>
- Update to 0.34.0:
- Added support for detached (open)SUSE style changelogs
- Update to 0.33.0:
- 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"]
* Thu Nov 14 2024 Joshua Smith <smolsheep@opensuse.org>
- Update to 0.32.6:
* New minor release for testing in CBS Koji
* fix: assert existence of stderr
* Tue Oct 29 2024 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.32.5
* We have fixed our parser to take in account
the deprecations introduced in Python 3.8
* Wed Oct 16 2024 Joshua Smith <smolsheep@opensuse.org>
- Update to 0.32.4:
* NEVR and NEVRA classes are now hashable
* Mon Oct 07 2024 Dirk Müller <dmueller@suse.com>
- update to 0.32.3:
* specfile can now handle multi-line tag values (enclosed in a
macro body, e.g. `%shrink`).
* Fri Sep 20 2024 Joshua Smith <smolsheep@opensuse.org>
- Update to 0.32.2:
* Explicitly invalidate the global parse hash when a SpecParser
instance is created to prevent this issue.
* Mon Jul 29 2024 Joshua Smith <smolsheep@opensuse.org>
- Update to 0.32.1:
* Fixed two issues related to condition parsing.
* Mon Jul 22 2024 Joshua Smith <smolsheep@opensuse.org>
- Add typing_extensions to Requires as well -- Fix rpmlint error
- Update to 0.32.0:
* It is now possible to bump a release in a manner similar to
rpmdev-bumpspec using Specfile.bump_release() method.
* Fri Jul 05 2024 Joshua Smith <smolsheep@opensuse.org>
- Add typing_extensions to BuildRequires
- Remove typing_extensions from Requires -- gh#packit/specfile#179
- Update to 0.31.0:
* Value of a Tag no longer includes trailing whitespace (if any)
* 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"
- Updates from 0.30.0:
* Fixed an exception that occured when accessing the
Specfile.has_autochangelog property while having unparseable
lines (e.g. lines ending with unescaped %) in %changelog
* Mon Jun 10 2024 Dirk Müller <dmueller@suse.com>
- update to 0.29.0:
* Improved compatibility with RPM 4.20 (alpha version is
currently in Fedora Rawhide).
* Fixed several minor issues such as processing seemingly
commented-out macro definitions (e.g. `#%global prerel rc1`)
and treating `SourceLicense` tag as a source.
* Made `EVR`, `NEVR` and `NEVRA` objects comparable.
* Handling of trailing newlines in the macro defintions has
been improved.
* 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.
* A trailing newline is no longer added to spec files without
one upon saving.
* Thu Jan 25 2024 Dirk Müller <dmueller@suse.com>
- update to 0.27.0:
* Improved handling of commented-out macro definitions and
fixed related logic in `Specfile.update_value()`.
* Fri Dec 29 2023 Dirk Müller <dmueller@suse.com>
- update to 0.26.0:
* When accessing tags or macro definitions by name, specfile
now takes validity into account when looking for the best
match. For example if there are two instances of `Version`
tag, one in the true and one in the false branch of a
condition, `Specfile.version` will always access the one that
is in the true branch. (#328)
* Third pre-release for testing Packit support.
* Thu Nov 23 2023 David Anes <david.anes@suse.com>
- Update to 0.25.0:
- There is a new method, Specfile.update_version(), that allows
updating spec file version even if it is a pre-release. (#317)
* Wed Nov 08 2023 Matej Cepl <mcepl@suse.com>
- Update to 0.24.0:
- 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)
- Fix a bad Requires: %{python_module typing_extensions}
* Mon Oct 30 2023 David Anes <david.anes@suse.com>
- Update to 0.23.0:
- 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.
* Tue Oct 17 2023 David Anes <david.anes@suse.com>
- Update to 0.22.1:
- Removed dependency on setuptools-scm-git-archive
* Mon Sep 04 2023 Dirk Müller <dmueller@suse.com>
- reduce buildrequires to git-core
* Sun Sep 03 2023 Martin Schreiner <martin.schreiner@suse.com>
- Update to 0.22.0:
- Changes from 0.22.0:
* 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.
- Changes from 0.21.0:
* 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.
* Specfile's license in RPM spec file is now confirmed to be SPDX
compatible.
- Blacklist a new broken test on spec file: test_parse_texlive_spec.
- Add a new Python module dependency: typing_extensions.
- Apply spec-cleaner.
* Wed Jul 19 2023 Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.20.0:
* 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)
* Parsing has been optimized so that even spec files with hundreds of
thousands of lines can be processed in reasonable time. (#240)
- Drop setuptools_scm_git_archive BuildRequires.
- Don't need to skip Python 3.8.
* Mon May 29 2023 David Anes <david.anes@suse.com>
- Update to version 0.18.0:
* Specfile library now handles multiple %changelog sections. (#230)
* Thu May 11 2023 David Anes <david.anes@suse.com>
- Update to version 0.17.0:
* 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)
* Tue Apr 25 2023 David Anes <david.anes@suse.com>
- Update to version 0.16.0:
* Added Specfile.has_autorelease property to detect if a spec
file uses the %autorelease macro. (#221)
* Mon Mar 13 2023 David Anes <david.anes@suse.com>
- Update to version 0.15.0:
* 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.
* Sat Feb 25 2023 David Anes <david.anes@suse.com>
- Update to version 0.14.0:
* Fixed a bug that broke parsing in case spec file contained
conditionalized macro definitions or similar constructs
* Specfile no longer depends on rpm-py-installer, it now depends
directly on rpm.
* Mon Feb 06 2023 David Anes <david.anes@suse.com>
- Update to version 0.13.2:
* Fixed infinite loop that occured when section options were
followed by whitespace.
* Mon Jan 23 2023 David Anes <david.anes@suse.com>
- Update to version 0.13.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.
- Update to version 0.13.0:
* Added Section.options attribute for convenient manipulation of
section options.
* specfile now supports single-line sections where section content
is represented by a macro starting with a newline.
* 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.
* Thu Jan 12 2023 David Anes <david.anes@suse.com>
- Remove patch (already upstream):
* python-specfile-improve-setup-cfg.patch
- Update to version 0.12.0:
* All classes including `Specfile` itself can now be copied using
the standard `copy()` and `deepcopy()` functions from `copy`
module.
* `Section.name` attribute has been renamed to a more fitting
`Section.id`.
* `setup.cfg` now uses `license_files` instead of deprecated
`license_file`.
/usr/lib/python3.11/site-packages/specfile /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/INSTALLER /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/METADATA /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/RECORD /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/REQUESTED /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/WHEEL /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/licenses /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/licenses/LICENSE /usr/lib/python3.11/site-packages/specfile-0.39.1.dist-info/top_level.txt /usr/lib/python3.11/site-packages/specfile/__init__.py /usr/lib/python3.11/site-packages/specfile/__pycache__ /usr/lib/python3.11/site-packages/specfile/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/changelog.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/changelog.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/conditions.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/conditions.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/constants.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/constants.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/context_management.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/context_management.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/exceptions.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/exceptions.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/formatter.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/formatter.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/macro_definitions.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/macro_definitions.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/macros.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/macros.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/options.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/options.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/prep.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/prep.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sections.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sections.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sourcelist.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sourcelist.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sources.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/sources.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/spec_parser.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/spec_parser.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/specfile.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/specfile.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/tags.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/tags.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/types.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/types.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/utils.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/utils.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/value_parser.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/specfile/__pycache__/value_parser.cpython-311.pyc /usr/lib/python3.11/site-packages/specfile/changelog.py /usr/lib/python3.11/site-packages/specfile/conditions.py /usr/lib/python3.11/site-packages/specfile/constants.py /usr/lib/python3.11/site-packages/specfile/context_management.py /usr/lib/python3.11/site-packages/specfile/context_management.pyi /usr/lib/python3.11/site-packages/specfile/exceptions.py /usr/lib/python3.11/site-packages/specfile/formatter.py /usr/lib/python3.11/site-packages/specfile/macro_definitions.py /usr/lib/python3.11/site-packages/specfile/macros.py /usr/lib/python3.11/site-packages/specfile/options.py /usr/lib/python3.11/site-packages/specfile/prep.py /usr/lib/python3.11/site-packages/specfile/py.typed /usr/lib/python3.11/site-packages/specfile/sections.py /usr/lib/python3.11/site-packages/specfile/sourcelist.py /usr/lib/python3.11/site-packages/specfile/sources.py /usr/lib/python3.11/site-packages/specfile/spec_parser.py /usr/lib/python3.11/site-packages/specfile/specfile.py /usr/lib/python3.11/site-packages/specfile/tags.py /usr/lib/python3.11/site-packages/specfile/types.py /usr/lib/python3.11/site-packages/specfile/utils.py /usr/lib/python3.11/site-packages/specfile/value_parser.py /usr/share/doc/packages/python311-specfile /usr/share/doc/packages/python311-specfile/CHANGELOG.md /usr/share/doc/packages/python311-specfile/README.md /usr/share/licenses/python311-specfile /usr/share/licenses/python311-specfile/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Mar 5 22:51:13 2026