From 7d76455977cbf416cbc736f9efe740731d249be9 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 10 Mar 2023 11:23:44 +0000 Subject: [PATCH 01/19] [packit] 0.15.0 upstream release Upstream tag: 0.15.0 Upstream commit: efb94f1d Signed-off-by: Packit --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 7 ++++++- python-specfile.spec | 6 +++++- sources | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index 9693a25..4a7d1af 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.68.0.post11+gf18369e. +The file was generated using packit 0.69.0.post2+g0d966f8. diff --git a/plans/main.fmf b/plans/main.fmf index 107ae72..0c51115 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 78e2e8b30abd9e67e934f87c2aac0854f5a4b204 + ref: efb94f1d791eebbe8f45f066674ec64e71a518cb execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 2c55725..22e1dff 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,12 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: f18369ebcfbf9207f771fb1e9ec8e6c4b4467318 + ref: 2e6d5610d67deffc8643046172db1d422b83e7a8 +prepare: + - how: install + copr: packit/packit-dev + - how: shell + script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5" adjust: - when: how == integration because: provide latest python-specfile rpm when running locally diff --git a/python-specfile.spec b/python-specfile.spec index cb853ea..e18baa8 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.14.0 +Version: 0.15.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -67,6 +67,10 @@ Summary: %{summary} %changelog +* Fri Mar 10 2023 Packit - 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 - 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) diff --git a/sources b/sources index 881b65f..fb75752 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.14.0.tar.gz) = 4e9a34d77f3d6eb5704253607bb5c3afeb66b0a2224ad76762dbd9c8de6ef2b9aacb581258323456861ee348ed1251b8b93aa485c79d0de67407c74ae12bfd9f +SHA512 (specfile-0.15.0.tar.gz) = d2f8829dbe5e4e526690982a08e3fbbbbc69c403097767bf2b4a5226d433cbeb25ee56b9b32601ed3be02edf44396509a23e9420c58b24759d38bd45406c7f2e From 38f4fb6472e8e7bfe8022d5e633e8dc356aaccd7 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 20 Apr 2023 17:05:06 +0000 Subject: [PATCH 02/19] [packit] 0.16.0 upstream release Upstream tag: 0.16.0 Upstream commit: 15be0aba --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index 4a7d1af..2dd6ac1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0.post2+g0d966f8. +The file was generated using packit 0.74.0.post25+ga1e902b. diff --git a/plans/main.fmf b/plans/main.fmf index 0c51115..2f365ff 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: efb94f1d791eebbe8f45f066674ec64e71a518cb + ref: 15be0abadeb910dd273cc4dbf4f08c777d8576f0 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 22e1dff..52b6315 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 2e6d5610d67deffc8643046172db1d422b83e7a8 + ref: a1e902bd8783e1964b9379ea93ef1a062d1d179c prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index e18baa8..e4489d6 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.15.0 +Version: 0.16.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -67,6 +67,9 @@ Summary: %{summary} %changelog +* Thu Apr 20 2023 Packit - 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 - 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. diff --git a/sources b/sources index fb75752..8a3e292 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.15.0.tar.gz) = d2f8829dbe5e4e526690982a08e3fbbbbc69c403097767bf2b4a5226d433cbeb25ee56b9b32601ed3be02edf44396509a23e9420c58b24759d38bd45406c7f2e +SHA512 (specfile-0.16.0.tar.gz) = 296e73d2ea5fe14a1c2f8504cd9772ad5310366d765fb75651a22aaf7021107b16a53c5b8535f85c846005e557552932f483aaabd68487a245717cb7ef789e7d From 089f55f9456a4535f755d82e8854b7b9ce9e670f Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 11 May 2023 09:48:48 +0000 Subject: [PATCH 03/19] [packit] 0.17.0 upstream release Upstream tag: 0.17.0 Upstream commit: bc4fbbdd --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 10 +++++++++- sources | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index 2dd6ac1..c6a9a6c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.74.0.post25+ga1e902b. +The file was generated using packit 0.75.0.post9+g9ce4c01. diff --git a/plans/main.fmf b/plans/main.fmf index 2f365ff..74edd5b 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 15be0abadeb910dd273cc4dbf4f08c777d8576f0 + ref: bc4fbbdd7073f69b8ab9a1e1e3afc5140b5c348f execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 52b6315..a0f0582 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: a1e902bd8783e1964b9379ea93ef1a062d1d179c + ref: 33d32c702b3d26a81e12984d925222ce9935dee7 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index e4489d6..9e681de 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.16.0 +Version: 0.17.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -25,6 +25,10 @@ Source0: %{pypi_source specfile} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel +%if %{with tests} +# tests/unit/test_guess_packager.py +BuildRequires: git-core +%endif %description @@ -67,6 +71,10 @@ Summary: %{summary} %changelog +* Thu May 11 2023 Packit - 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 - 0.16.0-1 - Added `Specfile.has_autorelease` property to detect if a spec file uses the `%%autorelease` macro. (#221) diff --git a/sources b/sources index 8a3e292..2794e00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.16.0.tar.gz) = 296e73d2ea5fe14a1c2f8504cd9772ad5310366d765fb75651a22aaf7021107b16a53c5b8535f85c846005e557552932f483aaabd68487a245717cb7ef789e7d +SHA512 (specfile-0.17.0.tar.gz) = 236c9a3b74b0c767d1ea0b40a459fb082f59c3e6ce4e0c1fc93525f67d1aa176e56a230d181d0007799b1cb781fccfa94d226cbac06550bde3cc2f8259a8eb09 From 31f5e40c9941b11c7428c22ba3d236892285747d Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 26 May 2023 09:56:40 +0000 Subject: [PATCH 04/19] [packit] 0.18.0 upstream release Upstream tag: 0.18.0 Upstream commit: e5615bf6 --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index c6a9a6c..fd70690 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.75.0.post9+g9ce4c01. +The file was generated using packit 0.75.0.post23+g672eac3. diff --git a/plans/main.fmf b/plans/main.fmf index 74edd5b..00715cb 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: bc4fbbdd7073f69b8ab9a1e1e3afc5140b5c348f + ref: e5615bf6d4f2b35d66f3f2d9807c81c10fa7fda9 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index a0f0582..84a9602 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 33d32c702b3d26a81e12984d925222ce9935dee7 + ref: a5a18a83cb2f71eb9899c2000313804f96500d49 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 9e681de..f9d1a01 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.17.0 +Version: 0.18.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -71,6 +71,9 @@ Summary: %{summary} %changelog +* Fri May 26 2023 Packit - 0.18.0-1 +- Specfile library now handles multiple `%%changelog` sections. (#230) + * Thu May 11 2023 Packit - 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) diff --git a/sources b/sources index 2794e00..64b8dc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.17.0.tar.gz) = 236c9a3b74b0c767d1ea0b40a459fb082f59c3e6ce4e0c1fc93525f67d1aa176e56a230d181d0007799b1cb781fccfa94d226cbac06550bde3cc2f8259a8eb09 +SHA512 (specfile-0.18.0.tar.gz) = 9f4987d8bd6d43dc0021cf223202bbf04592ade706de23f700793a9366cc4500b01401834a3a8c9d03e7d4d13be753c83fa382dbee6b80fc5a428edad8e88119 From f0782210a4e8eb678d21747dc7e1a7aacbb6ce72 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 22 Jun 2023 13:08:25 +0000 Subject: [PATCH 05/19] [packit] 0.19.0 upstream release Upstream tag: 0.19.0 Upstream commit: bad19f0c --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index fd70690..65f7937 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.75.0.post23+g672eac3. +The file was generated using packit 0.76.0.post18+g116edc5. diff --git a/plans/main.fmf b/plans/main.fmf index 00715cb..255c509 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: e5615bf6d4f2b35d66f3f2d9807c81c10fa7fda9 + ref: bad19f0c5a965dc4a98056dc61fdcb6bf7c4dce9 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 84a9602..0a8862f 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: a5a18a83cb2f71eb9899c2000313804f96500d49 + ref: 116edc57710149e22d73c315367e1c332ebde907 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index f9d1a01..5a754ba 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.18.0 +Version: 0.19.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -71,6 +71,9 @@ Summary: %{summary} %changelog +* Thu Jun 22 2023 Packit - 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 - 0.18.0-1 - Specfile library now handles multiple `%%changelog` sections. (#230) diff --git a/sources b/sources index 64b8dc8..c766552 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.18.0.tar.gz) = 9f4987d8bd6d43dc0021cf223202bbf04592ade706de23f700793a9366cc4500b01401834a3a8c9d03e7d4d13be753c83fa382dbee6b80fc5a428edad8e88119 +SHA512 (specfile-0.19.0.tar.gz) = d0b0ea46227180bfad8a7fd896139dbe2120669dbad3f952642899cbd0cc090b58f5978c9d8ff5180330e5642bf29514520836b28438e52f67f9a5dc092be16e From fded3c8ccbe1d19bb428910bd22610bb4b3a811e Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 13 Jul 2023 15:28:12 +0000 Subject: [PATCH 06/19] [packit] 0.20.0 upstream release Upstream tag: 0.20.0 Upstream commit: 8aae0b14 --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 9 +++++++-- sources | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.packit b/README.packit index 65f7937..a03aeb9 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.76.0.post18+g116edc5. +The file was generated using packit 0.78.0.post2+g694f5f6. diff --git a/plans/main.fmf b/plans/main.fmf index 255c509..f94f1fe 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: bad19f0c5a965dc4a98056dc61fdcb6bf7c4dce9 + ref: 8aae0b14df14935ff3153703525f14644f3fa1da execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 0a8862f..35017ad 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 116edc57710149e22d73c315367e1c332ebde907 + ref: 854782d52103b1640a295b3262364a4122051452 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 5a754ba..a7ba017 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.19.0 +Version: 0.20.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -24,7 +24,7 @@ Source0: %{pypi_source specfile} BuildArch: noarch -BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python3-devel %if %{with tests} # tests/unit/test_guess_packager.py BuildRequires: git-core @@ -71,6 +71,11 @@ Summary: %{summary} %changelog +* Thu Jul 13 2023 Packit - 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) + * Thu Jun 22 2023 Packit - 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) diff --git a/sources b/sources index c766552..a16b3f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.19.0.tar.gz) = d0b0ea46227180bfad8a7fd896139dbe2120669dbad3f952642899cbd0cc090b58f5978c9d8ff5180330e5642bf29514520836b28438e52f67f9a5dc092be16e +SHA512 (specfile-0.20.0.tar.gz) = 110919bc8445b743f8c480c2bb04dd007ab896b2323b79185ba5a5f85468e0806f0073e292c46458b30268f416037a321612ef7d5bcafea8764b32c166f5a316 From 365bc4056b943996d7a235eb86eaa2a2b0f5604d Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 31 Jul 2023 13:16:45 +0000 Subject: [PATCH 07/19] [packit] 0.20.2 upstream release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-f38-update-propose_downstream ``` --- .packit.yaml | 160 ++++++++++++++++++++++++----------- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 5 +- python-specfile.spec | 5 +- sources | 2 +- 6 files changed, 123 insertions(+), 53 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index e3a0e15..3ae2f09 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,101 +1,162 @@ --- -# We want to use both instances for all upstream jobs including the `propose-downstream` one. -# For downstream, we need to pick just one instance (`stg` in our case) -# and redefine it for the `koji_build` and `bodhi_update` jobs. packit_instances: ["prod", "stg"] -specfile_path: fedora/python-specfile.spec - -# add or remove files that should be synced -files_to_sync: - - fedora/python-specfile.spec - - .packit.yaml - - src: plans/ - dest: plans/ - - src: .fmf/ - dest: .fmf/ - -# name in upstream package repository or registry (e.g. in PyPI) -upstream_package_name: specfile -# downstream (Fedora) RPM package name -downstream_package_name: python-specfile - -copy_upstream_release_description: true - upstream_project_url: https://github.com/packit/specfile issue_repository: https://github.com/packit/specfile -actions: - # we need this b/c `git archive` doesn't put all the metadata in the tarball: - # LookupError: setuptools-scm was unable to detect version for '/builddir/build/BUILD/ogr-0.11.1'. - # Make sure you're either building from a fully intact git repository or PyPI tarballs. - 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 - pre-sync: - # FMF has to be installed on system where you are calling this tool. - - python3 plans/git_reference.py +copy_upstream_release_description: true -srpm_build_deps: - - python3-build - - python3-setuptools_scm +packages: + 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: + 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: + upstream_package_name: specfile + downstream_package_name: python-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/ + srpm_build_deps: + - python3-setuptools_scm + actions: + pre-sync: + - python3 plans/git_reference.py + create-archive: + - python3 setup.py sdist --dist-dir ./epel8/ + - bash -c "ls -1t ./epel8/*.tar.gz | head -n 1" + get-current-version: python3 setup.py --version jobs: - - job: propose_downstream - trigger: release - dist_git_branches: - - fedora-all - - epel-9 - - job: copr_build trigger: pull_request + packages: [specfile] targets: - fedora-all - epel-9 - - - job: tests + - job: copr_build trigger: pull_request + packages: [specfile-epel8] targets: - - fedora-all - - epel-9 + - epel-8 - job: copr_build trigger: commit branch: main + packages: [specfile] targets: - fedora-all - epel-9 project: packit-dev list_on_homepage: True preserve_project: True + - job: copr_build + trigger: commit + branch: main + packages: [specfile-epel8] + targets: + - epel-8 + project: packit-dev + list_on_homepage: True + preserve_project: True - job: copr_build trigger: commit branch: stable + packages: [specfile] targets: - fedora-stable - epel-9 project: packit-stable list_on_homepage: True preserve_project: True + - job: copr_build + trigger: commit + branch: stable + packages: [specfile-epel8] + targets: + - epel-8 + project: packit-stable + list_on_homepage: True + preserve_project: True - job: copr_build trigger: release + packages: [specfile] targets: - fedora-all - epel-9 project: packit-releases list_on_homepage: True preserve_project: True - - - job: pull_from_upstream + - job: copr_build trigger: release + packages: [specfile-epel8] + targets: + - epel-8 + project: packit-releases + list_on_homepage: True + preserve_project: True + + - job: tests + trigger: pull_request + packages: [specfile] + targets: + - fedora-all + - epel-9 + - job: tests + trigger: pull_request + packages: [specfile-epel8] + targets: + - epel-8 + + - job: propose_downstream + trigger: release + packages: [specfile] dist_git_branches: - fedora-all - epel-9 + - job: propose_downstream + trigger: release + packages: [specfile-epel8] + dist_git_branches: + - epel-8 + + - job: pull_from_upstream + trigger: release + packages: [specfile] + dist_git_branches: + - fedora-all + - epel-9 + - job: pull_from_upstream + trigger: release + packages: [specfile-epel8] + dist_git_branches: + - epel-8 - # downstream automation: - job: koji_build trigger: commit packit_instances: ["stg"] @@ -103,9 +164,12 @@ jobs: dist_git_branches: - fedora-all - epel-9 + - epel-8 + - job: bodhi_update trigger: commit packit_instances: ["stg"] dist_git_branches: - fedora-branched # rawhide updates are created automatically - epel-9 + - epel-8 diff --git a/README.packit b/README.packit index a03aeb9..9d6cbbc 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.78.0.post2+g694f5f6. +The file was generated using packit 0.78.1. diff --git a/plans/main.fmf b/plans/main.fmf index f94f1fe..7686ac7 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 8aae0b14df14935ff3153703525f14644f3fa1da + ref: 4486a88c56fdfdea0c8b1e16f32a76056e9faba3 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 35017ad..48ba7dd 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 854782d52103b1640a295b3262364a4122051452 + ref: 4b998555d18e3e7abfb7a521b3b65a34de02dc76 prepare: - how: install copr: packit/packit-dev @@ -22,3 +22,6 @@ adjust: package: python3-pip - how: shell script: pip3 install flexmock deepdiff + - when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 + because: packit doesn't support EL 8 + enabled: false diff --git a/python-specfile.spec b/python-specfile.spec index a7ba017..f628dd5 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.20.0 +Version: 0.20.2 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -71,6 +71,9 @@ Summary: %{summary} %changelog +* Mon Jul 31 2023 Packit - 0.20.2-1 +- Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261) + * Thu Jul 13 2023 Packit - 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) diff --git a/sources b/sources index a16b3f8..636f4d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.20.0.tar.gz) = 110919bc8445b743f8c480c2bb04dd007ab896b2323b79185ba5a5f85468e0806f0073e292c46458b30268f416037a321612ef7d5bcafea8764b32c166f5a316 +SHA512 (specfile-0.20.2.tar.gz) = 754a9108589822a17dce79f022c3c2edd5ae86fc3894b874afe6761f18275f7b567af8f953adc474cfe24e67672cae61df26429a5d8a087d6aff8b396f891183 From 29a303395c7bd4fb309954d6b7120cb67af36398 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 11 Aug 2023 14:26:00 +0200 Subject: [PATCH 08/19] chore: add GitHub's GPG key to Packit config Signed-off-by: Matej Focko (cherry picked from commit c90a1932f9cee1085958836e8a790ad8f80804ef) --- .packit.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 3ae2f09..14f6e78 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,6 +6,9 @@ issue_repository: https://github.com/packit/specfile copy_upstream_release_description: true +allowed_gpg_keys: + - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 + packages: specfile: upstream_package_name: specfile From 1c13ec16c9b07aed5c5fa158bc10c30686765d64 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 11 Aug 2023 14:44:30 +0200 Subject: [PATCH 09/19] chore: be explicit about GPG keys in Packit config Signed-off-by: Matej Focko (cherry picked from commit 4c376af84dfae7ef2bef896fc458763715fead2e) --- .packit.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 14f6e78..1994760 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,14 +6,13 @@ issue_repository: https://github.com/packit/specfile copy_upstream_release_description: true -allowed_gpg_keys: - - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 - packages: specfile: upstream_package_name: specfile downstream_package_name: python-specfile specfile_path: &specfile_path fedora/python-specfile.spec + allowed_gpg_keys: + - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 files_to_sync: - *specfile_path - .packit.yaml @@ -36,6 +35,8 @@ packages: upstream_package_name: specfile downstream_package_name: python-specfile specfile_path: &specfile_path_epel8 epel8/python-specfile.spec + allowed_gpg_keys: + - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 files_to_sync: - *specfile_path_epel8 - .packit.yaml From 8ea47f1e694afaa42152792fc0c0d83c01da5171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Fri, 11 Aug 2023 15:27:18 +0200 Subject: [PATCH 10/19] [packit] 0.21.0 upstream release Upstream tag: 0.21.0 Upstream commit: 56360c0a --- .packit.yaml | 6 ++---- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 6 +++++- sources | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 1994760..060174c 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -11,8 +11,6 @@ packages: upstream_package_name: specfile downstream_package_name: python-specfile specfile_path: &specfile_path fedora/python-specfile.spec - allowed_gpg_keys: - - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 files_to_sync: - *specfile_path - .packit.yaml @@ -35,8 +33,6 @@ packages: upstream_package_name: specfile downstream_package_name: python-specfile specfile_path: &specfile_path_epel8 epel8/python-specfile.spec - allowed_gpg_keys: - - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 files_to_sync: - *specfile_path_epel8 - .packit.yaml @@ -163,6 +159,7 @@ jobs: - job: koji_build trigger: commit + packages: [specfile] packit_instances: ["stg"] allowed_pr_authors: ["packit-stg", "packit"] dist_git_branches: @@ -172,6 +169,7 @@ jobs: - job: bodhi_update trigger: commit + packages: [specfile] packit_instances: ["stg"] dist_git_branches: - fedora-branched # rawhide updates are created automatically diff --git a/README.packit b/README.packit index 9d6cbbc..1bb774e 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.78.1. +The file was generated using packit 0.69.0.post78+g1d260fb.d20230418. diff --git a/plans/main.fmf b/plans/main.fmf index 7686ac7..87402eb 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 4486a88c56fdfdea0c8b1e16f32a76056e9faba3 + ref: 56360c0a80b102065e71ccee587b155dfc83317e execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 48ba7dd..f901d66 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 4b998555d18e3e7abfb7a521b3b65a34de02dc76 + ref: 804c96beeb46dbb0ef209e545bd46735809628a0 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index f628dd5..d3eea4d 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.20.2 +Version: 0.21.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -71,6 +71,10 @@ Summary: %{summary} %changelog +* Fri Aug 11 2023 Nikola Forró - 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 - 0.20.2-1 - Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261) diff --git a/sources b/sources index 636f4d0..0540e27 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.20.2.tar.gz) = 754a9108589822a17dce79f022c3c2edd5ae86fc3894b874afe6761f18275f7b567af8f953adc474cfe24e67672cae61df26429a5d8a087d6aff8b396f891183 +SHA512 (specfile-0.21.0.tar.gz) = 9860109203c69a586ce3759c983c550ae150aaed9744cf7db740c9bce2e11e5192b0153f923f584d8f8b526d61dca08b308519913c7aa5587e7a09e92487426a From db06a70091f1fbb0d9eb93cb3967d986637d3cd1 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 1 Sep 2023 13:39:03 +0000 Subject: [PATCH 11/19] [packit] 0.22.0 upstream release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-f38-update-propose_downstream ``` --- .packit.yaml | 10 ++++++++++ README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 4 ++-- plans/performance.fmf | 11 +++++++++++ python-specfile.spec | 7 +++++-- sources | 2 +- 7 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 plans/performance.fmf diff --git a/.packit.yaml b/.packit.yaml index 060174c..1a4f6a8 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -124,15 +124,25 @@ jobs: - job: tests trigger: pull_request packages: [specfile] + tmt_plan: "smoke|full|packit-integration" targets: - fedora-all - epel-9 - job: tests trigger: pull_request packages: [specfile-epel8] + tmt_plan: "smoke|full" targets: - epel-8 + - job: tests + trigger: pull_request + packages: [specfile] + identifier: performance + tmt_plan: performance + targets: + - fedora-rawhide + - job: propose_downstream trigger: release packages: [specfile] diff --git a/README.packit b/README.packit index 1bb774e..00f69f2 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0.post78+g1d260fb.d20230418. +The file was generated using packit 0.79.1.post8+g73d04ae8. diff --git a/plans/main.fmf b/plans/main.fmf index 87402eb..4003017 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 56360c0a80b102065e71ccee587b155dfc83317e + ref: e49e5e3ff191480046b4c509feacbc0973907d11 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index f901d66..3306185 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 804c96beeb46dbb0ef209e545bd46735809628a0 + ref: 6208d3bf6bd7b22fcf9e7658e1ffd163fbab0b62 prepare: - how: install copr: packit/packit-dev @@ -21,7 +21,7 @@ adjust: - how: install package: python3-pip - how: shell - script: pip3 install flexmock deepdiff + script: pip3 install flexmock deepdiff==6.3.1 - when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 because: packit doesn't support EL 8 enabled: false diff --git a/plans/performance.fmf b/plans/performance.fmf new file mode 100644 index 0000000..bf8bf53 --- /dev/null +++ b/plans/performance.fmf @@ -0,0 +1,11 @@ +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 diff --git a/python-specfile.spec b/python-specfile.spec index d3eea4d..2c58fcb 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -13,7 +13,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.21.0 +Version: 0.22.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -62,7 +62,7 @@ Summary: %{summary} %if %{with tests} %check -%pytest +%pytest --verbose tests/unit tests/integration %endif @@ -71,6 +71,9 @@ Summary: %{summary} %changelog +* Fri Sep 01 2023 Packit - 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ó - 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) diff --git a/sources b/sources index 0540e27..e0e8067 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.21.0.tar.gz) = 9860109203c69a586ce3759c983c550ae150aaed9744cf7db740c9bce2e11e5192b0153f923f584d8f8b526d61dca08b308519913c7aa5587e7a09e92487426a +SHA512 (specfile-0.22.0.tar.gz) = dec198fb81449a5465be00b6e86aebb75287b8ae83cfb6393a08af0711f426342c1cfa9de86bb846d87544025579575e31c0da63944bf8cbf91f92daf30acf01 From e7faa88397c61464fb2973896e1cdc245ab8d374 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 6 Oct 2023 13:14:10 +0000 Subject: [PATCH 12/19] [packit] 0.22.1 upstream release Upstream tag: 0.22.1 Upstream commit: 0af08c92 --- README.packit | 2 +- plans/full.fmf | 8 -------- plans/main.fmf | 2 +- plans/packit-integration.fmf | 6 +++--- python-specfile.spec | 14 ++++++++------ sources | 2 +- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/README.packit b/README.packit index 00f69f2..21ea346 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.79.1.post8+g73d04ae8. +The file was generated using packit 0.82.0.post1.dev20+g6670daea. diff --git a/plans/full.fmf b/plans/full.fmf index 0b0a12f..36b58ec 100644 --- a/plans/full.fmf +++ b/plans/full.fmf @@ -2,11 +2,3 @@ summary: Unit & integration tests discover+: filter: tier:1 -adjust: - - when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9" - because: "flexmock is not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251" - prepare: - - how: install - package: python3-pip - - how: shell - script: pip3 install flexmock diff --git a/plans/main.fmf b/plans/main.fmf index 4003017..8a9e14c 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: e49e5e3ff191480046b4c509feacbc0973907d11 + ref: 0af08c92db46a042cff83d7e4647be398dba843e execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 3306185..24734e8 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 6208d3bf6bd7b22fcf9e7658e1ffd163fbab0b62 + ref: 7581995d78074a7a5bbd87b1fab410a40d18f8ed prepare: - how: install copr: packit/packit-dev @@ -16,12 +16,12 @@ adjust: how: install directory: noarch/ - when: distro == rhel-9 or distro == centos-9 or distro == centos-stream-9 - because: 'flexmock and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251' + 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 flexmock deepdiff==6.3.1 + script: pip3 install build deepdiff - when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 because: packit doesn't support EL 8 enabled: false diff --git a/python-specfile.spec b/python-specfile.spec index 2c58fcb..55167b9 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -1,9 +1,4 @@ -%if 0%{?rhel} == 9 -# RHEL 9 is missing python-flexmock -%bcond_with tests -%else %bcond_without tests -%endif %global desc %{expand: @@ -13,7 +8,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.22.0 +Version: 0.22.1 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -46,6 +41,10 @@ Summary: %{summary} %prep %autosetup -p1 -n specfile-%{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} @@ -71,6 +70,9 @@ Summary: %{summary} %changelog +* Fri Oct 06 2023 Packit - 0.22.1-1 +- Removed dependency on setuptools-scm-git-archive. (#290) + * Fri Sep 01 2023 Packit - 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) diff --git a/sources b/sources index e0e8067..9b9a431 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.22.0.tar.gz) = dec198fb81449a5465be00b6e86aebb75287b8ae83cfb6393a08af0711f426342c1cfa9de86bb846d87544025579575e31c0da63944bf8cbf91f92daf30acf01 +SHA512 (specfile-0.22.1.tar.gz) = 5ca758b923e121ce37003967b538d97e72fca607e63e500a4126da960d210e1ebd897faa0cd446f7f346caab6eca4d899c6190e5c20322047374ca677e925458 From 31bb26e89e3e2ff2bca80212e968f8376c6e2813 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 30 Oct 2023 09:15:38 +0000 Subject: [PATCH 13/19] [packit] 0.23.0 upstream release Upstream tag: 0.23.0 Upstream commit: 0e110df4 --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index 21ea346..a7f0bd7 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.82.0.post1.dev20+g6670daea. +The file was generated using packit 0.83.0.post1.dev20+gaf7edc1f. diff --git a/plans/main.fmf b/plans/main.fmf index 8a9e14c..beddbe7 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 0af08c92db46a042cff83d7e4647be398dba843e + ref: 0e110df4b4548655ad361f8aece05fd5073cb413 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 24734e8..ee2f425 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 7581995d78074a7a5bbd87b1fab410a40d18f8ed + ref: 7351bcb14492e1accb42fd0cf4b93f00f1c37ed7 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 55167b9..213a047 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -8,7 +8,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.22.1 +Version: 0.23.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -70,6 +70,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Mon Oct 30 2023 Packit - 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 - 0.22.1-1 - Removed dependency on setuptools-scm-git-archive. (#290) diff --git a/sources b/sources index 9b9a431..41ef739 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.22.1.tar.gz) = 5ca758b923e121ce37003967b538d97e72fca607e63e500a4126da960d210e1ebd897faa0cd446f7f346caab6eca4d899c6190e5c20322047374ca677e925458 +SHA512 (specfile-0.23.0.tar.gz) = fd6458e0d3f270c8cca75f63da65982ed4ecaa9a47b88fdaae95f4430aaafd10332e397a340363a0e193d856b152d3314ba43cff00e23d55a19af9b87e119abb From bc530e413753ea458d43a6d042c9acb1e64f911a Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 6 Nov 2023 17:18:35 +0000 Subject: [PATCH 14/19] [packit] 0.24.0 upstream release Upstream tag: 0.24.0 Upstream commit: 2efbd9ce --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 6 +++++- sources | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index a7f0bd7..0c8efac 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.83.0.post1.dev20+gaf7edc1f. +The file was generated using packit 0.85.0.post1.dev13+g80a59f61. diff --git a/plans/main.fmf b/plans/main.fmf index beddbe7..82af9d3 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 0e110df4b4548655ad361f8aece05fd5073cb413 + ref: 2efbd9ce9b4316f1eba34e240be3821c83b774a0 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index ee2f425..26239d9 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 7351bcb14492e1accb42fd0cf4b93f00f1c37ed7 + ref: 80a59f612fd70d709f9e8c7da141118e17aa7a56 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 213a047..d1ae9bc 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -8,7 +8,7 @@ in a minimal diff.} Name: python-specfile -Version: 0.23.0 +Version: 0.24.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files @@ -70,6 +70,10 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Mon Nov 06 2023 Packit - 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 - 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) diff --git a/sources b/sources index 41ef739..da16e02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.23.0.tar.gz) = fd6458e0d3f270c8cca75f63da65982ed4ecaa9a47b88fdaae95f4430aaafd10332e397a340363a0e193d856b152d3314ba43cff00e23d55a19af9b87e119abb +SHA512 (specfile-0.24.0.tar.gz) = e5728f0b0bfa9c2bcf102d1e65d5182b94e34af2228ef655cc28c83d8f60fa4d08432c61bcf9f6c1c8c3d4aeea0bf1595bead542687d3c2690fe3ddaae34325f From 56da256f33f8590bf698206d4c5beae94e551f9f Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 20 Nov 2023 15:02:37 +0000 Subject: [PATCH 15/19] [packit] 0.25.0 upstream release Upstream tag: 0.25.0 Upstream commit: 78f50b4a --- .packit.yaml | 4 ++++ README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 16 +++++++++++++--- sources | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 1a4f6a8..3b4d032 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -4,6 +4,10 @@ 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: diff --git a/README.packit b/README.packit index 0c8efac..2d6dd96 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.85.0.post1.dev13+g80a59f61. +The file was generated using packit 0.86.1.post1.dev5+g8b1868cd. diff --git a/plans/main.fmf b/plans/main.fmf index 82af9d3..ad7f0bd 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 2efbd9ce9b4316f1eba34e240be3821c83b774a0 + ref: 78f50b4a097245938a00e27e7b7165c8eb00ec3b execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 26239d9..bba32ab 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 80a59f612fd70d709f9e8c7da141118e17aa7a56 + ref: 209847d1ff49e4bc4d1099e77b2b0790bc680a04 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index d1ae9bc..a881aec 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,15 +7,22 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} +%global base_version 0.25.0 +#global prerelease rc2 + +%global package_version %{base_version}%{?prerelease:~%{prerelease}} +%global pypi_version %{base_version}%{?prerelease} + + Name: python-specfile -Version: 0.24.0 +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: %{pypi_source specfile} +Source0: %{pypi_source specfile %{pypi_version}} BuildArch: noarch @@ -39,7 +46,7 @@ Summary: %{summary} %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 @@ -70,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Mon Nov 20 2023 Packit - 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 - 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) diff --git a/sources b/sources index da16e02..0e78caa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.24.0.tar.gz) = e5728f0b0bfa9c2bcf102d1e65d5182b94e34af2228ef655cc28c83d8f60fa4d08432c61bcf9f6c1c8c3d4aeea0bf1595bead542687d3c2690fe3ddaae34325f +SHA512 (specfile-0.25.0.tar.gz) = 9e3d2f3665ccd713c7e2c50f01656c2b9e157bab88c90be38053ac94e20feab2c3f8d5f1f7dbc0ae543e7ad101fc3db7c5bfbfed249537a999608d5bb737eaf9 From bd9bac6f258f18d5f13f1cc1855169b1f64a1bed Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 19 Jan 2024 13:31:18 +0000 Subject: [PATCH 16/19] [packit] 0.27.0 upstream release Upstream tag: 0.27.0 Upstream commit: 1789f9c6 --- .packit.yaml | 4 ++-- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 7 +++++-- sources | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 3b4d032..d0fdee9 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -5,8 +5,8 @@ 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 +prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?" +prerelease_suffix_macro: prerelease copy_upstream_release_description: true diff --git a/README.packit b/README.packit index 2d6dd96..2a36d18 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.86.1.post1.dev5+g8b1868cd. +The file was generated using packit 0.88.0.post1.dev9+g9c8f50e3. diff --git a/plans/main.fmf b/plans/main.fmf index ad7f0bd..2e12632 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 78f50b4a097245938a00e27e7b7165c8eb00ec3b + ref: 1789f9c67c37da87ffdc967ad9311c4881013077 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index bba32ab..14f21ba 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 209847d1ff49e4bc4d1099e77b2b0790bc680a04 + ref: f3df29535cfdefd44febe79cb4a883627c085db0 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index a881aec..b472dab 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,8 +7,8 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.25.0 -#global prerelease rc2 +%global base_version 0.27.0 +#global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} %global pypi_version %{base_version}%{?prerelease} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Fri Jan 19 2024 Packit - 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 - 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) diff --git a/sources b/sources index 0e78caa..b70f9d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.25.0.tar.gz) = 9e3d2f3665ccd713c7e2c50f01656c2b9e157bab88c90be38053ac94e20feab2c3f8d5f1f7dbc0ae543e7ad101fc3db7c5bfbfed249537a999608d5bb737eaf9 +SHA512 (specfile-0.27.0.tar.gz) = 8363e7e589ca1b130f0b27aaef08ae030d7c363cfbccb0e55373cc4f7d120ceadc9afa842eb51121674a0c14930c100b26640108bf60db449f89a1eeecde1785 From bb1f799d2bbe0ca33f3de8da03e952ced2ff8c02 Mon Sep 17 00:00:00 2001 From: Packit Date: Sun, 17 Mar 2024 15:08:11 +0000 Subject: [PATCH 17/19] [packit] 0.28.0 upstream release Upstream tag: 0.28.0 Upstream commit: cdf06f20 --- README.packit | 2 +- plans/git_reference.py | 3 +++ plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index 2a36d18..38c0a99 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.88.0.post1.dev9+g9c8f50e3. +The file was generated using packit 0.93.0.post1.dev5+g0048024e. diff --git a/plans/git_reference.py b/plans/git_reference.py index 6517cfe..fe4e906 100644 --- a/plans/git_reference.py +++ b/plans/git_reference.py @@ -1,5 +1,8 @@ #!/usr/bin/python +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT + import subprocess from pathlib import Path diff --git a/plans/main.fmf b/plans/main.fmf index 2e12632..1289312 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 1789f9c67c37da87ffdc967ad9311c4881013077 + ref: cdf06f20715f661b1a5f478320eee2b48c2ba287 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 14f21ba..e0e9738 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: f3df29535cfdefd44febe79cb4a883627c085db0 + ref: 0048024ec6564008a703140254c4394158b6ed67 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index b472dab..e57f771 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.27.0 +%global base_version 0.28.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Sun Mar 17 2024 Packit - 0.28.0-1 +- A trailing newline is no longer added to spec files without one upon saving. (#353) + * Fri Jan 19 2024 Packit - 0.27.0-1 - Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`. (#338) diff --git a/sources b/sources index b70f9d7..0025f98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.27.0.tar.gz) = 8363e7e589ca1b130f0b27aaef08ae030d7c363cfbccb0e55373cc4f7d120ceadc9afa842eb51121674a0c14930c100b26640108bf60db449f89a1eeecde1785 +SHA512 (specfile-0.28.0.tar.gz) = 1f2ab8e5cf492aec1e9b11583d88ae3de1fc9d9512d5a5c289b5d83d54c69eeb6d410971997328d1de3f82cd411b7d10cf7982de44084ede9745b87db7c0d9b8 From 44b65b130411bbc7f13cbf51bf32c4db4b018eb2 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 26 Mar 2024 11:35:36 +0000 Subject: [PATCH 18/19] [packit] 0.28.1 upstream release Upstream tag: 0.28.1 Upstream commit: a14e6887 --- .packit.yaml | 1 + README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- plans/performance.fmf | 4 ++++ python-specfile.spec | 5 ++++- sources | 2 +- 7 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index d0fdee9..0512035 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -185,6 +185,7 @@ jobs: trigger: commit packages: [specfile] packit_instances: ["stg"] + allowed_builders: ["packit-stg", "packit"] dist_git_branches: - fedora-branched # rawhide updates are created automatically - epel-9 diff --git a/README.packit b/README.packit index 38c0a99..d3bd2a6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.93.0.post1.dev5+g0048024e. +The file was generated using packit 0.94.0.post1.dev11+gfe946257. diff --git a/plans/main.fmf b/plans/main.fmf index 1289312..037980f 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: cdf06f20715f661b1a5f478320eee2b48c2ba287 + ref: a14e6887852b6e831e3a0c4f9c4230768f2afc4d execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index e0e9738..7a72ff3 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: 0048024ec6564008a703140254c4394158b6ed67 + ref: fe9462574c5e15f02c10cf8f6049a3d6c1671040 prepare: - how: install copr: packit/packit-dev diff --git a/plans/performance.fmf b/plans/performance.fmf index bf8bf53..341d17e 100644 --- a/plans/performance.fmf +++ b/plans/performance.fmf @@ -9,3 +9,7 @@ prepare: 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 diff --git a/python-specfile.spec b/python-specfile.spec index e57f771..5679813 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.28.0 +%global base_version 0.28.1 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Tue Mar 26 2024 Packit - 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 - 0.28.0-1 - A trailing newline is no longer added to spec files without one upon saving. (#353) diff --git a/sources b/sources index 0025f98..3383536 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.28.0.tar.gz) = 1f2ab8e5cf492aec1e9b11583d88ae3de1fc9d9512d5a5c289b5d83d54c69eeb6d410971997328d1de3f82cd411b7d10cf7982de44084ede9745b87db7c0d9b8 +SHA512 (specfile-0.28.1.tar.gz) = 2308ad3124f937fa168f925aaa2489998a0b5a572cd0c0fa7e949bd615ef4a01b272183d0eb5ac0ea45df52e57da35d428d816096e1eac29fea316a9e9043d27 From 71ef7efb6702d035615034814c4a765d5393b4ca Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 8 Apr 2024 13:58:23 +0000 Subject: [PATCH 19/19] 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/) --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 6 +++++- sources | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.packit b/README.packit index d3bd2a6..67f09b6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.94.0.post1.dev11+gfe946257. +The file was generated using packit 0.94.1.post1.dev6+g1c8e91f7. diff --git a/plans/main.fmf b/plans/main.fmf index 037980f..3f62775 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: a14e6887852b6e831e3a0c4f9c4230768f2afc4d + ref: 904cb3b5c7fa9a03ab442c81c14cd443bbe0c841 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 7a72ff3..204ff8b 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tier:0 | tier:1 - ref: fe9462574c5e15f02c10cf8f6049a3d6c1671040 + ref: f760ddec7887881115001a79235034e0ad5496d1 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 5679813..9e4e431 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.28.1 +%global base_version 0.28.2 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,10 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Mon Apr 08 2024 Packit - 0.28.2-1 +- Handling of trailing newlines in the macro defintions has been improved. (#361) +- Resolves: rhbz#2271583 + * Tue Mar 26 2024 Packit - 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) diff --git a/sources b/sources index 3383536..8699b34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.28.1.tar.gz) = 2308ad3124f937fa168f925aaa2489998a0b5a572cd0c0fa7e949bd615ef4a01b272183d0eb5ac0ea45df52e57da35d428d816096e1eac29fea316a9e9043d27 +SHA512 (specfile-0.28.2.tar.gz) = 3478cd95445cd4131cbb5f2f5673884f72d8cdc72543de8179875e3861796475f0d6fe74aa334185877a28f299eb385e3b970e72249cbec1fbff47316fe122e5