#9 Rename python36-pbr to python3-pbr
Opened 2 years ago by carlwgeorge. Modified 5 months ago
rpms/ carlwgeorge/python-pbr epel7-python3  into  epel7

file modified
+11 -8
@@ -5,7 +5,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        4.2.0

- Release:        3%{?dist}

+ Release:        4%{?dist}

  Summary:        Python Build Reasonableness

  

  License:        ASL 2.0
@@ -52,16 +52,16 @@ 

  

  

  %if 0%{?with_python3}

- %package -n python%{python3_pkgversion}-%{pypi_name}

+ %package -n python3-%{pypi_name}

  Summary:        Python Build Reasonableness

- %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}

+ %{?python_provide:%python_provide python3-%{pypi_name}}

  

- BuildRequires:  python%{python3_pkgversion}-devel

- BuildRequires:  python%{python3_pkgversion}-setuptools

- Requires:       python%{python3_pkgversion}-setuptools

+ BuildRequires:  python3-devel

+ BuildRequires:  python3-setuptools

+ Requires:       python3-setuptools

  Requires:       git-core

  

- %description -n python%{python3_pkgversion}-%{pypi_name}

+ %description -n python3-%{pypi_name}

  Manage dynamic plugins for Python applications

  

  %if 0%{?python3_other_pkgversion}
@@ -133,7 +133,7 @@ 

  %{python2_sitelib}/%{pypi_name}

  

  %if 0%{?with_python3}

- %files -n python%{python3_pkgversion}-pbr

+ %files -n python3-pbr

  %license LICENSE

  %doc html README.rst

  %{_bindir}/pbr-%{python3_version}
@@ -151,6 +151,9 @@ 

  %endif

  

  %changelog

+ * Thu Dec 24 2020 Carl George <carl@george.computer> - 4.2.0-4

+ - Rename python36-pbr to python3-pbr

+ 

  * Fri Mar 08 2019 Troy Dawson <tdawson@redhat.com> - 4.2.0-3

  - Rebuilt to change main python from 3.4 to 3.6

  

This aligns the package name with the RHEL7 python3 package naming scheme. It will still provide python36-pbr to satisfy other dependencies.

It looks like this is still applicable?