Hello community,

here is the log from the commit of package nodejs for openSUSE:Factory checked 
in at 2014-09-17 21:24:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes    2014-08-25 
11:06:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes       2014-09-17 
21:25:10.000000000 +0200
@@ -1,0 +2,23 @@
+Wed Sep 17 06:28:02 UTC 2014 - [email protected]
+
+- update version 0.10.32
+  * v8: fix a crash introduced by previous release
+  * configure: add --openssl-no-asm flag
+  * crypto: use domains for any callback-taking method
+  * http: do not send `0\r\n\r\n` in TE HEAD responses
+  * querystring: fix unescape override
+  * url: Add support for RFC 3490 separators
+
+-------------------------------------------------------------------
+Wed Sep 10 12:14:13 UTC 2014 - [email protected]
+
+- do not install NPM
+- use /usr/lib/node_modules instead of /usr/lib64/node_modules even
+  on x86_64 (node modules are not binary)
+- drop patch: nodejs-lib64path.patch and nodejs-libpath.patch
+  * installing in /usr/lib64 doesn't really make sense for non-binary files
+- drop patch: node-gyp-addon-gypi.patch and
+  nodejs-add_missing_shebang_to_read-package-json.patch
+  * they were patching npm files, which is separate now
+
+-------------------------------------------------------------------

Old:
----
  node-gyp-addon-gypi.patch
  node-v0.10.31.tar.gz
  nodejs-add_missing_shebang_to_read-package-json.patch
  nodejs-lib64path.patch
  nodejs-libpath.patch

New:
----
  node-v0.10.32.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs.spec ++++++
--- /var/tmp/diff_new_pack.Xj72Cw/_old  2014-09-17 21:25:13.000000000 +0200
+++ /var/tmp/diff_new_pack.Xj72Cw/_new  2014-09-17 21:25:13.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           nodejs
-Version:        0.10.31
+Version:        0.10.32
 Release:        0
 Summary:        Evented I/O for V8 JavaScript
 License:        MIT
@@ -25,11 +25,7 @@
 Url:            http://www.nodejs.org
 Source:         http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
 Source1:        macros.nodejs
-Patch0:         nodejs-lib64path.patch
-Patch2:         nodejs-libpath.patch
-Patch4:         node-gyp-addon-gypi.patch
-Patch6:         nodejs-openssl-missing-api.patch
-Patch7:         nodejs-add_missing_shebang_to_read-package-json.patch
+Patch1:         nodejs-openssl-missing-api.patch
 BuildRequires:  curl
 BuildRequires:  gcc-c++
 BuildRequires:  procps
@@ -39,12 +35,13 @@
 %else
 BuildRequires:  openssl-devel
 %endif
-BuildRequires:  fdupes
+BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  python
 BuildRequires:  zlib-devel
-Provides:       npm = %{version}
-Obsoletes:      npm < %{version}
+#BuildRequires:  v8-devel
+#BuildRequires:  libcares-devel
+
 #we need ABI virtual provides where SONAMEs aren't enough/not present so deps
 #break when binary compatibility is broken
 %global nodejs_abi 0.10
@@ -71,16 +68,21 @@
 Provides an easy way to build scalable network programs
 http://nodejs.org
 
+
+%package docs
+Summary:        Node.js API documentation
+Group:          Documentation/Other
+%if 0%{?suse_version} >= 1200
+# using noarch subpackage seems to break debuginfo on older releases
+BuildArch:      noarch
+%endif
+
+%description docs
+The API documentation for the Node.js JavaScript runtime.
+
 %prep
 %setup -q -n node-v%{version}
-%if %{_lib} == "lib64"
-%patch0 -p1
-%else
-%patch2 -p1
-%endif
-%patch4 -p1
-%patch6
-%patch7 -p1
+%patch1 -p0
 # Make sure nothing gets included from bundled deps:
 # We only delete the source and header files, because
 # the remaining build scripts are still used.
@@ -89,14 +91,6 @@
   find deps/$dir -name *.[ch] -delete
 done
 
-# fix permissions of some files
-find ./deps/npm/node_modules/request/ -type f -exec chmod 0644 {} \;
-
-chmod -x deps/v8/include/v8-debug.h
-chmod 0644 ./deps/npm/node_modules/uid-number/get-uid-gid.js
-chmod 0644 ./deps/npm/node_modules/npmconf/node_modules/config-chain/index.js
-chmod 0755 ./deps/npm/scripts/release.sh
-
 # remove .orig file
 find . -name "*.orig" -type f -delete -print
 
@@ -109,46 +103,24 @@
     --prefix=%{_prefix} \
     --shared-openssl \
     --shared-zlib \
