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