Name: python-releases Version: 1.6.3 Release: 1%{?dist} Summary: A powerful Sphinx changelog-generating extension. License: BSD 2-Clause URL: https://github.com/bitprophet/releases Source0: %{url}/archive/%{version}/releases-%{version}.tar.gz Patch0: 0001-fix-semantic-version.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-wheel BuildRequires: python-semantic_version BuildRequires: python3-pip BuildRequires: python3-sphinx BuildRequires: python3-pytest Requires: python-semantic_version #BuildRequires: twine %global _description %{expand: Releases is a Python (2.7, 3.4+) compatible Sphinx (1.8+) extension designed to help you keep a source control friendly, merge friendly changelog file & turn it into useful, human readable HTML output.} %description %_description %package -n python3-releases Summary: A powerful Sphinx changelog-generating extension. %description -n python3-releases %_description %prep %autosetup -p1 -n releases-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files releases %files -n python3-releases -f %{pyproject_files} %doc README.* #%{_bindir}/... %changelog * Wed Feb 23 2022 Leo Puvilland - 2.8.10-1 - Initial package