| |
@@ -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
|
| |
CC: @salimma, @tdawson, @churchyard