| |
@@ -183,6 +183,9 @@
|
| |
BuildRequires: python-pip-wheel
|
| |
%endif
|
| |
|
| |
+ # People might want to dnf install pythonX.Y instead of pythonXY
|
| |
+ Provides: python%{pybasever} = %{version}-%{release}
|
| |
+
|
| |
# =======================
|
| |
# Source code and patches
|
| |
# =======================
|
| |
@@ -971,7 +974,6 @@
|
| |
# Get rid of backup files:
|
| |
find %{buildroot}/ -name "*~" -exec rm -f {} \;
|
| |
find . -name "*~" -exec rm -f {} \;
|
| |
- rm -f %{buildroot}%{pylibdir}/LICENSE.txt
|
| |
# Junk, no point in putting in -test sub-pkg
|
| |
rm -f ${RPM_BUILD_ROOT}/%{pylibdir}/idlelib/testcode.py*
|
| |
|
| |
@@ -1143,8 +1145,9 @@
|
| |
|
| |
|
| |
%files
|
| |
- %doc LICENSE README
|
| |
+ %doc README
|
| |
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
| |
+ %license %{pylibdir}/LICENSE.txt
|
| |
|
| |
%{_bindir}/pydoc%{pybasever}
|
| |
%{_bindir}/python%{pybasever}
|
| |