[packages/hspell] - updated to 1.4 - added perl-inc patch (fix for recent perls not having . in default INC)
qboosh
qboosh at pld-linux.org
Sun Dec 2 11:35:10 CET 2018
commit 4b323a53ca4f59e681265b017a03d290fc2c9b55
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 2 11:39:31 2018 +0100
- updated to 1.4
- added perl-inc patch (fix for recent perls not having . in default INC)
hspell-perl-inc.patch | 21 +++++++++++++++++++++
hspell.spec | 6 ++++--
2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/hspell.spec b/hspell.spec
index a2ddc50..ae5d5e0 100644
--- a/hspell.spec
+++ b/hspell.spec
@@ -2,13 +2,14 @@
Summary: Hspell - a free Hebrew spell checker
Summary(pl.UTF-8): Hspell - wolnodostępny program do kontroli pisowni hebrajskiej
Name: hspell
-Version: 1.3
+Version: 1.4
Release: 1
License: AGPL v3
Group: Applications/Text
# Source0Download: http://hspell.ivrix.org.il/download.html
Source0: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
-# Source0-md5: 351850c9f6974a709dd092a2d1063e4a
+# Source0-md5: 55d9cdc4fe576db8515945e663ef4791
+Patch0: %{name}-perl-inc.patch
URL: http://hspell.ivrix.org.il/
BuildRequires: awk
BuildRequires: perl-base
@@ -81,6 +82,7 @@ Statyczna biblioteka hspell.
%prep
%setup -q
+%patch0 -p1
%{__sed} -i -e '1s|#!.*|#!/bin/awk -f|g' wzip
diff --git a/hspell-perl-inc.patch b/hspell-perl-inc.patch
new file mode 100644
index 0000000..9d648e6
--- /dev/null
+++ b/hspell-perl-inc.patch
@@ -0,0 +1,21 @@
+--- hspell-1.4/pmerge.orig 2012-02-25 21:00:42.000000000 +0100
++++ hspell-1.4/pmerge 2018-12-02 11:32:56.837010378 +0100
+@@ -8,7 +8,7 @@
+ use IO::File;
+ use Carp;
+
+-require "PrefixBits.pl";
++require "./PrefixBits.pl";
+
+ # "perl -w" warns about variables only used once (it assumes they are a
+ # typo). This ugliness gets rid of this warning. Is there a more sensible way?
+--- hspell-1.4/genprefixes.pl.orig 2003-09-01 00:13:46.000000000 +0200
++++ hspell-1.4/genprefixes.pl 2018-12-02 11:34:44.333675817 +0100
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl -w
+
+-require "PrefixBits.pl";
++require "./PrefixBits.pl";
+
+ sub find_prefixes {
+ my $INQUISITIVE_HE=shift;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hspell.git/commitdiff/4b323a53ca4f59e681265b017a03d290fc2c9b55
More information about the pld-cvs-commit
mailing list