0077969131
Accepting request 1282332 from devel:languages:python
...
Forwarded request #1281832 from glaubitz
- 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 )
OBS-URL: https://build.opensuse.org/request/show/1282332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=35
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 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=70
2025-06-03 13:15:04 +00:00
88b2b5fbb4
Accepting request 1281331 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1281331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=34
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 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=68
2025-05-30 09:20:44 +00:00
8ebef017b7
Accepting request 1277416 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1277416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=33
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 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=66
2025-05-14 12:24:42 +00:00
6761eeca6e
Accepting request 1265374 from devel:languages:python
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/1265374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=32
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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=64
2025-03-29 09:46:07 +00:00
05d86c1dfc
Accepting request 1245856 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1245856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=31
2025-02-14 18:23:01 +00:00
b1c159bd9e
Accepting request 1245843 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/1245843
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=62
2025-02-14 10:42:42 +00:00
e8428dedcf
Accepting request 1242154 from devel:languages:python
...
- 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"]
OBS-URL: https://build.opensuse.org/request/show/1242154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=30
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"]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=60
2025-02-01 22:19:13 +00:00
9b556ff74e
Accepting request 1224079 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1224079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=29
2024-11-14 15:09:39 +00:00
da45df8c4e
Accepting request 1224076 from home:smolsheep:upgrades
...
- Update to 0.32.6:
* New minor release for testing in CBS Koji
* fix: assert existence of stderr
OBS-URL: https://build.opensuse.org/request/show/1224076
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=58
2024-11-14 07:14:13 +00:00
dc6a62f4d3
Accepting request 1219099 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1219099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=28
2024-10-30 16:34:56 +00:00
383d064c77
Accepting request 1218992 from home:glaubitz:branches:devel:languages:python
...
- Update to 0.32.5
* We have fixed our parser to take in account
the deprecations introduced in Python 3.8
OBS-URL: https://build.opensuse.org/request/show/1218992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=56
2024-10-29 17:05:56 +00:00
6f29cc7583
Accepting request 1208564 from devel:languages:python
...
Forwarded request #1208293 from smolsheep
- Update to 0.32.4:
* NEVR and NEVRA classes are now hashable
OBS-URL: https://build.opensuse.org/request/show/1208564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=27
2024-10-17 16:40:33 +00:00
bb092b2078
Accepting request 1208293 from home:smolsheep:upgrades
...
- Update to 0.32.4:
* NEVR and NEVRA classes are now hashable
OBS-URL: https://build.opensuse.org/request/show/1208293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=54
2024-10-17 08:30:43 +00:00
f962b7d170
Accepting request 1206169 from devel:languages:python
...
- update to 0.32.3:
* specfile can now handle multi-line tag values (enclosed in a
macro body, e.g. `%shrink`).
OBS-URL: https://build.opensuse.org/request/show/1206169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=26
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`).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=52
2024-10-07 20:39:42 +00:00
e9565374f6
Accepting request 1202277 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1202277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=25
2024-09-22 09:06:18 +00:00
011a73ebd5
Accepting request 1202273 from home:smolsheep:upgrades
...
- Update to 0.32.2:
* Explicitly invalidate the global parse hash when a SpecParser
instance is created to prevent this issue.
OBS-URL: https://build.opensuse.org/request/show/1202273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=50
2024-09-20 22:34:57 +00:00
d86645ac8f
Accepting request 1190302 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1190302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=24
2024-07-29 19:53:58 +00:00
b5e75df2d6
Accepting request 1190298 from home:smolsheep:upgrades
...
- Update to 0.32.1:
* Fixed two issues related to condition parsing.
OBS-URL: https://build.opensuse.org/request/show/1190298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=48
2024-07-29 16:54:42 +00:00
f0cbbeeac3
Accepting request 1189106 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1189106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=23
2024-07-24 13:30:10 +00:00
26b6ffe627
Accepting request 1188958 from home:smolsheep:upgrades
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/1188958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=46
2024-07-22 18:47:37 +00:00
87b3cffb87
Accepting request 1186413 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1186413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=22
2024-07-09 18:06:02 +00:00
569e18f069
Accepting request 1185798 from home:smolsheep:upgrades
...
Depends on SR#1185797 to build properly
https://build.opensuse.org/request/show/1185797
- 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
OBS-URL: https://build.opensuse.org/request/show/1185798
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=44
2024-07-09 13:28:14 +00:00