#36 Provide python3.4 + keep LICENSE in lib
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python34 provide_license  into  master

file modified
+5 -2
@@ -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}

no initial comment

Pull-Request has been merged by churchyard

4 years ago