Name: toot Version: 0.27.0 Release: 1%{?dist} Summary: A mastodon CLI client License: GPL-3 BuildArch: noarch URL: https://github.com/ihabunek/toot Source: https://github.com/ihabunek/toot/releases/download/%{version}/toot-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-requests Requires: python3-beautifulsoup4 Requires: python3-wcwidth Requires: python3-urwid %description Toot is a CLI and TUI tool for interacting with Mastodon instances from the command line. %prep %autosetup find toot/ -name "*.py" -exec sed -i 's|#!%{_bindir}/env python|#!%{__python3}|' {} ";" find toot/ -name "*.py" -exec sed -i 's|#!%{_bindir}/python|#!%{__python3}|' {} ";" %build %py3_build %install %py3_install %files %doc README.* %{_bindir}/%{name} %{python3_sitelib}/%{name}* %changelog * Thu Sep 29 2020 Yury Martynov 0.27.0-1 - Initial packaging.