commit 2aa4674896b6ec2e9a2071ded5415dba37dcdbfb
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Thu Oct 25 07:32:14 2018 +0200

    - build with js187 so we can build it on x32 with javascript support
    - rel 3

 elinks.spec |  6 ++++--
 js187.patch | 11 +++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/elinks.spec b/elinks.spec
index bcd7148..75d4475 100644
--- a/elinks.spec
+++ b/elinks.spec
@@ -39,7 +39,7 @@ Summary(pt_BR.UTF-8): O links é um browser para modo texto, 
similar ao lynx
 Name:          elinks
 Version:       0.13
 %define        snap    20180901
-%define        rel     2
+%define        rel     3
 Release:       4.%{snap}.%{rel}
 Epoch:         1
 License:       GPL v2
@@ -56,6 +56,7 @@ Patch2:               %{name}-date-format.patch
 Patch3:                %{name}-old_incremental.patch
 Patch4:                %{name}-0.10.0-0.9.3-typeahead-beginning.patch
 Patch5:                %{name}-double-esc.patch
+Patch6:                js187.patch
 URL:           http://www.elinks.cz/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
@@ -67,7 +68,7 @@ BuildRequires:        gettext-tools
 BuildRequires: gpm-devel
 %{?with_guile:BuildRequires: guile-devel}
 #BuildRequires:        heimdal-devel
-%{?with_js:BuildRequires:      js185-devel}
+%{?with_js:BuildRequires:      js187-devel}
 %{?with_brotli:BuildRequires:  libbrotli-devel}
 %{?with_idn:BuildRequires:     libidn-devel}
 %{?with_smb:BuildRequires:     libsmbclient-devel}
@@ -120,6 +121,7 @@ keepalive.
 %patch4 -p1
 %patch5 -p1
 %endif
+%patch6 -p1
 
 %build
 %{__aclocal}
diff --git a/js187.patch b/js187.patch
new file mode 100644
index 0000000..20c31c9
--- /dev/null
+++ b/js187.patch
@@ -0,0 +1,11 @@
+--- elinks-0.13-20180901/configure.in~ 2017-07-23 19:50:15.000000000 +0200
++++ elinks-0.13-20180901/configure.in  2018-10-25 07:28:57.966732829 +0200
+@@ -612,7 +612,7 @@
+ # and therefore is less likely to be a newer incompatible version.
+ # (This configure script rejects older incompatible versions
+ # but can let newer ones through.)
+-for package in mozjs185 mozilla-js; do
++for package in mozjs187 mozilla-js; do
+       if test -n "$CONFIG_SPIDERMONKEY"; then
+               break
+       else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elinks.git/commitdiff/2aa4674896b6ec2e9a2071ded5415dba37dcdbfb

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to