ac649af58f
Accepting request 1281311 from home:glaubitz:branches:devel:languages:python
Nico Krapp2025-05-30 09:20:44 +00:00
5c5e7d0227
Accepting request 1277416 from devel:languages:python
Ana Guerrero2025-05-14 15:02:10 +00:00
b4533ce5fe
Accepting request 1277411 from home:nkrapp:branches:devel:languages:python
Markéta Machová2025-05-14 12:24:42 +00:00
240855f18d
Accepting request 1265374 from devel:languages:python
Ana Guerrero2025-03-31 09:42:28 +00:00
dab4fa3069
- 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.
Dirk Mueller2025-03-29 09:46:07 +00:00
789f35a1c2
Accepting request 1245856 from devel:languages:python
Ana Guerrero2025-02-14 18:23:01 +00:00
c36caba5a9
Accepting request 1245843 from home:glaubitz:branches:devel:languages:python
Dirk Mueller2025-02-14 10:42:42 +00:00
f03c10c22b
Accepting request 1242154 from devel:languages:python
Ana Guerrero2025-02-03 20:44:00 +00:00
86d4bf8d95
- 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"]
Matej Cepl2025-02-01 22:19:13 +00:00
55059399e4
Accepting request 1224079 from devel:languages:python
Ana Guerrero2024-11-14 15:09:39 +00:00
91fa7c1a33
Accepting request 1224076 from home:smolsheep:upgrades
Matej Cepl2024-11-14 07:14:13 +00:00
f4daf5cf7a
Accepting request 1218992 from home:glaubitz:branches:devel:languages:python
Dirk Mueller2024-10-29 17:05:56 +00:00
17bf543e1d
Accepting request 1208564 from devel:languages:python
Ana Guerrero2024-10-17 16:40:33 +00:00
e42ad376e8
Accepting request 1208293 from home:smolsheep:upgrades
Matej Cepl2024-10-17 08:30:43 +00:00
25e3c64998
Accepting request 1206169 from devel:languages:python
Ana Guerrero2024-10-08 15:24:07 +00:00
0f544303b7
- update to 0.32.3: * specfile can now handle multi-line tag values (enclosed in a macro body, e.g. %shrink).
Dirk Mueller2024-10-07 20:39:42 +00:00
dcdb361867
Accepting request 1202277 from devel:languages:python
Ana Guerrero2024-09-22 09:06:18 +00:00
641c15d225
Accepting request 1202273 from home:smolsheep:upgrades
Matej Cepl2024-09-20 22:34:57 +00:00
d5969f3cca
Accepting request 1188958 from home:smolsheep:upgrades
Matej Cepl2024-07-22 18:47:37 +00:00
5bff89a95e
Accepting request 1186413 from devel:languages:python
Ana Guerrero2024-07-09 18:06:02 +00:00
67d73e8e63
Accepting request 1185798 from home:smolsheep:upgrades
Dirk Mueller2024-07-09 13:28:14 +00:00
c5b9602d3f
Accepting request 1179657 from devel:languages:python
Ana Guerrero2024-06-10 15:38:04 +00:00
a6af711eff
- 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.
Dirk Mueller2024-06-10 08:54:47 +00:00
1628af1e0f
Accepting request 1141448 from devel:languages:python
Ana Guerrero2024-01-25 17:41:37 +00:00
68e070598f
- update to 0.27.0: * Improved handling of commented-out macro definitions and fixed related logic in Specfile.update_value().
Dirk Mueller2024-01-25 08:27:50 +00:00
d6be41ed1c
- 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 -
Dirk Mueller2023-12-29 10:18:36 +00:00
6b327ec67d
Accepting request 1128302 from devel:languages:python
Ana Guerrero2023-11-23 20:42:07 +00:00
63b9a24756
Accepting request 1128265 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-11-23 10:27:52 +00:00
2bf3831884
Accepting request 1124208 from devel:languages:python
Ana Guerrero2023-11-08 21:18:47 +00:00
15cc0915a6
- 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}
Matej Cepl2023-11-08 10:17:40 +00:00
2603b243a0
Accepting request 1121152 from devel:languages:python
Ana Guerrero2023-10-30 21:11:09 +00:00
cc743a3f5e
Accepting request 1121136 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-10-30 10:57:41 +00:00
74eca4552a
Accepting request 1118218 from devel:languages:python
Ana Guerrero2023-10-17 18:24:52 +00:00
d33a5295be
Accepting request 1118208 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-10-17 08:05:14 +00:00
587ce77c5c
Accepting request 1108838 from devel:languages:python
Ana Guerrero2023-09-04 20:53:34 +00:00
863840669f
Accepting request 1108767 from home:mschreiner:branches:devel:languages:python
Dirk Mueller2023-09-04 10:43:57 +00:00
81bb1f6b65
Accepting request 1099363 from devel:languages:python
Ana Guerrero2023-07-19 17:10:44 +00:00
75c41fe10d
- 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.
Steve Kowalik2023-07-19 04:54:16 +00:00