pyp2rpm Installed (but unpackaged) file(s) found: /usr/bin/pybabel




Пытаюсь собрать Babel в rpm

cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core)
pip install --user pyp2rpm
pyp2rpm Babel -t epel7 -b2 -p2 > Babel-2.8.0.spec


# Created by pyp2rpm-3.3.3
%global pypi_name Babel

Name:           python-%{pypi_name}
Version:        2.8.0
Release:        1%{?dist}
Summary:        Internationalization utilities

License:        BSD
BuildArch:      noarch

BuildRequires:  python2-devel
BuildRequires:  python2-pytz >= 2015.7
BuildRequires:  python2-setuptools
BuildRequires:  python2-sphinx

A collection of tools for internationalizing Python applications.

%package -n     python2-%{pypi_name}
Summary:        Internationalization utilities

Requires:       python2-pytz >= 2015.7
%description -n python2-%{pypi_name}
A collection of tools for internationalizing Python applications.

%package -n python-%{pypi_name}-doc
Summary:        Babel documentation
%description -n python-%{pypi_name}-doc
Documentation for Babel

%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%{__python2} build
# generate html docs
PYTHONPATH=${PWD} sphinx-build docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}

%{__python2} install --skip-build --root %{buildroot}

%{__python2} test

%files -n python2-%{pypi_name}
%doc README.rst

%files -n python-%{pypi_name}-doc
%doc html
%license LICENSE docs/_themes/LICENSE docs/license.rst

* Sat Feb 22 2020 Cloud User - 2.8.0-1
- Initial package.

Как собрать Babel в rpm с помощью pyp2rpm?