#1 Fix conditionals to support RHEL 9
Closed 2 years ago by praiskup. Opened 2 years ago by churchyard.
rpms/ churchyard/python-copr epel9-fix-conds  into  epel9

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

  

  %{?python_provide:%python_provide python3-copr}

  

- %if 0%{?fedora} > 30

- BuildRequires: pyproject-rpm-macros

+ %if 0%{?fedora} > 30 || 0%{?rhel} >= 9

+ BuildRequires: python3-devel

  BuildRequires: python3-sphinx

  BuildRequires: python3-pytest

  BuildRequires: python3-mock

This still doesn't build, due to missing python3-mock: you should use the standard library unittest.mock instead, see https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

Moving upstream, this will get merged with updated packages this week.

Moving upstream, this will get merged with updated packages this week.

Pull-Request has been closed by praiskup

2 years ago
Metadata