123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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: python2-devel
- BuildArch: noarch
-
- Requires: less
- Requires: python2-%{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 python2-%{name}
- Summary: %{summary}
- %description -n python2-%{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
- %py2_build
-
- %install
- %py2_install
-
- %files
- %doc README.rst
- %license LICENSE
- %{_bindir}/ydiff
-
- %files -n python2-%{name}
- %{python2_sitelib}/%{name}.py
- %{python2_sitelib}/%{name}.pyc
- %{python2_sitelib}/%{name}.pyo
- %{python2_sitelib}/%{name}-*.egg-info
-
- %changelog
- * __APP_DATE__ Alois Mahdal <netvor+ydiff@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
- - Unofficial experimental RPM pseudo-release
-
- # spec file generated from __APP_BUILDSCRIPT_VERSION__
|