Compare commits

...
Sign in to create a new pull request.

106 commits

Author SHA1 Message Date
Packit
a2c0837687 Update to 0.38.0 upstream release
Upstream tag: 0.38.0
Upstream commit: a07560dd

Commit authored by Packit automation (https://packit.dev/)
2026-01-08 13:46:30 +00:00
Packit
c27acf482d Update to 0.37.1 upstream release
Upstream tag: 0.37.1
Upstream commit: 21a45baa

Commit authored by Packit automation (https://packit.dev/)
2025-10-03 12:53:39 +00:00
Python Maint
37fc4cce30 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:28:43 +02:00
Packit
6a2e99d0cd Update to 0.37.0 upstream release
Upstream tag: 0.37.0
Upstream commit: aafca33c

Commit authored by Packit automation (https://packit.dev/)
2025-09-05 11:36:57 +00:00
Python Maint
255850c4d0 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:53:44 +02:00
Fedora Release Engineering
95dd7cbb35 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 10:29:09 +00:00
Python Maint
6ab91659ee Rebuilt for Python 3.14 2025-06-06 09:34:05 +02:00
Packit
cbec9f2d89 Update to 0.36.0 upstream release
Upstream tag: 0.36.0
Upstream commit: 24206539

Commit authored by Packit automation (https://packit.dev/)
2025-06-04 10:13:11 +02:00
Python Maint
8d528abc1a Rebuilt for Python 3.14 2025-06-04 01:04:24 +02:00
Packit
4a9bf54ee5 Update to 0.35.1 upstream release
Upstream tag: 0.35.1
Upstream commit: 81569906

Commit authored by Packit automation (https://packit.dev/)
2025-05-16 10:16:20 +00:00
Packit
6fd040e968 Update to 0.35.0 upstream release
Upstream tag: 0.35.0
Upstream commit: e059c302

Commit authored by Packit automation (https://packit.dev/)
2025-04-13 19:50:14 +00:00
Packit
cd2734eafa Update to 0.34.2 upstream release
Upstream tag: 0.34.2
Upstream commit: 875f03ed

Commit authored by Packit automation (https://packit.dev/)
2025-03-18 07:25:26 +00:00
Packit
b5d526fe90 Update to 0.34.1 upstream release
Upstream tag: 0.34.1
Upstream commit: 192a081a

Commit authored by Packit automation (https://packit.dev/)
2025-02-07 14:32:37 +00:00
Packit
029e441ef5 Update to 0.34.0 upstream release
- Resolves: rhbz#2342178

Upstream tag: 0.34.0
Upstream commit: 84d6f3b4

Commit authored by Packit automation (https://packit.dev/)
2025-01-27 10:41:56 +00:00
Fedora Release Engineering
009f0dbe92 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 19:29:23 +00:00
Packit
796658fb51 Update to 0.33.0 upstream release
- Resolves: rhbz#2332288

Upstream tag: 0.33.0
Upstream commit: c0a98a85

Commit authored by Packit automation (https://packit.dev/)
2024-12-16 08:22:08 +00:00
Packit
8bf9b9ebc7 Update to 0.32.6 upstream release
Upstream tag: 0.32.6
Upstream commit: 442e2a97

Commit authored by Packit automation (https://packit.dev/)
2024-11-13 13:14:12 +00:00
Packit
4fe6dde7b1 Update to 0.32.5 upstream release
Upstream tag: 0.32.5
Upstream commit: c38cfaad

Commit authored by Packit automation (https://packit.dev/)
2024-10-26 21:35:20 +00:00
Packit
417cf36f94 Update to 0.32.4 upstream release
Upstream tag: 0.32.4
Upstream commit: 4ab43365

Commit authored by Packit automation (https://packit.dev/)
2024-10-11 11:03:25 +00:00
Packit
08da0e9239 Update to 0.32.3 upstream release
- Resolves: rhbz#2299289

Upstream tag: 0.32.3
Upstream commit: c2be0297

Commit authored by Packit automation (https://packit.dev/)
2024-09-30 12:52:50 +02:00
7c31289bd2 Open sync_release PRs from rawhide to non-rawhide branches
Signed-off-by: Nikola Forró <nforro@redhat.com>
2024-09-26 17:44:30 +02:00
6a3e7b0ab1 Merge branch 'f41' into rawhide 2024-09-26 17:43:25 +02:00
9a0937122c Merge branch 'f40' into rawhide 2024-09-26 17:43:04 +02:00
753fdb8705 Merge branch 'f39' into rawhide 2024-09-26 17:42:06 +02:00
Packit
78b06433a0 Update to 0.32.2 upstream release
Upstream tag: 0.32.2
Upstream commit: 514fbded

Commit authored by Packit automation (https://packit.dev/)
2024-09-15 20:56:47 +00:00
Packit
fa08354702 Update to 0.32.2 upstream release
Upstream tag: 0.32.2
Upstream commit: 514fbded

Commit authored by Packit automation (https://packit.dev/)
2024-09-15 20:56:25 +00:00
Packit
beb1fdcc26 Update to 0.32.2 upstream release
Upstream tag: 0.32.2
Upstream commit: 514fbded

Commit authored by Packit automation (https://packit.dev/)
2024-09-15 20:56:03 +00:00
Packit
1896184d4a Update to 0.32.2 upstream release
Upstream tag: 0.32.2
Upstream commit: 514fbded

Commit authored by Packit automation (https://packit.dev/)
2024-09-15 20:55:36 +00:00
Packit
9e1797be7f Update to 0.32.1 upstream release
Upstream tag: 0.32.1
Upstream commit: 8aac26db

Commit authored by Packit automation (https://packit.dev/)
2024-07-29 15:27:38 +00:00
Packit
bd441be526 Update to 0.32.1 upstream release
Upstream tag: 0.32.1
Upstream commit: 8aac26db

Commit authored by Packit automation (https://packit.dev/)
2024-07-29 15:27:07 +00:00
Packit
96a665be97 Update to 0.32.1 upstream release
Upstream tag: 0.32.1
Upstream commit: 8aac26db

Commit authored by Packit automation (https://packit.dev/)
2024-07-29 15:26:34 +00:00
Packit
bf3ff3d38a Update to 0.32.0 upstream release
Upstream tag: 0.32.0
Upstream commit: 122eefa5

Commit authored by Packit automation (https://packit.dev/)
2024-07-22 07:13:55 +00:00
Packit
64054ae04f Update to 0.32.0 upstream release
Upstream tag: 0.32.0
Upstream commit: 122eefa5

Commit authored by Packit automation (https://packit.dev/)
2024-07-22 07:13:07 +00:00
Packit
44fc619f7b Update to 0.32.0 upstream release
Upstream tag: 0.32.0
Upstream commit: 122eefa5

Commit authored by Packit automation (https://packit.dev/)
2024-07-22 07:12:42 +00:00
Fedora Release Engineering
0ad558f4a4 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 15:58:22 +00:00
Packit
3be0cbabdd Update to 0.31.0 upstream release
- Resolves: rhbz#2294393

Upstream tag: 0.31.0
Upstream commit: 8aba712b

Commit authored by Packit automation (https://packit.dev/)
2024-07-09 10:25:40 +00:00
Packit
dc7e815c32 Update to 0.31.0 upstream release
- Resolves: rhbz#2294393

Upstream tag: 0.31.0
Upstream commit: 8aba712b

Commit authored by Packit automation (https://packit.dev/)
2024-07-09 10:25:16 +00:00
Packit
e977d66193 Update to 0.31.0 upstream release
- Resolves: rhbz#2294393

Upstream tag: 0.31.0
Upstream commit: 8aba712b

Commit authored by Packit automation (https://packit.dev/)
2024-07-09 10:24:26 +00:00
Packit
267989c885 Update to 0.30.0 upstream release
Upstream tag: 0.30.0
Upstream commit: 85a0b40d

Commit authored by Packit automation (https://packit.dev/)
2024-06-26 12:26:49 +00:00
Packit
6fbc47a40c Update to 0.30.0 upstream release
Upstream tag: 0.30.0
Upstream commit: 85a0b40d

Commit authored by Packit automation (https://packit.dev/)
2024-06-26 12:25:35 +00:00
Packit
660d416f29 Update to 0.30.0 upstream release
Upstream tag: 0.30.0
Upstream commit: 85a0b40d

Commit authored by Packit automation (https://packit.dev/)
2024-06-26 12:25:00 +00:00
Packit
615b75b738 Update to 0.29.0 upstream release
- Resolves: rhbz#2282962

Upstream tag: 0.29.0
Upstream commit: 0ba5f9ff

Commit authored by Packit automation (https://packit.dev/)
2024-06-17 10:11:21 +00:00
Python Maint
04974d08cc Rebuilt for Python 3.13 2024-06-09 12:03:16 +02:00
Packit
7ea300ef27 Update to 0.29.0 upstream release
Upstream tag: 0.29.0
Upstream commit: 0ba5f9ff

Commit authored by Packit automation (https://packit.dev/)
2024-06-06 13:56:05 +00:00
Packit
1926c35895 Update to 0.29.0 upstream release
Upstream tag: 0.29.0
Upstream commit: 0ba5f9ff

Commit authored by Packit automation (https://packit.dev/)
2024-06-06 13:55:01 +00:00
Packit
c369062a7d Update to 0.28.3 upstream release
Upstream tag: 0.28.3
Upstream commit: 557c33bd

Commit authored by Packit automation (https://packit.dev/)
2024-05-23 11:22:49 +00:00
Packit
b5fdf1b896 Update to 0.28.3 upstream release
Upstream tag: 0.28.3
Upstream commit: 557c33bd

Commit authored by Packit automation (https://packit.dev/)
2024-05-23 11:22:21 +00:00
Packit
dfa7de4a8f Update to 0.28.3 upstream release
Upstream tag: 0.28.3
Upstream commit: 557c33bd

Commit authored by Packit automation (https://packit.dev/)
2024-05-23 11:21:51 +00:00
Packit
f2d2ef1a7d Update to 0.28.2 upstream release
- Resolves: rhbz#2271583

Upstream tag: 0.28.2
Upstream commit: 904cb3b5

Commit authored by Packit automation (https://packit.dev/)
2024-04-08 13:58:53 +00:00
Packit
e1ede09317 Update to 0.28.2 upstream release
- Resolves: rhbz#2271583

Upstream tag: 0.28.2
Upstream commit: 904cb3b5

Commit authored by Packit automation (https://packit.dev/)
2024-04-08 13:57:25 +00:00
Packit
6aecb6e05d Update to 0.28.2 upstream release
- Resolves: rhbz#2271583

Upstream tag: 0.28.2
Upstream commit: 904cb3b5

Commit authored by Packit automation (https://packit.dev/)
2024-04-08 13:56:53 +00:00
Packit
832c1bfa03 [packit] 0.28.1 upstream release
Upstream tag: 0.28.1
Upstream commit: a14e6887
2024-03-26 11:35:00 +00:00
Packit
0d3925f069 [packit] 0.28.1 upstream release
Upstream tag: 0.28.1
Upstream commit: a14e6887
2024-03-26 11:34:21 +00:00
Packit
9cd47e49b2 [packit] 0.28.1 upstream release
Upstream tag: 0.28.1
Upstream commit: a14e6887
2024-03-26 11:33:41 +00:00
Packit
ad6f042da8 [packit] 0.28.0 upstream release
Upstream tag: 0.28.0
Upstream commit: cdf06f20
2024-03-17 15:09:29 +00:00
Packit
c9176b90a7 [packit] 0.28.0 upstream release
Upstream tag: 0.28.0
Upstream commit: cdf06f20
2024-03-17 15:08:49 +00:00
Packit
e21192d12d [packit] 0.28.0 upstream release
Upstream tag: 0.28.0
Upstream commit: cdf06f20
2024-03-17 15:07:28 +00:00
Fedora Release Engineering
abdf0dedd7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 10:56:43 +00:00
Packit
b208824aae [packit] 0.27.0 upstream release
Upstream tag: 0.27.0
Upstream commit: 1789f9c6
2024-01-19 13:30:39 +00:00
Packit
e487254215 [packit] 0.27.0 upstream release
Upstream tag: 0.27.0
Upstream commit: 1789f9c6
2024-01-19 13:29:53 +00:00
Packit
5ab305f83f [packit] 0.25.0 upstream release
Upstream tag: 0.25.0
Upstream commit: 78f50b4a
2023-11-20 15:01:56 +00:00
Packit
3e8c28f541 [packit] 0.25.0 upstream release
Upstream tag: 0.25.0
Upstream commit: 78f50b4a
2023-11-20 15:01:13 +00:00
Packit
13cddbfab7 [packit] 0.24.0 upstream release
Upstream tag: 0.24.0
Upstream commit: 2efbd9ce
2023-11-06 17:19:23 +00:00
Packit
ce94f144fe [packit] 0.24.0 upstream release
Upstream tag: 0.24.0
Upstream commit: 2efbd9ce
2023-11-06 17:18:59 +00:00
Packit
088a8f0610 [packit] 0.23.0 upstream release
Upstream tag: 0.23.0
Upstream commit: 0e110df4
2023-10-30 09:15:09 +00:00
Packit
d2f67697c0 [packit] 0.23.0 upstream release
Upstream tag: 0.23.0
Upstream commit: 0e110df4
2023-10-30 09:14:15 +00:00
Packit
a1df8b299f [packit] 0.22.1 upstream release
Upstream tag: 0.22.1
Upstream commit: 0af08c92
2023-10-06 13:13:33 +00:00
Packit
43d842225a [packit] 0.22.1 upstream release
Upstream tag: 0.22.1
Upstream commit: 0af08c92
2023-10-06 13:12:58 +00:00
Packit
a16986d5c5 [packit] 0.22.0 upstream release
Upstream tag: 0.22.0
Upstream commit: e49e5e3f

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/python-specfile.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.22.0-f39-update-propose_downstream
```
2023-09-01 13:41:18 +00:00
Packit
9cdf40188f [packit] 0.22.0 upstream release
Upstream tag: 0.22.0
Upstream commit: e49e5e3f

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/python-specfile.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.22.0-rawhide-update-propose_downstream
```
2023-09-01 13:40:14 +00:00
a54a607ee4 [packit] 0.21.0 upstream release
Upstream tag: 0.21.0
Upstream commit: 56360c0a
2023-08-11 15:27:49 +02:00
d5184c2cd6 [packit] 0.21.0 upstream release
Upstream tag: 0.21.0
Upstream commit: 56360c0a
2023-08-11 15:26:16 +02:00
Matej Focko
478a834385
chore: be explicit about GPG keys in Packit config
Signed-off-by: Matej Focko <mfocko@redhat.com>
(cherry picked from commit 4c376af84d)
2023-08-11 14:45:58 +02:00
Matej Focko
4c376af84d
chore: be explicit about GPG keys in Packit config
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-08-11 14:44:30 +02:00
Matej Focko
2b1f7a5adc
chore: add GitHub's GPG key to Packit config
Signed-off-by: Matej Focko <mfocko@redhat.com>
(cherry picked from commit c90a1932f9)
2023-08-11 14:29:15 +02:00
Matej Focko
c90a1932f9
chore: add GitHub's GPG key to Packit config
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-08-11 14:26:00 +02:00
Packit
45a5cfd616 [packit] 0.20.2 upstream release
Upstream tag: 0.20.2
Upstream commit: 4486a88c

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/python-specfile.git refs/heads/*:refs/remotes/packit/*
git checkout packit/0.20.2-rawhide-update-propose_downstream
```
2023-07-31 13:17:21 +00:00
Fedora Release Engineering
e72e665d3d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 14:12:59 +00:00
Packit
e5153229aa [packit] 0.20.0 upstream release
Upstream tag: 0.20.0
Upstream commit: 8aae0b14
2023-07-13 15:30:04 +00:00
Python Maint
8bf8a618d5 Rebuilt for Python 3.12 2023-06-28 18:10:33 +02:00
Packit
e951aef0c2 [packit] 0.19.0 upstream release
Upstream tag: 0.19.0
Upstream commit: bad19f0c
2023-06-22 13:07:50 +00:00
Packit
4dd1a288d9 [packit] 0.18.0 upstream release
Upstream tag: 0.18.0
Upstream commit: e5615bf6
2023-05-26 09:55:31 +00:00
Packit
e665bf8831 [packit] 0.17.0 upstream release
Upstream tag: 0.17.0
Upstream commit: bc4fbbdd
2023-05-11 09:50:37 +00:00
Packit
aa77763efd [packit] 0.16.0 upstream release
Upstream tag: 0.16.0
Upstream commit: 15be0aba
2023-04-20 17:02:38 +00:00
Packit
364ead10dd [packit] 0.15.0 upstream release
Upstream tag: 0.15.0
Upstream commit: efb94f1d

Signed-off-by: Packit <hello@packit.dev>
2023-03-10 12:47:12 +00:00
Packit
a6509ffecc [packit] 0.14.0 upstream release
Upstream tag: 0.14.0
Upstream commit: 78e2e8b3

Signed-off-by: Packit <hello@packit.dev>
2023-02-23 16:14:51 +00:00
Packit
94f0c7b47f [packit] 0.13.2 upstream release
Upstream tag: 0.13.2
Upstream commit: dc2440f6

Signed-off-by: Packit <hello@packit.dev>
2023-01-30 13:30:06 +00:00
Packit
53f3d3b448 [packit] 0.13.1 upstream release
Upstream tag: 0.13.1
Upstream commit: 326ceffa

Signed-off-by: Packit <hello@packit.dev>
2023-01-23 15:02:31 +00:00
Fedora Release Engineering
7472dab828 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 17:25:44 +00:00
Packit
10704435f7 [packit] 0.13.0 upstream release
Upstream tag: 0.13.0
Upstream commit: 032a6e24

Signed-off-by: Packit <hello@packit.dev>
2023-01-20 15:23:36 +00:00
Packit
ec692d6cc0 [packit] 0.12.0 upstream release
Upstream tag: 0.12.0
Upstream commit: 1f184858

Signed-off-by: Packit <hello@packit.dev>
2023-01-06 13:53:36 +00:00
Packit
ed6ad838aa [packit] 0.11.1 upstream release
Upstream tag: 0.11.1
Upstream commit: 3581c3cd

Signed-off-by: Packit <hello@packit.dev>
2022-12-14 16:41:05 +00:00
Packit
0070694be3 [packit] 0.11.0 upstream release
Upstream tag: 0.11.0
Upstream commit: ad039af9

Signed-off-by: Packit <hello@packit.dev>
2022-12-09 14:20:25 +00:00
Laura Barcziova
508d472448 [Packit config] add pull_from_upstream 2022-12-07 08:11:45 +01:00
Packit
31c6d77eb4 [packit] 0.10.0 upstream release
Upstream tag: 0.10.0
Upstream commit: daf36bc3

Signed-off-by: Packit <hello@packit.dev>
2022-11-30 11:34:33 +00:00
Packit
b56ae30d7d [packit] 0.9.1 upstream release
Upstream tag: 0.9.1
Upstream commit: 11b91ccc

Signed-off-by: Packit <hello@packit.dev>
2022-11-12 14:37:34 +00:00
Packit
8f2a067dcd [packit] 0.9.0 upstream release
Upstream tag: 0.9.0
Upstream commit: 6b6cbeae

Signed-off-by: Packit <hello@packit.dev>
2022-10-25 17:30:19 +00:00
Packit
e502c07e19 [packit] 0.8.0 upstream release
Upstream tag: 0.8.0
Upstream commit: a3262621

Signed-off-by: Packit <hello@packit.dev>
2022-10-14 11:37:30 +00:00
Packit
dcfa709e8a [packit] 0.7.0 upstream release
Upstream tag: 0.7.0
Upstream commit: e121363b

Signed-off-by: Packit <hello@packit.dev>
2022-10-07 14:32:19 +00:00
Packit
9a1bd64f93 [packit] 0.6.0 upstream release
Upstream tag: 0.6.0
Upstream commit: 8b0a6cc4

Signed-off-by: Packit <hello@packit.dev>
2022-08-25 13:15:12 +00:00
Packit
b781189383 [packit] 0.5.1 upstream release
Upstream tag: 0.5.1
Upstream commit: a03b8972

Signed-off-by: Packit <hello@packit.dev>
2022-08-10 14:45:59 +00:00
Packit
f15f6e3202 [packit] 0.5.0 upstream release
Upstream tag: 0.5.0
Upstream commit: e4f80e56

Signed-off-by: Packit <hello@packit.dev>
2022-07-22 08:05:22 +00:00
Packit
3d61f65819 [packit] 0.4.0 upstream release
Upstream tag: 0.4.0
Upstream commit: d3b97670

Signed-off-by: Packit <hello@packit.dev>
2022-06-21 13:32:58 +00:00
Python Maint
a252ae56ab Rebuilt for Python 3.11 2022-06-21 00:53:10 +02:00
Packit
0c7f08a2ce [packit] 0.3.0 upstream release
Upstream tag: 0.3.0
Upstream commit: df62e212

Signed-off-by: Packit <hello@packit.dev>
2022-05-16 12:13:30 +00:00
Packit
39331bdc83 [packit] 0.2.0 upstream release
Upstream tag: 0.2.0
Upstream commit: a15b0918

Signed-off-by: Packit <hello@packit.dev>
2022-03-31 10:06:56 +00:00
11 changed files with 704 additions and 10 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

287
.packit.yaml Normal file
View file

@ -0,0 +1,287 @@
---
packit_instances: ["prod", "stg"]
upstream_project_url: https://github.com/packit/specfile
issue_repository: https://github.com/packit/specfile
# PEP440
prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?"
prerelease_suffix_macro: prerelease
copy_upstream_release_description: true
packages:
specfile: &specfile
upstream_package_name: specfile
downstream_package_name: python-specfile
specfile_path: &specfile_path fedora/python-specfile.spec
files_to_sync:
- *specfile_path
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
srpm_build_deps:
- python3-build
- python3-setuptools_scm
actions: &actions
pre-sync:
- python3 plans/git_reference.py
create-archive:
- python3 -m build --sdist --outdir ./fedora/
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
get-current-version: python3 -m setuptools_scm
specfile-epel8:
<<: *specfile
specfile_path: &specfile_path_epel8 epel8/python-specfile.spec
files_to_sync:
- *specfile_path_epel8
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
actions:
<<: *actions
create-archive:
- python3 setup.py sdist --dist-dir ./epel8/
- bash -c "ls -1t ./epel8/*.tar.gz | head -n 1"
specfile-epel10:
<<: *specfile
specfile_path: &specfile_path_epel10 epel10/python-specfile.spec
files_to_sync:
- *specfile_path_epel10
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
actions:
<<: *actions
create-archive:
- python3 setup.py sdist --dist-dir ./epel10/
- bash -c "ls -1t ./epel10/*.tar.gz | head -n 1"
# docs: https://gitlab.com/CentOS/Integration/packit-cbs/docs
specfile-centos-integration-sig:
<<: *specfile
specfile_path: &specfile_path_centos_sig centos-integration-sig/python-specfile.spec
files_to_sync:
- *specfile_path_centos_sig
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
actions:
<<: *actions
create-archive:
- python3 -m build --sdist --outdir ./centos-integration-sig/
- bash -c "ls -1t ./centos-integration-sig/*.tar.gz | head -n 1"
dist_git_base_url: https://gitlab.com
dist_git_namespace: CentOS/Integration/packit-cbs/rpms
sig: Integration/packit-cbs
pkg_tool: centpkg-sig
jobs:
- &copr_build_pr
job: copr_build
trigger: pull_request
packages: [specfile]
targets:
- fedora-all
- fedora-all-aarch64
- epel-9
- <<: *copr_build_pr
packages: [specfile-epel8]
targets:
- epel-8
- <<: *copr_build_pr
packages: [specfile-epel10]
targets:
- epel-10-all
- &copr_build_commit_main
job: copr_build
trigger: commit
branch: main
packages: [specfile]
targets:
- fedora-all
- fedora-all-aarch64
- epel-9
project: packit-dev
list_on_homepage: True
preserve_project: True
- <<: *copr_build_commit_main
packages: [specfile-epel8]
targets:
- epel-8
- <<: *copr_build_commit_main
packages: [specfile-epel10]
targets:
- epel-10-all
- &copr_build_commit_stable
job: copr_build
trigger: commit
branch: stable
packages: [specfile]
targets:
- fedora-stable
- fedora-stable-aarch64
project: packit-stable
list_on_homepage: True
preserve_project: True
- &copr_build_release
job: copr_build
trigger: release
packages: [specfile]
targets:
- fedora-all
- fedora-all-aarch64
- epel-9
project: packit-releases
list_on_homepage: True
preserve_project: True
- <<: *copr_build_release
packages: [specfile-epel8]
targets:
- epel-8
- <<: *copr_build_release
packages: [specfile-epel10]
targets:
- epel-10-all
- &tests
job: tests
trigger: pull_request
packages: [specfile]
tmt_plan: "smoke|full|packit-integration"
targets:
- fedora-all
- epel-9
- <<: *tests
identifier: performance
tmt_plan: performance
targets:
- fedora-rawhide
- <<: *tests
packages: [specfile-epel8]
tmt_plan: "smoke|full"
use_internal_tf: true
targets:
epel-8-x86_64:
distros: [RHEL-8.10.0-Nightly]
# enable EPEL
tf_extra_params:
environments:
- kickstart:
post-install: |
%post --log=/dev/console
set -x
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
%end
- <<: *tests
packages: [specfile-epel10]
tmt_plan: "smoke|full"
targets:
- epel-10-all
- &propose_downstream
job: propose_downstream
trigger: release
packages: [specfile]
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-branched
- eln
epel-9: {}
- <<: *propose_downstream
packages: [specfile-epel8]
dist_git_branches:
- epel-8
- <<: *propose_downstream
packages: [specfile-epel10]
dist_git_branches:
epel-10:
fast_forward_merge_into:
- epel-10-branched
- <<: *propose_downstream
packages: [specfile-centos-integration-sig]
dist_git_branches:
- c9-sig-integration
- &pull_from_upstream
job: pull_from_upstream
trigger: release
packages: [specfile]
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-branched
- eln
epel-9: {}
- <<: *pull_from_upstream
packages: [specfile-epel8]
dist_git_branches:
- epel-8
- <<: *pull_from_upstream
packages: [specfile-epel10]
dist_git_branches:
epel-10:
fast_forward_merge_into:
- epel-10-branched
- <<: *pull_from_upstream
packages: [specfile-centos-integration-sig]
dist_git_branches:
- c9-sig-integration
- &koji_build
job: koji_build
trigger: commit
packages: [specfile]
packit_instances: ["stg"]
allowed_pr_authors: ["packit-stg", "packit"]
dist_git_branches:
- epel-9
- <<: *koji_build
packages: [specfile-epel8]
dist_git_branches:
- epel-8
- <<: *koji_build
packages: [specfile-epel10]
dist_git_branches:
- epel-10-all
- <<: *koji_build
packages: [specfile-centos-integration-sig]
dist_git_branches:
- c9-sig-integration
- <<: *koji_build
sidetag_group: packit-specfile-ogr-releases
dependents:
- packit
dist_git_branches:
- fedora-all
- &bodhi_update
job: bodhi_update
trigger: commit
packages: [specfile]
packit_instances: ["stg"]
allowed_builders: ["packit-stg", "packit"]
dist_git_branches:
- epel-9
- <<: *bodhi_update
packages: [specfile-epel8]
dist_git_branches:
- epel-8
- <<: *bodhi_update
packages: [specfile-epel10]
dist_git_branches:
- epel-10-all

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.13.0.post1.dev2+g84134016c.

18
plans/full.fmf Normal file
View file

@ -0,0 +1,18 @@
summary:
Unit & integration tests
discover+:
filter: tier:1
adjust:
- when: "distro == rhel-8"
because: "only platform-python is installed on RHEL 8 by default"
prepare+:
- how: install
package: python3
- when: "distro == rhel-10 or distro == centos-10 or distro == centos-stream-10"
because: "flexmock is not in EPEL 10: https://bugzilla.redhat.com/show_bug.cgi?id=2351835"
prepare+:
- how: install
package: python3-pip
- how: shell
script: pip3 install flexmock

32
plans/git_reference.py Normal file
View file

@ -0,0 +1,32 @@
#!/usr/bin/python
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import subprocess
from pathlib import Path
import fmf
# Set discover of specfile tests to a fixed commit
tree_root = Path.cwd().absolute()
tree = fmf.Tree(tree_root)
main_node = tree.find("/plans")
with main_node as data:
data["discover"]["url"] = "https://github.com/packit/specfile.git"
data["discover"]["ref"] = (
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip()
)
# Set discover of packit integration tests to the current main
packit_node = tree.find("/plans/packit-integration")
with packit_node as data:
data["discover"]["ref"] = (
subprocess.check_output(
["git", "ls-remote", "https://github.com/packit/packit", "main"]
)
.decode()
.strip()
.split()[0]
)

6
plans/main.fmf Normal file
View file

@ -0,0 +1,6 @@
discover:
how: fmf
url: https://github.com/packit/specfile.git
ref: a07560dd2609cf23add5deeadc103033611b7b22
execute:
how: tmt

View file

@ -0,0 +1,29 @@
discover:
how: fmf
url: https://github.com/packit/packit
filter: tag:full
ref: 87042fcac49435dd55a1b989ed0c6ead290e703d
prepare:
- how: install
copr: packit/packit-dev
- how: shell
script: sed -i -n '/^priority=/!p;$apriority=5'
/etc/yum.repos.d/*:packit:packit-dev.repo
adjust:
- when: how == integration
because: provide latest python-specfile rpm when running locally
prepare+:
- name: python3-specfile rpm
how: install
directory: noarch/
- when: distro == rhel-9 or distro == centos-9 or distro == centos-stream-9
because: 'build and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251'
prepare+:
- how: install
package: python3-pip
- how: shell
script: pip3 install build 'deepdiff < 8.0.0'
- when: |
distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 or distro == rhel-9 or distro == centos-9 or distro == centos-stream-9
because: packit doesn't support EL 8
enabled: false

15
plans/performance.fmf Normal file
View file

@ -0,0 +1,15 @@
summary:
Performance tests
discover+:
filter: tier:3
prepare:
- how: install
package: python3-pip
- how: shell
script: pip3 install pytest-fail-slow
- how: shell
script: curl --output-dir /tmp -O https://src.fedoraproject.org/rpms/texlive/raw/rawhide/f/texlive.spec
adjust:
- when: "initiator != packit"
because: "skip this plan on dist-git pull requests"
enabled: false

10
plans/smoke.fmf Normal file
View file

@ -0,0 +1,10 @@
summary:
Basic smoke test
discover+:
filter: tier:0
adjust:
- when: "distro == rhel-8"
because: "only platform-python is installed on RHEL 8 by default"
prepare+:
- how: install
package: python3

View file

@ -1,22 +1,36 @@
%bcond_without tests
%global desc %{expand:
Python library for parsing and manipulating RPM spec files.
Main focus is on modifying existing spec files, any change should result
in a minimal diff.}
%global base_version 0.38.0
#global prerelease rc1
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
%global pypi_version %{base_version}%{?prerelease}
Name: python-specfile
Version: 0.1.1
Version: %{package_version}
Release: 1%{?dist}
Summary: A library for parsing and manipulating RPM spec files
License: MIT
URL: https://github.com/packit/specfile
Source0: https://github.com/packit/specfile/archive/%{version}/specfile-%{version}.tar.gz
Source0: %{pypi_source specfile %{pypi_version}}
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python3-devel
%if %{with tests}
# tests/unit/test_guess_packager.py
BuildRequires: git-core
%endif
%description
@ -31,12 +45,16 @@ Summary: %{summary}
%{desc}
%generate_buildrequires
%pyproject_buildrequires -x testing
%prep
%autosetup -p1 -n specfile-%{version}
%autosetup -p1 -n specfile-%{pypi_version}
# since we are building from PyPI source, we don't need git-archive
# support in setuptools_scm
sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml
%generate_buildrequires
%pyproject_buildrequires %{?with_tests: -x testing}
%build
@ -48,8 +66,10 @@ Summary: %{summary}
%pyproject_save_files specfile
%if %{with tests}
%check
%pytest
%pytest --verbose tests/unit tests/integration
%endif
%files -n python%{python3_pkgversion}-specfile -f %{pyproject_files}
@ -57,6 +77,279 @@ Summary: %{summary}
%changelog
* Thu Jan 08 2026 Packit <hello@packit.dev> - 0.38.0-1
- A bug leading to incorrect EVR expansion has been fixed. (#492)
- Prevented side-effects during condition evaluation that could occur when expanding macros that manipulate other macros, leading to misinterpreted validity of condition branches. (#499)
* Fri Oct 03 2025 Packit <hello@packit.dev> - 0.37.1-1
- We have solved a FutureWarning in our codebase. (#485)
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.37.0-2
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Sep 05 2025 Packit <hello@packit.dev> - 0.37.0-1
- Added support for Elbrus E2K CPU architectures. (#484)
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.36.0-5
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.36.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jun 06 2025 Python Maint <python-maint@redhat.com> - 0.36.0-3
- Rebuilt for Python 3.14
* Fri May 30 2025 Packit <hello@packit.dev> - 0.36.0-1
- 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)
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.35.1-2
- Rebuilt for Python 3.14
* Fri May 16 2025 Packit <hello@packit.dev> - 0.35.1-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)
* Sun Apr 13 2025 Packit <hello@packit.dev> - 0.35.0-1
- 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)
* Tue Mar 18 2025 Packit <hello@packit.dev> - 0.34.2-1
- 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. (#457)
* Fri Feb 07 2025 Packit <hello@packit.dev> - 0.34.1-1
- Removed the usage of a walrus operator for Python 3.6 compatibility. (#450)
* Mon Jan 27 2025 Packit <hello@packit.dev> - 0.34.0-1
- Added support for detached (open)SUSE style changelogs (#444)
- Resolves: rhbz#2342178
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Dec 16 2024 Packit <hello@packit.dev> - 0.33.0-1
- 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"]
```
- Resolves: rhbz#2332288
* Wed Nov 13 2024 Packit <hello@packit.dev> - 0.32.6-1
- New minor release for testing in CBS Koji
* Sat Oct 26 2024 Packit <hello@packit.dev> - 0.32.5-1
- We have fixed our parser to take in account the deprecations introduced in Python 3.8 (#420)
* Fri Oct 11 2024 Packit <hello@packit.dev> - 0.32.4-1
- NEVR and NEVRA classes are now hashable (#416)
* Mon Sep 30 2024 Packit <hello@packit.dev> - 0.32.3-1
- specfile can now handle multi-line tag values (enclosed in a macro body, e.g. `%%shrink`). (#412)
- Resolves: rhbz#2299289
* Sun Sep 15 2024 Packit <hello@packit.dev> - 0.32.2-1
- Explicitly invalidate the global parse hash when a SpecParser instance is created to prevent this issue. (#409)
* Mon Jul 29 2024 Packit <hello@packit.dev> - 0.32.1-1
- Fixed two issues related to condition parsing. (#405)
* Mon Jul 22 2024 Packit <hello@packit.dev> - 0.32.0-1
- It is now possible to bump a release in a manner similar to `rpmdev-bumpspec` using `Specfile.bump_release()` method. (#399)
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jul 09 2024 Packit <hello@packit.dev> - 0.31.0-1
- Value of a `Tag` no longer includes trailing whitespace (if any). (#393)
- 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"`. (#394)
- Resolves: rhbz#2294393
* Wed Jun 26 2024 Packit <hello@packit.dev> - 0.30.0-1
- Fixed an exception that occured when accessing the `Specfile.has_autochangelog` property while having unparseable lines (e.g. lines ending with unescaped `%`) in `%%changelog`. (#387)
* Mon Jun 17 2024 Packit <hello@packit.dev> - 0.29.0-1
- Improved compatibility with RPM 4.20 (alpha version is currently in Fedora Rawhide). (#380)
- Resolves: rhbz#2282962
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 0.28.3-2
- Rebuilt for Python 3.13
* Thu May 23 2024 Packit <hello@packit.dev> - 0.28.3-1
- Fixed several minor issues such as processing seemingly commented-out macro definitions (e.g. `#%%global prerel rc1`) and treating `SourceLicense` tag as a source. (#374, #376)
- Made `EVR`, `NEVR` and `NEVRA` objects comparable. (#379)
* Mon Apr 08 2024 Packit <hello@packit.dev> - 0.28.2-1
- Handling of trailing newlines in the macro defintions has been improved. (#361)
- Resolves: rhbz#2271583
* Tue Mar 26 2024 Packit <hello@packit.dev> - 0.28.1-1
- 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. (#356)
* Sun Mar 17 2024 Packit <hello@packit.dev> - 0.28.0-1
- A trailing newline is no longer added to spec files without one upon saving. (#353)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Packit <hello@packit.dev> - 0.27.0-1
- Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`. (#338)
* Mon Nov 20 2023 Packit <hello@packit.dev> - 0.25.0-1
- There is a new method, `Specfile.update_version()`, that allows updating spec file version even if it is a pre-release. (#317)
* Mon Nov 06 2023 Packit <hello@packit.dev> - 0.24.0-1
- 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)
* Mon Oct 30 2023 Packit <hello@packit.dev> - 0.23.0-1
- Sources now have a `valid` property that indicates whether a source is valid in the current context, meaning it is not present in a false branch of any condition. (#295)
* Fri Oct 06 2023 Packit <hello@packit.dev> - 0.22.1-1
- Removed dependency on setuptools-scm-git-archive. (#290)
* Fri Sep 01 2023 Packit <hello@packit.dev> - 0.22.0-1
- Macro definitions and tags gained a new `valid` attribute. A macro definition/tag is considered valid if it doesn't appear in a false branch of any condition appearing in the spec file. (#276)
* Fri Aug 11 2023 Nikola Forró <nforro@redhat.com> - 0.21.0-1
- `specfile` no longer tracebacks when some sources are missing and can't be _emulated_. In such case the spec file is parsed without them at the cost of `%%setup` and `%%patch` macros potentially expanding differently than with the sources present. (#271)
- Specfile's license in RPM spec file is now confirmed to be SPDX compatible. (#269)
* Mon Jul 31 2023 Packit <hello@packit.dev> - 0.20.2-1
- Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 13 2023 Packit <hello@packit.dev> - 0.20.0-1
- 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)
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 0.19.0-2
- Rebuilt for Python 3.12
* Thu Jun 22 2023 Packit <hello@packit.dev> - 0.19.0-1
- Parsing has been optimized so that even spec files with hundreds of thousands of lines can be processed in reasonable time. (#240)
* Fri May 26 2023 Packit <hello@packit.dev> - 0.18.0-1
- Specfile library now handles multiple `%%changelog` sections. (#230)
* Thu May 11 2023 Packit <hello@packit.dev> - 0.17.0-1
- Added a new `guess_packager()` function that uses similar heuristics as `rpmdev-packager`, meaning that the `Specfile.add_changelog_entry()` method no longer requires `rpmdev-packager` to guess the changelog entry author. (#220)
- The `Specfile.add_changelog_entry()` method now uses dates based on UTC instead of the local timezone. (#223)
* Thu Apr 20 2023 Packit <hello@packit.dev> - 0.16.0-1
- Added `Specfile.has_autorelease` property to detect if a spec file uses the `%%autorelease` macro. (#221)
* Fri Mar 10 2023 Packit <hello@packit.dev> - 0.15.0-1
- Parsing the spec file by RPM is now performed only if really necessary, greatly improving performance in certain scenarios. (#212)
- Checked that license is a valid SPDX license.
* Thu Feb 23 2023 Packit <hello@packit.dev> - 0.14.0-1
- Fixed a bug that broke parsing in case spec file contained conditionalized macro definitions or similar constructs. (#209)
- Specfile no longer depends on rpm-py-installer, it now depends directly on rpm. (#207)
* Mon Jan 30 2023 Packit <hello@packit.dev> - 0.13.2-1
- Fixed infinite loop that occured when section options were followed by whitespace. (#197)
* Mon Jan 23 2023 Packit <hello@packit.dev> - 0.13.1-1
- Fixed a bug in section parsing that caused sections to be ignored when there were macro definitions spread across the spec file and not cumulated at the top. (#191)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 20 2023 Packit <hello@packit.dev> - 0.13.0-1
- Added `Section.options` attribute for convenient manipulation of section options. (#183)
- specfile now supports single-line sections where section content is represented by a macro starting with a newline. (#182)
- Added `evr` argument to `Specfile.add_changelog_entry()`. This allows adding a changelog entry with an EVR value that's different from the current specfile's value. This makes it easier to reconstruct a specfile's `%changelog` based on another source using the higher level interface. (#181)
* Fri Jan 06 2023 Packit <hello@packit.dev> - 0.12.0-1
- All classes including `Specfile` itself can now be copied using the standard `copy()` and `deepcopy()` functions from `copy` module. (#176)
- `Section.name` attribute has been renamed to a more fitting `Section.id`. (#167)
- `setup.cfg` now uses `license_files` instead of deprecated `license_file`. (#162)
* Wed Dec 14 2022 Packit <hello@packit.dev> - 0.11.1-1
- Tags enclosed in conditional macro expansions are not ignored anymore. (#156)
- Fixed context managers being shared between Specfile instances. (#157)
* Fri Dec 09 2022 Packit <hello@packit.dev> - 0.11.0-1
- Context managers (`Specfile.sections()`, `Specfile.tags()` etc.) can now be nested and combined together (with one exception - `Specfile.macro_definitions()`), and it is also possible to use tag properties (e.g. `Specfile.version`, `Specfile.license`) inside them. It is also possible to access the data directly, avoiding the `with` statement, by using the `content` property (e.g. `Specfile.tags().content`), but be aware that no modifications done to such data will be preserved. You must use `with` to make changes. (#153)
* Wed Nov 30 2022 Packit <hello@packit.dev> - 0.10.0-1
- Fixed an issue that caused empty lines originally inside changelog entries to appear at the end. (#140)
- Renamed the `ignore_missing_includes` option to a more general `force_parse`. If specified, it allows to attempt to parse the spec file even if one or more sources required to be present at parsing time are not available. Such sources include sources referenced from shell expansions in tag values and sources included using the `%include` directive. (#137)
* Sat Nov 12 2022 Packit <hello@packit.dev> - 0.9.1-1
- `specfile` now supports localized tags (e.g. `Summary(fr)`) and tags with qualifiers (e.g. `Requires(post)`).
It also follows more closely rpm parsing logic and doesn't fail on invalid section names. (#132)
* Tue Oct 25 2022 Packit <hello@packit.dev> - 0.9.0-1
- Added utility classes for working with (N)EVR. (#113)
- Fixed an issue with multiple instances of `Specfile` not expanding macros in the right context. (#117)
* Fri Oct 14 2022 Packit <hello@packit.dev> - 0.8.0-1
- Added `Specfile.update_tag()` method that allows updating tag values while trying to preserve macro expansions. You can watch a demo on [YouTube](https://youtu.be/yzMfBPdFXZY). (#101)
* Fri Oct 07 2022 Packit <hello@packit.dev> - 0.7.0-1
- It is now possible to filter changelog entries by specifying lower bound EVR, upper bound EVR or both. (#104)
- Added support for filenames specified in source URL fragments, for example: `https://example.com/foo/1.0/download.cgi#/%{name}-%{version}.tar.gz` (#100)
* Thu Aug 25 2022 Packit <hello@packit.dev> - 0.6.0-1
- Switched to our own implementation of working with `%changelog` timestamps and removed dependency on arrow (#88)
- Fixed requires of EPEL 8 rpm (#86)
* Wed Aug 10 2022 Packit <hello@packit.dev> - 0.5.1-1
- Added new `%conf` section (#74)
- Switched to rpm-py-installer (#75)
- Fixed detecting extended timestamp format in `%changelog` (#77, #81)
* Fri Jul 22 2022 Packit <hello@packit.dev> - 0.5.0-1
- Strict optional typing is now enforced (#68)
- Fixed deduplication of tag names (#69)
- Sources and patches can now be removed by number (#69)
- Number of digits in a source number is now expressed the same way as packit does it (#69)
- Empty lines are now compressed when deleting tags (#69)
- Added convenience property for getting texts of tag comments (#69)
- Added convenience method for adding a patch (#69)
* Tue Jun 21 2022 Packit <hello@packit.dev> - 0.4.0-1
- Added convenience properties for most used tags (#63)
- Hardened linting by ignoring only specific mypy errors (#64)
- Fixed list of valid tag names and ensured newly added tags are not part of a condition block (#66)
- Initial patch number and its default number of digits are now honored (#66)
- Fixed a bug in `%prep` macro stringification (#67)
* Mon Jun 20 2022 Python Maint <python-maint@redhat.com> - 0.3.0-2
- Rebuilt for Python 3.11
* Mon May 16 2022 Packit <hello@packit.dev> - 0.3.0-1
- Made `Sources` a `MutableSequence` (#36)
- Started using consistent terminology for source numbers and added the option to insert a source with a specific number (#47)
- Added support for implicit source numbering (#48)
- Documented sources and `%prep` macros in README (#49)
- Implemented high-level manipulation of version and release (#54)
- Added support for `* Mon May 16 2022 John Doe <packager@example.com> - 0.3.0-1.fc35
- local build` (#56)
- Added `remote` property to sources and enabled addition of `Sources` (#59)
- Implemented mid-level manipulation of `%prep` section, including modification of `%prep` macros (#37, #52)
* Thu Mar 31 2022 Packit <hello@packit.dev> - 0.2.0-1
- Enabled Zuul CI (#8)
- Switched from git:// to https:// for rebase hook (#22)
- Updated pre-commit configuration and adapted to type changes brought by new version of mypy (#24)
- Non-lowercase section names are now supported (#26)
- Added `Sections.get()` convenience method (#29)
- Added packit configuration and enabled packit (#25)
- Fixed infinite recursion when deep-copying instances of `Sections` and `Tags` (#30)
- Updated Fedora and EPEL spec files (#32)
- Fixed issues caused by older versions of dependencies on EPEL 8 (#33)
- Implemented high-level manipulation of sources and patches (#20, #36)
- It is now possible to parse spec files with missing local sources (#23)
* Mon Feb 21 2022 Nikola Forró <nforro@redhat.com> - 0.1.1-1
- New upstream release 0.1.1

View file

@ -1 +1 @@
SHA512 (specfile-0.1.1.tar.gz) = c4714e7170ea27cb309d0137b831e067361d00d384646dd2e07876221256de3f4b32b06addfe78924f17046b96d63f53f33e4fe6f22ca20561e154629c49fbed
SHA512 (specfile-0.38.0.tar.gz) = bfd60434b868fd191fb68d5b2fa319db45df80397b6c1000a63d9fe947e998a8a86fcf6a76c0ae9b6ef3321d2b04d4dd9bc565a610bfb117faa64180342fda4d