Name: python-codext Version: 2.0.1 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Native codecs extension # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: GPL-3.0-or-later URL: https://github.com/dhondta/python-codext Source: %{pypi_source codext} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'codext' generated automatically by pyp2spec.} %description %_description %package -n python3-codext Summary: %{summary} %description -n python3-codext %_description # For official Fedora packages, review which extras should be actually packaged # See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Extras %pyproject_extras_subpkg -n python3-codext argon2,bcrypt %prep %autosetup -p1 -n codext-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x argon2,bcrypt %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 %check %_pyproject_check_import_allow_no_modules -t %files -n python3-codext -f %{pyproject_files} %{_bindir}/base1 %{_bindir}/base10 %{_bindir}/base100 %{_bindir}/base1024 %{_bindir}/base122 %{_bindir}/base128-latin1 %{_bindir}/base131072 %{_bindir}/base16 %{_bindir}/base2 %{_bindir}/base2048 %{_bindir}/base256 %{_bindir}/base26 %{_bindir}/base3 %{_bindir}/base32 %{_bindir}/base32-crockford %{_bindir}/base32-geohash %{_bindir}/base32-hex %{_bindir}/base32-z %{_bindir}/base32768 %{_bindir}/base36 %{_bindir}/base38 %{_bindir}/base4 %{_bindir}/base45 %{_bindir}/base58-bitcoin %{_bindir}/base58-flickr %{_bindir}/base58-ripple %{_bindir}/base62 %{_bindir}/base63 %{_bindir}/base64 %{_bindir}/base64-url %{_bindir}/base65536 %{_bindir}/base67 %{_bindir}/base69 %{_bindir}/base8 %{_bindir}/base85 %{_bindir}/base85-adobe %{_bindir}/base85-ipv6 %{_bindir}/base85-xbtoa %{_bindir}/base85-xml %{_bindir}/base85-zeromq %{_bindir}/base91 %{_bindir}/codext %{_bindir}/unbase %changelog %autochangelog