]> git.pld-linux.org Git - packages/mozjs17.git/commitdiff
- fix syntax in version extraction script auto/th/mozjs17-17.0.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 18 Oct 2016 18:17:54 +0000 (20:17 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 18 Oct 2016 18:17:54 +0000 (20:17 +0200)
- rel 3

mozjs17.spec
perl.patch [new file with mode: 0644]

index fdf558fbde3e75d3d0a63114a789497f1127db5f..6f01d91ba0ae00bda14d06c86fc135c08ff6f5ac 100644 (file)
@@ -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
 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
 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
 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}
 
 %prep
 %setup -q -n mozjs%{version}
+%patch0 -p1
 
 %build
 cd js/src
 
 %build
 cd js/src
diff --git a/perl.patch b/perl.patch
new file mode 100644 (file)
index 0000000..0115168
--- /dev/null
@@ -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) {
This page took 0.070526 seconds and 4 git commands to generate.