#1 Add support for epel9: make pytest-xdist optional (rhbz#2031940)
Closed 2 years ago by nphilipp. Opened 2 years ago by gotmax23.
rpms/ gotmax23/python-rpmautospec rawhide  into  epel9

file modified
+8 -2
@@ -2,7 +2,7 @@ 

  

  Name:           python-rpmautospec

  Version:        0.2.6

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Package and CLI tool to generate release fields and changelogs

  

  License:        MIT
@@ -22,7 +22,9 @@ 

  BuildRequires:  python3-pygit2

  BuildRequires:  python%{python3_pkgversion}-pytest

  BuildRequires:  python%{python3_pkgversion}-pytest-cov

+ %if %{undefined el9}

  BuildRequires:  python%{python3_pkgversion}-pytest-xdist

+ %endif

  BuildRequires:  python%{python3_pkgversion}-pyyaml

  

  Obsoletes:      koji-hub-plugin-rpmautospec < 0.1.5-2
@@ -118,9 +120,13 @@ 

  install -m 644  rpm/macros.d/macros.rpmautospec %{buildroot}%{rpmmacrodir}/

  

  %check

- %{__python3} -m pytest -n auto

+ %{__python3} -m pytest%{?!el9: -n auto}

  

  %changelog

+ * Tue May 10 2022 Maxwell G <gotmax@e.email> - 0.2.6-2

+ - Add support for epel9: make pytest-xdist optional.

+ - Resolves: rhbz#2031940.

+ 

  * Mon Apr 25 2022 Nils Philippsen <nils@redhat.com> - 0.2.6-1

  - Update to 0.2.6

  - Require python3-pytest-xdist for building

rebased onto bd27330

2 years ago

Hi. Thanks for the patch!

I've meanwhile fixed this slightly differently (see commit 3722993), so I'll close this one.

Pull-Request has been closed by nphilipp

2 years ago
Metadata