[packages/latexdiff] switch to version using external diff command

draenog draenog at pld-linux.org
Tue Sep 2 01:59:42 CEST 2014


commit d312fd930a97d4aedf5cf2a854a81a389b0ed456
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Sep 1 23:54:11 2014 +0100

    switch to version using external diff command
    
    It is much faster then versions using Algorithm::Diff

 latexdiff.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/latexdiff.spec b/latexdiff.spec
index 333dbc1..bb26caa 100644
--- a/latexdiff.spec
+++ b/latexdiff.spec
@@ -2,7 +2,7 @@
 Summary:	Determine and mark up significant differences between latex files
 Name:		latexdiff
 Version:	1.0.4
-Release:	0.1
+Release:	1
 License:	GPL v3
 Group:		Applications
 Source0:	http://dante.ctan.org/tex-archive/support/%{name}.zip
@@ -11,6 +11,7 @@ Patch0:		%{name}-system-perl.patch
 URL:		http://www.ctan.org/tex-archive/support/latexdiff/
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	unzip
+Requires:	diffutils
 Suggests:	texlive-latex-effects
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,7 +37,7 @@ accept or reject selected changes only.
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-%{__make} install \
+%{__make} install-fast \
 	INSTALLPATH=$RPM_BUILD_ROOT%{_prefix} \
 	INSTALLMANPATH=$RPM_BUILD_ROOT%{_mandir} \
 	INSTALLEXECPATH=$RPM_BUILD_ROOT%{_bindir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/latexdiff.git/commitdiff/d312fd930a97d4aedf5cf2a854a81a389b0ed456



More information about the pld-cvs-commit mailing list