14
0

Commit Graph

  • 0077969131 Accepting request 1282332 from devel:languages:python main Ana Guerrero 2025-06-03 15:57:26 +00:00
  • f0f1e3c052 - 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) Nico Krapp 2025-06-03 13:15:04 +00:00
  • 88b2b5fbb4 Accepting request 1281331 from devel:languages:python Dominique Leuenberger 2025-05-31 17:15:55 +00:00
  • 05743aeea2 - 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) Nico Krapp 2025-05-30 09:20:44 +00:00
  • 8ebef017b7 Accepting request 1277416 from devel:languages:python Ana Guerrero 2025-05-14 15:02:10 +00:00
  • 9fce79d461 - 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) Markéta Machová 2025-05-14 12:24:42 +00:00
  • 6761eeca6e Accepting request 1265374 from devel:languages:python Ana Guerrero 2025-03-31 09:42:28 +00:00
  • 152d14972c - 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 Mueller 2025-03-29 09:46:07 +00:00
  • 05d86c1dfc Accepting request 1245856 from devel:languages:python Ana Guerrero 2025-02-14 18:23:01 +00:00
  • b1c159bd9e Accepting request 1245843 from home:glaubitz:branches:devel:languages:python Dirk Mueller 2025-02-14 10:42:42 +00:00
  • e8428dedcf Accepting request 1242154 from devel:languages:python Ana Guerrero 2025-02-03 20:44:00 +00:00
  • 50908a7ccf - 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 Cepl 2025-02-01 22:19:13 +00:00
  • 9b556ff74e Accepting request 1224079 from devel:languages:python Ana Guerrero 2024-11-14 15:09:39 +00:00
  • da45df8c4e Accepting request 1224076 from home:smolsheep:upgrades Matej Cepl 2024-11-14 07:14:13 +00:00
  • dc6a62f4d3 Accepting request 1219099 from devel:languages:python Dominique Leuenberger 2024-10-30 16:34:56 +00:00
  • 383d064c77 Accepting request 1218992 from home:glaubitz:branches:devel:languages:python Dirk Mueller 2024-10-29 17:05:56 +00:00
  • 6f29cc7583 Accepting request 1208564 from devel:languages:python Ana Guerrero 2024-10-17 16:40:33 +00:00
  • bb092b2078 Accepting request 1208293 from home:smolsheep:upgrades Matej Cepl 2024-10-17 08:30:43 +00:00
  • f962b7d170 Accepting request 1206169 from devel:languages:python Ana Guerrero 2024-10-08 15:24:07 +00:00
  • 719062a2d0 - update to 0.32.3: * specfile can now handle multi-line tag values (enclosed in a macro body, e.g. %shrink). Dirk Mueller 2024-10-07 20:39:42 +00:00
  • e9565374f6 Accepting request 1202277 from devel:languages:python Ana Guerrero 2024-09-22 09:06:18 +00:00
  • 011a73ebd5 Accepting request 1202273 from home:smolsheep:upgrades Matej Cepl 2024-09-20 22:34:57 +00:00
  • d86645ac8f Accepting request 1190302 from devel:languages:python Dominique Leuenberger 2024-07-29 19:53:58 +00:00
  • b5e75df2d6 Accepting request 1190298 from home:smolsheep:upgrades Dirk Mueller 2024-07-29 16:54:42 +00:00
  • f0cbbeeac3 Accepting request 1189106 from devel:languages:python Dominique Leuenberger 2024-07-24 13:30:10 +00:00
  • 26b6ffe627 Accepting request 1188958 from home:smolsheep:upgrades Matej Cepl 2024-07-22 18:47:37 +00:00
  • 87b3cffb87 Accepting request 1186413 from devel:languages:python Ana Guerrero 2024-07-09 18:06:02 +00:00
  • 569e18f069 Accepting request 1185798 from home:smolsheep:upgrades Dirk Mueller 2024-07-09 13:28:14 +00:00
  • ff4281a4fb Accepting request 1179657 from devel:languages:python Ana Guerrero 2024-06-10 15:38:04 +00:00
  • afb27d434d - 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 Mueller 2024-06-10 08:54:47 +00:00
  • 66c198493a Accepting request 1141448 from devel:languages:python Ana Guerrero 2024-01-25 17:41:37 +00:00
  • 8555eeb4bc - update to 0.27.0: * Improved handling of commented-out macro definitions and fixed related logic in Specfile.update_value(). Dirk Mueller 2024-01-25 08:27:50 +00:00
  • 734171a71d Accepting request 1135634 from devel:languages:python Dominique Leuenberger 2024-01-03 11:24:23 +00:00
  • e0f10195f5 - 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 Mueller 2023-12-29 10:18:36 +00:00
  • 1b3943e5e0 Accepting request 1128302 from devel:languages:python Ana Guerrero 2023-11-23 20:42:07 +00:00
  • 4e944a5d82 Accepting request 1128265 from home:david.anes:branches:devel:languages:python Markéta Machová 2023-11-23 10:27:52 +00:00
  • d2b444616d Accepting request 1124208 from devel:languages:python Ana Guerrero 2023-11-08 21:18:47 +00:00
  • 40097385cc - 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 Cepl 2023-11-08 10:17:40 +00:00
  • 985efeef10 Accepting request 1121152 from devel:languages:python Ana Guerrero 2023-10-30 21:11:09 +00:00
  • 6508ce7495 Accepting request 1121136 from home:david.anes:branches:devel:languages:python Markéta Machová 2023-10-30 10:57:41 +00:00
  • 3937e5c03e Accepting request 1118218 from devel:languages:python Ana Guerrero 2023-10-17 18:24:52 +00:00
  • e9b93566ea Accepting request 1118208 from home:david.anes:branches:devel:languages:python Markéta Machová 2023-10-17 08:05:14 +00:00
  • acf7f2a242 Accepting request 1108838 from devel:languages:python Ana Guerrero 2023-09-04 20:53:34 +00:00
  • 0eaa012bcd - reduce buildrequires to git-core Dirk Mueller 2023-09-04 10:49:47 +00:00
  • 406e1981a2 Accepting request 1108767 from home:mschreiner:branches:devel:languages:python Dirk Mueller 2023-09-04 10:43:57 +00:00
  • 600320db59 Accepting request 1099363 from devel:languages:python Ana Guerrero 2023-07-19 17:10:44 +00:00
  • 96e67b60a5 - 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 Kowalik 2023-07-19 04:54:16 +00:00
  • ec8fc57531 Accepting request 1089806 from devel:languages:python Dominique Leuenberger 2023-05-30 20:03:07 +00:00
  • e7a8a5b419 Accepting request 1089540 from home:david.anes:branches:devel:languages:python Matej Cepl 2023-05-30 12:24:25 +00:00
  • 359fba472a Accepting request 1086542 from devel:languages:python Dominique Leuenberger 2023-05-12 18:37:08 +00:00
  • 4031893446 Accepting request 1086509 from home:david.anes:branches:devel:languages:python Matej Cepl 2023-05-11 13:29:15 +00:00
  • 150fe111ae Accepting request 1082743 from devel:languages:python Dominique Leuenberger 2023-04-25 14:43:01 +00:00
  • 4dcf8e2e65 Accepting request 1082646 from home:david.anes:branches:devel:languages:python Daniel Garcia 2023-04-25 11:45:50 +00:00
  • 08a2180ac9 Accepting request 1071125 from devel:languages:python Dominique Leuenberger 2023-03-14 17:16:13 +00:00
  • 94252e45e3 Accepting request 1071124 from home:david.anes:branches:devel:languages:python Daniel Garcia 2023-03-13 12:48:53 +00:00
  • 6478b06c3a Accepting request 1067894 from devel:languages:python Dominique Leuenberger 2023-02-27 11:55:32 +00:00
  • 27bb4efa05 Accepting request 1067714 from home:david.anes:branches:devel:languages:python Daniel Garcia 2023-02-27 07:17:02 +00:00
  • 0613ad57ae Accepting request 1063412 from devel:languages:python Dominique Leuenberger 2023-02-06 13:15:54 +00:00
  • d92121526b Accepting request 1063358 from home:david.anes:branches:devel:languages:python Daniel Garcia 2023-02-06 12:29:06 +00:00
  • c16357f463 Accepting request 1060525 from devel:languages:python Dominique Leuenberger 2023-01-24 18:43:13 +00:00
  • 547096a561 Accepting request 1060457 from home:david.anes:branches:devel:languages:python Matej Cepl 2023-01-23 22:00:59 +00:00
  • dab25b9619 Accepting request 1057972 from devel:languages:python Dominique Leuenberger 2023-01-12 21:45:12 +00:00
  • b02692ea31 Accepting request 1057959 from home:david.anes:branches:devel:languages:python Daniel Garcia 2023-01-12 11:54:06 +00:00
  • ccd38120c2 Accepting request 1043095 from devel:languages:python Dominique Leuenberger 2022-12-15 18:25:48 +00:00
  • 647460f018 Accepting request 1043093 from home:david.anes:branches:devel:languages:python Daniel Garcia 2022-12-15 10:33:46 +00:00
  • 473d119710 Accepting request 1039206 from devel:languages:python Dominique Leuenberger 2022-12-01 15:59:45 +00:00
  • ec1765db00 Accepting request 1039167 from home:david.anes:branches:devel:languages:python Matej Cepl 2022-11-30 22:17:37 +00:00
  • 31c4939e21 Accepting request 1035243 from devel:languages:python Dominique Leuenberger 2022-11-12 16:40:56 +00:00
  • b9aa631bca Accepting request 1034926 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-11-11 13:04:39 +00:00
  • 915f7ddba1 Accepting request 1031183 from devel:languages:python Dominique Leuenberger 2022-10-26 10:31:31 +00:00
  • 750b983db7 Accepting request 1031109 from home:dgarcia:py-new Matej Cepl 2022-10-25 18:16:47 +00:00