Name: python-edk2-pytool-extensions Version: 0.31.3 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Python tools supporting UEFI EDK2 firmware development # No license information obtained, it's up to the packager to fill it in License: ... URL: https://github.com/tianocore/edk2-pytool-extensions Source: %{pypi_source edk2_pytool_extensions} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'edk2-pytool-extensions' generated automatically by pyp2spec.} %description %_description %package -n python3-edk2-pytool-extensions Summary: %{summary} %description -n python3-edk2-pytool-extensions %_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-edk2-pytool-extensions dev,docs,openssl,perf,publish %prep %autosetup -p1 -n edk2_pytool_extensions-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x dev,docs,openssl,perf,publish %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-edk2-pytool-extensions -f %{pyproject_files} %{_bindir}/edk2_capsule_tool %{_bindir}/firmware_policy_tool %{_bindir}/fpdt_parser %{_bindir}/nuget-publish %{_bindir}/omnicache %{_bindir}/patch_var_store_tool %{_bindir}/perf_report_generator %{_bindir}/secureboot_audit %{_bindir}/sig_db_tool %{_bindir}/statuscode_processor %{_bindir}/stuart_build %{_bindir}/stuart_ci_build %{_bindir}/stuart_ci_setup %{_bindir}/stuart_parse %{_bindir}/stuart_pr_eval %{_bindir}/stuart_report %{_bindir}/stuart_setup %{_bindir}/stuart_update %{_bindir}/validate_image_tool %{_bindir}/versioninfo_tool %changelog %autochangelog