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