From: Marcin Banasiak Date: Tue, 21 Mar 2017 18:51:17 +0000 (+0100) Subject: Copy headers on install instead of symlinking. Release 2 X-Git-Tag: auto/th/mozjs38-38.8.0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmozjs38.git;a=commitdiff_plain;h=0fe111a Copy headers on install instead of symlinking. Release 2 --- diff --git a/mozjs38-copy-headers.patch b/mozjs38-copy-headers.patch new file mode 100644 index 0000000..7f352a7 --- /dev/null +++ b/mozjs38-copy-headers.patch @@ -0,0 +1,20 @@ +Description: Copy headers on install instead of symlinking +Author: Rico Tzschichholz +Forwarded: no +Last-Update: 2014-10-29 + +--- + +Index: b/python/mozbuild/mozbuild/backend/recursivemake.py +=================================================================== +--- a/python/mozbuild/mozbuild/backend/recursivemake.py ++++ b/python/mozbuild/mozbuild/backend/recursivemake.py +@@ -796,7 +796,7 @@ + return + + for source, dest, _ in self._walk_hierarchy(obj, exports): +- self._install_manifests['dist_include'].add_symlink(source, dest) ++ self._install_manifests['dist_include'].add_copy(source, dest) + + if not os.path.exists(source): + raise Exception('File listed in EXPORTS does not exist: %s' % source) diff --git a/mozjs38.spec b/mozjs38.spec index a8679e7..6597ce4 100644 --- a/mozjs38.spec +++ b/mozjs38.spec @@ -2,7 +2,7 @@ Summary: SpiderMonkey 38 - JavaScript implementation Summary(pl.UTF-8): SpiderMonkey 38 - implementacja języka JavaScript Name: mozjs38 Version: 38.8.0 -Release: 1 +Release: 2 License: MPL v2.0 Group: Libraries Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.bz2 @@ -13,6 +13,7 @@ Patch2: %{name}-1269317.patch Patch3: %{name}-system-virtualenv.patch Patch4: Disable-js-JIT-on-x32.patch Patch5: %{name}-x32.patch +Patch6: %{name}-copy-headers.patch URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/38 BuildRequires: libffi-devel >= 5:3.0.9 BuildRequires: libstdc++-devel >= 6:4.4 @@ -65,6 +66,7 @@ Pliki nagłówkowe do biblioteki JavaScript. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 cd js/src