Skip to content

Commit

Permalink
rpm spec: add missing requires of typing_extensions for python < 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Aug 1, 2023
1 parent 718b82b commit 210ab23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package/python-kiwi-spec-template
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ Requires: screen
Requires: python%{python3_pkgversion} >= 3.6
%if 0%{?ubuntu} || 0%{?debian}
Requires: python%{python3_pkgversion}-yaml
Requires: python%{python3_pkgversion}-typing-extensions
%else
Requires: python%{python3_pkgversion}-PyYAML
%endif
Expand All @@ -374,6 +375,12 @@ Requires: python%{python3_pkgversion}-docopt
Requires: python%{python3_pkgversion}-lxml
Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-setuptools
%if 0%{?rhel} || 0%{?fedora}
Requires: (python%{python3_pkgversion}-typing-extensions if python%{python3_pkgversion} < 3.8)
%endif
%if 0%{?suse_version}
Requires: (python%{python3_pkgversion}-typing_extensions if python%{python3_pkgversion} < 3.8)
%endif
%if ! (0%{?rhel} && 0%{?rhel} < 8)
Recommends: kiwi-man-pages
%endif
Expand Down

0 comments on commit 210ab23

Please sign in to comment.