Name: thefuck Version: 1.48 Release: 1%{?dist} Summary: App that corrects your previous console command License: MIT URL: https://github.com/nvbn/thefuck Source0: https://github.com/nvbn/%{name}/archive/%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-colorama BuildRequires: python3-psutil BuildRequires: python3-pip BuildRequires: python3-six Requires: python3 Requires: python3-psutil Requires: python3-six Requires: python3-colorama BuildArch: noarch %description This application corrects your previous console command. If you use BASH, you should add these lines to your .bashrc: alias fuck='eval $(thefuck $(fc -ln -1)); history -r' alias FUCK='fuck' For other shells please check /usr/share/doc/thefuck/README.md %prep %setup -q sed -i -e '/^#!\//, 1d' *.py %build %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT %check %{__python3} setup.py test %files %{_bindir}/thefuck %{_bindir}/thefuck-alias %{python3_sitelib}/thefuck-%{version}-py3.4.egg-info %{python3_sitelib}/thefuck %exclude %{python3_sitelib}/tests/rules/* %doc README.md %license LICENSE.md %changelog * Thu Jul 2 2015 Matias Kreder 1.46-1 - Initial spec