Name: python-durationpy Version: 0.9 Release: %autorelease Summary: Module for converting between datetime.timedelta and Go's Duration strings License: MIT URL: https://github.com/icholy/durationpy Source: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Module for converting between datetime.timedelta and Go's Duration strings} %description %_description %package -n python3-durationpy Summary: %{summary} %description -n python3-durationpy %_description %prep %autosetup -p1 -n durationpy-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l durationpy %check %tox %files -n python3-durationpy -f %{pyproject_files} %license LICENSE %changelog %autochangelog