[packages/latexdiff] fix perl dependencies
draenog
draenog at pld-linux.org
Tue Sep 2 01:59:37 CEST 2014
commit 30a5eae4943b39c1f494ca2e5860203ac7a56eef
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Mon Sep 1 23:52:34 2014 +0100
fix perl dependencies
latexdiff-system-perl.patch | 56 +++++++++++++++++++++++++++++++++++++++++++++
latexdiff.spec | 4 ++++
2 files changed, 60 insertions(+)
---
diff --git a/latexdiff.spec b/latexdiff.spec
index dfeaa4e..333dbc1 100644
--- a/latexdiff.spec
+++ b/latexdiff.spec
@@ -1,3 +1,4 @@
+%include /usr/lib/rpm/macros.perl
Summary: Determine and mark up significant differences between latex files
Name: latexdiff
Version: 1.0.4
@@ -6,7 +7,9 @@ License: GPL v3
Group: Applications
Source0: http://dante.ctan.org/tex-archive/support/%{name}.zip
# Source0-md5: 40e076101b87e2334e20fa946b8a1607
+Patch0: %{name}-system-perl.patch
URL: http://www.ctan.org/tex-archive/support/latexdiff/
+BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: unzip
Suggests: texlive-latex-effects
BuildArch: noarch
@@ -25,6 +28,7 @@ accept or reject selected changes only.
%prep
%setup -q -n %{name}
+%patch0 -p1
%build
diff --git a/latexdiff-system-perl.patch b/latexdiff-system-perl.patch
new file mode 100644
index 0000000..b681a65
--- /dev/null
+++ b/latexdiff-system-perl.patch
@@ -0,0 +1,56 @@
+commit 6ac9dfc6021da39752ea16e34034cbf9fd42246d
+Author: Kacper Kornet <draenog at pld-linux.org>
+Date: Mon Sep 1 23:40:59 2014 +0100
+
+ Always use system perl
+
+diff --git a/latexdiff b/latexdiff
+index 717a093..57062e1 100755
+--- a/latexdiff
++++ b/latexdiff
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ ##!/usr/bin/perl -w
+ # latexdiff - differences two latex files on the word level
+ # and produces a latex file with the differences marked up.
+diff --git a/latexdiff-fast b/latexdiff-fast
+index 22f2f8f..08e1845 100755
+--- a/latexdiff-fast
++++ b/latexdiff-fast
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ ##!/usr/bin/perl -w
+ # latexdiff - differences two latex files on the word level
+ # and produces a latex file with the differences marked up.
+diff --git a/latexdiff-so b/latexdiff-so
+index 6cd69fd..d3497cb 100755
+--- a/latexdiff-so
++++ b/latexdiff-so
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ ##!/usr/bin/perl -w
+ # latexdiff - differences two latex files on the word level
+ # and produces a latex file with the differences marked up.
+diff --git a/latexdiff-vc b/latexdiff-vc
+index d38fc14..b9b8e2f 100755
+--- a/latexdiff-vc
++++ b/latexdiff-vc
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ #
+ # latexdiff-vc - wrapper script for applying latexdiff to rcs managed files
+ # and for automatised creation of postscript or pdf from difference file
+diff --git a/latexrevise b/latexrevise
+index 85955af..72d2c91 100755
+--- a/latexrevise
++++ b/latexrevise
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ # latexrevise - takes output file of latexdiff and removes either discarded
+ # or appended passages, then deletes all other latexdiff markup
+ #
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/latexdiff.git/commitdiff/d312fd930a97d4aedf5cf2a854a81a389b0ed456
More information about the pld-cvs-commit
mailing list