| |
@@ -17,7 +17,7 @@
|
| |
#global prerel ...
|
| |
%global upstream_version %{general_version}%{?prerel}
|
| |
Version: %{general_version}%{?prerel:~%{prerel}}
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
License: Python
|
| |
|
| |
|
| |
@@ -407,6 +407,11 @@
|
| |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
| |
Recommends: %{name}%{?_isa} = %{version}-%{release}
|
| |
|
| |
+ # tkinter is part of the standard library,
|
| |
+ # but it is torn out to save an unwanted dependency on tk and X11.
|
| |
+ # we recommend it when tk is already installed (for better UX)
|
| |
+ Recommends: (%{name}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa})
|
| |
+
|
| |
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
|
| |
# In Fedora 31, several "unversioned" files like /usr/bin/pydoc and all the
|
| |
# "unversioned" provides were moved from python2 to python3.
|
| |
@@ -1555,6 +1560,9 @@
|
| |
# ======================================================
|
| |
|
| |
%changelog
|
| |
+ * Thu Nov 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0-2
|
| |
+ - Recommend python3-tkinter when tk is installed
|
| |
+
|
| |
* Mon Oct 14 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0-1
|
| |
- Update to Python 3.8.0 final
|
| |
|
| |
I got this idea when Fedora users, participants of a git workshop, haven't got tkinter installed and I thought they would have, since they already had gitk.
What do you think?
This needs a proper changelog entry, but I will add it before this is merged (if at all), to avoid conflicts with other open PRs.