Revisions of python-specfile
buildservice-autocommit
accepted
request 1141448
from
Dirk Mueller (dirkmueller)
(revision 41)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 40)
- update to 0.27.0: * Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`.
buildservice-autocommit
accepted
request 1135634
from
Dirk Mueller (dirkmueller)
(revision 39)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 38)
- 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. - There is a new method, Specfile.update_version(), that allows updating spec file version even if it is a pre-release. (#317) - Sources now have a valid property that indicates whether a source is valid in the current context, meaning it is not - reduce buildrequires to git-core - Update to version 0.18.0: - Update to version 0.17.0: heuristics as rpmdev-packager, meaning that the * Added Specfile.has_autorelease property to detect if a spec - Update to version 0.15.0: necessary, greatly improving performance in certain scenarios. * Fixed a bug that broke parsing in case spec file contained * Specfile no longer depends on rpm-py-installer, it now depends * Fixed infinite loop that occured when section options were * Fixed a bug in section parsing that caused sections to be - Update to version 0.13.0: the standard `copy()` and `deepcopy()` functions from `copy` * `Section.name` attribute has been renamed to a more fitting * `setup.cfg` now uses `license_files` instead of deprecated * Tags enclosed in conditional macro expansions are not ignored - Update to version 0.11.0 now be nested and combined together (with one exception -
buildservice-autocommit
accepted
request 1128302
from
Markéta Machová (mcalabkova)
(revision 37)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1128265
from
David Anes (david.anes)
(revision 36)
- 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)
buildservice-autocommit
accepted
request 1124208
from
Matej Cepl (mcepl)
(revision 35)
baserev update by copy to link target
Matej Cepl (mcepl)
committed
(revision 34)
- 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}
buildservice-autocommit
accepted
request 1121152
from
Markéta Machová (mcalabkova)
(revision 33)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1121136
from
David Anes (david.anes)
(revision 32)
- 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.
buildservice-autocommit
accepted
request 1118218
from
Markéta Machová (mcalabkova)
(revision 31)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1118208
from
David Anes (david.anes)
(revision 30)
- Update to 0.22.1: - Removed dependency on setuptools-scm-git-archive
buildservice-autocommit
accepted
request 1108838
from
Dirk Mueller (dirkmueller)
(revision 29)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 28)
- reduce buildrequires to git-core
Dirk Mueller (dirkmueller)
accepted
request 1108767
from
Martin Schreiner (mschreiner)
(revision 27)
- 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.
buildservice-autocommit
accepted
request 1099363
from
Steve Kowalik (StevenK)
(revision 26)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 25)
- 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.
buildservice-autocommit
accepted
request 1089806
from
Matej Cepl (mcepl)
(revision 24)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1089540
from
David Anes (david.anes)
(revision 23)
- Update to version 0.18.0: * Specfile library now handles multiple %changelog sections. (#230)
buildservice-autocommit
accepted
request 1086542
from
Matej Cepl (mcepl)
(revision 22)
baserev update by copy to link target
Displaying revisions 1 - 20 of 41