#2 Python3 build for EPEL 7
Merged a year ago by lsedlar. Opened a year ago by stevetraylen.
rpms/ stevetraylen/python-gitdb py3  into  epel7

file modified
+10 -7
@@ -1,4 +1,4 @@ 

- %if 0%{?fedora} > 12

+ %if 0%{?fedora} > 12 || 0%{el7}

  %global with_python3 1

  %else

  %if 0%{?rhel} && 0%{?rhel} <= 7
@@ -11,7 +11,7 @@ 

  

  Name:           python-gitdb

  Version:        0.6.4

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        A pure-Python git object database

  

  Group:          Development/Languages
@@ -29,12 +29,12 @@ 

  operate on large objects with a small memory footprint.

  

  %if 0%{?with_python3}

- %package -n python3-gitdb

+ %package -n python%{python3_pkgversion}-gitdb

  Summary:        Python3 Git Library

- Requires:       python3-smmap

- BuildRequires:  python3-devel, python3-nose, python3-setuptools

+ Requires:       python%{python3_pkgversion}-smmap

+ BuildRequires:  python3-devel, python%{python3_pkgversion}-nose, python3-setuptools

  

- %description -n python3-gitdb

+ %description -n python%{python3_pkgversion}-gitdb

  %{description}

  %endif

  
@@ -93,7 +93,7 @@ 

  %{python2_sitearch}/gitdb/

  

  %if 0%{?with_python3}

- %files -n python3-gitdb

+ %files -n python%{python3_pkgversion}-gitdb

  %license LICENSE

  %doc AUTHORS

  %{python3_sitearch}/gitdb-%{version}-py?.?.egg-info
@@ -101,6 +101,9 @@ 

  %endif

  

  %changelog

+ * Tue Jan 28 2020 Steve Traylen <steve.traylen@cern.ch> - 0.6.4-5

+ - Build python3 version

+ 

  * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild