[packages/mozjs17] - fix syntax in version extraction script - rel 3
baggins
baggins at pld-linux.org
Tue Oct 18 20:18:24 CEST 2016
commit ea23c7b6695199ca48842abe49facd6a3444e18f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Oct 18 20:17:54 2016 +0200
- fix syntax in version extraction script
- rel 3
mozjs17.spec | 4 +++-
perl.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/mozjs17.spec b/mozjs17.spec
index fdf558f..6f01d91 100644
--- a/mozjs17.spec
+++ b/mozjs17.spec
@@ -3,11 +3,12 @@ Summary: SpiderMonkey 17 - JavaScript 1.8.6 implementation
Summary(pl.UTF-8): SpiderMonkey 17 - implementacja języka JavaScript 1.8.6
Name: mozjs17
Version: 17.0.0
-Release: 2
+Release: 3
License: MPL 1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://ftp.mozilla.org/pub/mozilla.org/js/mozjs%{version}.tar.gz
# Source0-md5: 20b6f8f1140ef6e47daa3b16965c9202
+Patch0: perl.patch
URL: http://www.mozilla.org/js/
BuildRequires: libffi-devel >= 5:3.0.9
BuildRequires: libstdc++-devel
@@ -66,6 +67,7 @@ Statyczna wersja biblioteki JavaScript.
%prep
%setup -q -n mozjs%{version}
+%patch0 -p1
%build
cd js/src
diff --git a/perl.patch b/perl.patch
new file mode 100644
index 0000000..0115168
--- /dev/null
+++ b/perl.patch
@@ -0,0 +1,11 @@
+--- mozjs17.0.0/js/src/config/milestone.pl~ 2013-02-11 23:33:22.000000000 +0100
++++ mozjs17.0.0/js/src/config/milestone.pl 2016-10-18 20:12:20.567112653 +0200
+@@ -55,7 +55,7 @@
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+ my $TFILE;
+
+ foreach $TFILE (@TEMPLATE_FILE) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mozjs17.git/commitdiff/ea23c7b6695199ca48842abe49facd6a3444e18f
More information about the pld-cvs-commit
mailing list