%global debug_package %{nil} Name: pyinstaller Version: 4.7 Release: 1%{?dist} Summary: PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. License: GPL URL: http://www.pyinstaller.org/ Source0: %{name}-%{version}.tar.gz %description PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. %package -n python%{python3_pkgversion}-pyinstaller Summary: Python3 version of PyInstaller BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools-wheel BuildRequires: zlib-devel Requires: python%{python3_pkgversion}-altgraph Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-pyinstaller_hooks_contrib Provides: python%{python3_pkgversion}-PyInstaller = %{version}-%{release} %{?python_provide:%python_provide python%{python3_pkgversion}-pyinstaller} %description -n python%{python3_pkgversion}-pyinstaller PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. %prep %autosetup %build %py3_build %install %py3_install for file in %{buildroot}%{_bindir}/*; do mv $file $file.py3 done %files -n python%{python3_pkgversion}-pyinstaller %{python3_sitelib}/PyInstaller/* %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/* %{_bindir}/*.py3