Name: python-bugbug Version: 0.0.651 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: ML tools for Mozilla projects # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MPL-2.0 URL: ... Source: %{pypi_source bugbug} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'bugbug' generated automatically by pyp2spec.} %description %_description %package -n python3-bugbug Summary: %{summary} %description -n python3-bugbug %_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-bugbug nlp,nn,perf-regression-predictor %prep %autosetup -p1 -n bugbug-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x nlp,nn,perf-regression-predictor %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-bugbug -f %{pyproject_files} %{_bindir}/bugbug-analyze-training-metrics %{_bindir}/bugbug-check %{_bindir}/bugbug-check-all-metrics %{_bindir}/bugbug-ci-failures-retriever %{_bindir}/bugbug-classify-bug %{_bindir}/bugbug-classify-comment %{_bindir}/bugbug-classify-commit %{_bindir}/bugbug-data-bugzilla %{_bindir}/bugbug-data-commits %{_bindir}/bugbug-data-github %{_bindir}/bugbug-data-perf-alerts %{_bindir}/bugbug-data-revisions %{_bindir}/bugbug-data-test-scheduling-history %{_bindir}/bugbug-fixed-comments %{_bindir}/bugbug-generate-landings-risk-report %{_bindir}/bugbug-maintenance-effectiveness-indicator %{_bindir}/bugbug-microannotate-generate %{_bindir}/bugbug-past-bugs-by-unit %{_bindir}/bugbug-predict-perf-regression %{_bindir}/bugbug-regressor-finder %{_bindir}/bugbug-retrieve-training-metrics %{_bindir}/bugbug-shadow-scheduler-stats %{_bindir}/bugbug-testing-policy-stats %{_bindir}/bugbug-train %{_bindir}/bugbug-try-pushes-retriever %{_bindir}/bugbug-validate-review-context %changelog %autochangelog