Name: python-payload-dumper Version: 0.2.1 Release: 3 Summary: Dump partitions from Android's payload.bin # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: AGPL URL: https://github.com/huakim/payload-dumper Source: payload_dumper-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(protobuf) BuildRequires: python3dist(bsdiff4) BuildRequires: python3dist(enlighten) BuildRequires: python3dist(pip) BuildRequires: python3dist(poetry) # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'payload_dumper' generated automatically by pyp2spec.} %description %_description %package -n python3-payload-dumper Summary: %{summary} %description -n python3-payload-dumper %_description %prep %autosetup -p1 -n payload_dumper-%{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 %check %pyproject_check_import %files -n python3-payload-dumper -f %{pyproject_files} %changelog %autochangelog