Name: python-scc4onnx Version: 1.0.7 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Very simple NCHW and NHWC conversion tool for ONNX. Change to the specified input order for each and every input OP. Also, change the channel order of RGB and BGR. Simple Channel Converter for ONNX. Simple Channel Conversion for ONNX. # No license information obtained, it's up to the packager to fill it in License: ... URL: https://github.com/PINTO0309/scc4onnx Source: %{pypi_source scc4onnx} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'scc4onnx' generated automatically by pyp2spec.} %description %_description %package -n python3-scc4onnx Summary: %{summary} %description -n python3-scc4onnx %_description %prep %autosetup -p1 -n scc4onnx-%{version} %generate_buildrequires %pyproject_buildrequires %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-scc4onnx -f %{pyproject_files} %changelog %autochangelog