14
0

Compare commits

32 Commits

Author SHA256 Message Date
aaf0f16bec Accepting request 1315465 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1315465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=37
2025-11-05 15:18:37 +00:00
95dc7b3c48 - Update to 0.37.1
* We have solved a FutureWarning in our codebase. (#485)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=74
2025-11-04 10:50:15 +00:00
a38ff5d999 Accepting request 1306750 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1306750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=36
2025-09-23 15:45:35 +00:00
94eacb1014 - Update to 0.37.0
* Added support for Elbrus E2K CPU architectures. (#484)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=72
2025-09-23 13:29:56 +00:00
f0d98764d0 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
8f064c075e - 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
518e92df93 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
c80d1de681 - 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
6c1e6b3234 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
ca4adf347d - 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
899799ddd9 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
79a15fa02c - 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
109234cb17 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
c09c35361e - 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/package/show/devel:languages:python/python-specfile?expand=0&rev=62
2025-02-14 10:42:42 +00:00
0f1c60b51a 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
df964e5f7d - 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
713c7a2170 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
a4d6511fd3 - Update to 0.32.6:
* New minor release for testing in CBS Koji
  * fix: assert existence of stderr

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
dfefedbf8c 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
94e9b9342e - 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/package/show/devel:languages:python/python-specfile?expand=0&rev=56
2024-10-29 17:05:56 +00:00
16bfad48fd 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
3771047eb0 - Update to 0.32.4:
* NEVR and NEVRA classes are now hashable

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
7ea9480f00 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
8c3edb87d6 - 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
b8a7ddef48 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
c6b2bbfd80 - 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/package/show/devel:languages:python/python-specfile?expand=0&rev=50
2024-09-20 22:34:57 +00:00
fe3eb020c1 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
6c89bc15af - Update to 0.32.1:
* Fixed two issues related to condition parsing.

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
428a5e02d0 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
6a7bea962d 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
bc3bf5c7f4 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
9f3adafee1 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
4 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Nov 4 10:11:54 UTC 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 10:22:50 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.37.0
* Added support for Elbrus E2K CPU architectures. (#484)
-------------------------------------------------------------------
Mon Jun 2 08:51:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-specfile
Version: 0.36.0
Version: 0.37.1
Release: 0
Summary: A library for parsing and manipulating RPM spec files
License: MIT

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:006b35d7a0fa1a57cccc221e1625ee31a8b64dbaad29a85e898820b9502d1238
size 113284

3
specfile-0.37.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca61d9995026ab22694cc0032323bd071f93b44b9ed1a84522506c1ab4d0f146
size 113291