-    --gdb
-
-###    --shared-v8 \
+    --gdb \
+    --without-npm \
+    --without-dtrace
+#    --shared-v8 \
+#    --shared-cares 
 
 make %{?_smp_mflags}
 
 %install
 %{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
-# npm man page
-cp -p deps/npm/man/man1/npm.1 %{buildroot}/%{_mandir}/man1
-#install development headers
-#FIXME: we probably don't really need *.h but node-gyp downloads the whole
-#freaking source tree so I can't be sure ATM
-mkdir -p %{buildroot}%{_includedir}/node
-cp -p src/*.h %{buildroot}%{_includedir}/node
-# Since we're using included V8, devel package would be incomplete without V8 
headers
-cp -pR deps/v8/include/*.h %{buildroot}%{_includedir}/node
-cp -pR deps/uv/include/* %{buildroot}%{_includedir}/node
 
 #node-gyp needs common.gypi too
 mkdir -p %{buildroot}%{_datadir}/node
 cp -p common.gypi %{buildroot}%{_datadir}/node
 
-find '%{buildroot}%{_libdir}/' -type f -name .travis.yml -delete
-find '%{buildroot}%{_libdir}/' -type f -name .npmignore -delete
-find '%{buildroot}%{_libdir}/' -type f -name .gitmodules -delete
-find '%{buildroot}%{_libdir}/' -type f -name Makefile -delete
-find '%{buildroot}%{_libdir}/' -type f \( -name .jshintrc -o -name pylintrc \) 
-delete
-find '%{buildroot}%{_libdir}/' -type f \( -name '*.cmd' -o -name '*.bat' \) 
-delete
-find '%{buildroot}%{_libdir}/node_modules/' -type d -name tests | while read 
d; do rm -rf "$d"; done
-find '%{buildroot}%{_libdir}/node_modules/' -type d -name tools | while read 
d; do rm -rf "$d"; done
-find '%{buildroot}%{_libdir}/node_modules/' -type d \( -name example -o -name 
examples \) | while read d; do rm -rf "$d"; done
-rm 
'%{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c'
-rm 
'%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/http-signature/.dir-locals.el'
-rm -rf 
'%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark'
-find '%{buildroot}%{_libdir}/node_modules/' -type f -name '*_test*' -delete
-
 # Documentation
 install -d %{buildroot}%{_docdir}/%{name}
-cp -r doc/* %{buildroot}%{_docdir}/%{name}/
+cp -r doc/api %{buildroot}%{_docdir}/%{name}/
 cp -r {AUTHORS,ChangeLog,CONTRIBUTING.md,LICENSE,README.md} 
%{buildroot}%{_docdir}/%{name}/
 
 # RPM macros
@@ -156,28 +128,31 @@
 install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm
 
 # Own nodejs_modulesdir
-%ifarch x86_64 ppc64
 install -d %{buildroot}%{_prefix}/lib/node_modules
-%endif
 
-%fdupes %{buildroot}%{_libdir}/node_modules
-%fdupes %{buildroot}%{_docdir}/%{name}
+# fix permission
+chmod 0644 %{buildroot}%{_includedir}/node/v8-debug.h
 
 %files
 %defattr(-, root, root)
-%doc %{_docdir}/%{name}
 %config %{_sysconfdir}/rpm/macros.nodejs
 %{_bindir}/node
-%{_bindir}/npm
-%{_libdir}/node_modules
-%ifarch x86_64 ppc64
-%dir %{_prefix}/lib/node_modules
-%endif
+%{_prefix}/lib/node_modules
 %{_mandir}/man1/*
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/AUTHORS
+%{_docdir}/%{name}/ChangeLog
+%{_docdir}/%{name}/CONTRIBUTING.md
+%{_docdir}/%{name}/LICENSE
+%{_docdir}/%{name}/README.md
 
 %files devel
 %defattr(-, root, root)
 %{_includedir}/node
 %{_datadir}/node
 
+%files docs
+%defattr(-,root,root)
+%{_docdir}/%{name}/api
+
 %changelog

++++++ macros.nodejs ++++++
--- /var/tmp/diff_new_pack.Xj72Cw/_old  2014-09-17 21:25:13.000000000 +0200
+++ /var/tmp/diff_new_pack.Xj72Cw/_new  2014-09-17 21:25:13.000000000 +0200
@@ -4,6 +4,8 @@
 %nodejs_requires \
 Requires:      nodejs
 
+%nodejs_arches  %{ix86} x86_64 %{arm}
+
 %nodejs_install \
 mkdir -p %{buildroot}%{nodejs_modulesdir} \
 npm_config_prefix=%{buildroot}%{_prefix} npm install -g %{S:0}

++++++ node-v0.10.31.tar.gz -> node-v0.10.32.tar.gz ++++++
/work/SRC/openSUSE:Factory/nodejs/node-v0.10.31.tar.gz 
/work/SRC/openSUSE:Factory/.nodejs.new/node-v0.10.32.tar.gz differ: char 5, 
line 1

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to