Name: ydiff Version: __APP_VERSION__ Release: __APP_RELEASE__%{?dist} Summary: View colored, incremental diff URL: https://github.com/ymattw/ydiff License: BSD Source0: __APP_URLBASE__/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel BuildArch: noarch Requires: less Requires: python%{python3_pkgversion}-%{name} %description Term based tool to view colored, incremental diff in a Git/Mercurial/Svn workspace or from stdin, with side by side (similar to diff -y) and auto pager support. %package -n python3-%{name} Summary: %{summary} %{?python_provide:%python_provide python3-%{name}} %description -n python3-%{name} Python library that implements API used by ydiff tool. %prep %autosetup -n %{name}-%{version} /usr/bin/sed -i '/#!\/usr\/bin\/env python/d' ydiff.py %build %py3_build %install %py3_install %files %doc README.rst %license LICENSE %{_bindir}/ydiff %files -n python3-%{name} %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{name}.py %{python3_sitelib}/%{name}-%{version}-py?.?.egg-info %changelog * __APP_DATE__ Alois Mahdal - __APP_VERSION__-__APP_RELEASE__ - Unofficial experimental RPM pseudo-release # spec file generated from __APP_BUILDSCRIPT_VERSION__