forked from pool/python-specfile
Compare commits
30 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a38ff5d999 | |||
| 94eacb1014 | |||
| f0d98764d0 | |||
| 8f064c075e | |||
| 518e92df93 | |||
| c80d1de681 | |||
| 6c1e6b3234 | |||
| ca4adf347d | |||
| 899799ddd9 | |||
| 79a15fa02c | |||
| 109234cb17 | |||
| c09c35361e | |||
| 0f1c60b51a | |||
| df964e5f7d | |||
| 713c7a2170 | |||
| a4d6511fd3 | |||
| dfefedbf8c | |||
| 94e9b9342e | |||
| 16bfad48fd | |||
| 3771047eb0 | |||
| 7ea9480f00 | |||
| 8c3edb87d6 | |||
| b8a7ddef48 | |||
| c6b2bbfd80 | |||
| fe3eb020c1 | |||
| 6c89bc15af | |||
| 428a5e02d0 | |||
| 6a7bea962d | |||
| bc3bf5c7f4 | |||
| 9f3adafee1 |
@@ -1,3 +1,128 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 30 08:43:58 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 14 12:17:22 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 29 09:45:14 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 14 08:52:59 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 1 22:17:17 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- 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"]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 05:42:51 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 0.32.6:
|
||||||
|
* New minor release for testing in CBS Koji
|
||||||
|
* fix: assert existence of stderr
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 10:40:28 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.32.5
|
||||||
|
* We have fixed our parser to take in account
|
||||||
|
the deprecations introduced in Python 3.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 07:29:15 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 0.32.4:
|
||||||
|
* NEVR and NEVRA classes are now hashable
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 7 20:38:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.32.3:
|
||||||
|
* specfile can now handle multi-line tag values (enclosed in a
|
||||||
|
macro body, e.g. `%shrink`).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 20 22:05:27 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 0.32.2:
|
||||||
|
* Explicitly invalidate the global parse hash when a SpecParser
|
||||||
|
instance is created to prevent this issue.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 16:25:38 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 0.32.1:
|
||||||
|
* Fixed two issues related to condition parsing.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 07:48:10 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 5 13:06:52 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 10 08:54:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jun 10 08:54:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-specfile
|
# spec file for package python-specfile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,8 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-specfile
|
Name: python-specfile
|
||||||
Version: 0.29.0
|
Version: 0.37.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for parsing and manipulating RPM spec files
|
Summary: A library for parsing and manipulating RPM spec files
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -30,7 +31,6 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-rpm
|
Requires: python-rpm
|
||||||
Requires: python-typing_extensions
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module flexmock}
|
BuildRequires: %{python_module flexmock}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3cb4f40759bc860911c81769ba694738633de6099e6fde8391ae607a122c148
|
|
||||||
size 104414
|
|
||||||
3
specfile-0.37.0.tar.gz
Normal file
3
specfile-0.37.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cb0676c3e35776554e2577eeddc5b19e44bb98cafb90b099513def6ab9beb16b
|
||||||
|
size 113318
|
||||||
Reference in New Issue
Block a user