%global debug_package %{nil} Name: python-cx_Freeze Version: 6.8.4 Release: 1%{dist} Summary: Create standalone executables from Python scripts # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: PSF-2.0 URL: https://pypi.org/project/cx-Freeze/ Source: https://files.pythonhosted.org/packages/16/3a/7416f87c685001abeefc3074036725d1a28dd4bc44959fd6b69d45ef0bcc/cx_Freeze-%{version}.tar.gz BuildRequires: pyproject-rpm-macros BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-pytest # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'cx_freeze' generated automatically by pyp2spec.} %description %_description Summary: %{summary} %description %_description %prep %autosetup -p1 -n cx_Freeze-%{version} %build %pyproject_wheel %install %pyproject_install # For official Fedora packages, including files with '*' +auto is not allowed # Replace it with a list of relevant Python modules/globs and list extra files in %%files %pyproject_save_files '*' +auto %files %{python3_sitearch}/cx_Freeze/* %{python3_sitearch}/cx_Freeze-%{version}.dist-info/* %{_bindir}/cxfreeze %{_bindir}/cxfreeze-quickstart