Name: python-rnc2rng Version: 2.7.0 Release: %autorelease Summary: RELAX NG Compact to regular syntax conversion library License: MIT URL: https://github.com/djc/rnc2rng Source: %{pypi_source rnc2rng} # Remove useless shebangs, execute bits # https://github.com/djc/rnc2rng/pull/54 Patch: %{url}/pull/54.patch BuildSystem: pyproject BuildOption(install): -l rnc2rng BuildArch: noarch %global common_description %{expand: Converts RELAX NG schemata in Compact syntax (rnc) to the equivalent schema in the XML-based default RELAX NG syntax.} %description %{common_description} %package -n python3-rnc2rng Summary: %{summary} %description -n python3-rnc2rng %{common_description} %check -a %{py3_test_envvars} %{python3} test.py %files -n python3-rnc2rng -f %{pyproject_files} %doc AUTHORS %doc README.rst %{_bindir}/rnc2rng %changelog %autochangelog