Bug ID | 955142 |
---|---|
Summary | devel:languages:nodejs/nodejs: Bug - SLES11 compliance of build process |
Classification | openSUSE |
Product | openSUSE.org |
Version | unspecified |
Hardware | x86-64 |
OS | SLES 11 |
Status | NEW |
Severity | Enhancement |
Priority | P5 - None |
Component | 3rd party software |
Assignee | i@marguerite.su |
Reporter | support.web@swm.de |
QA Contact | opensuse-communityscreening@forge.provo.novell.com |
CC | jgleissner@suse.com |
Found By | --- |
Blocker | --- |
Created attachment 656002 [details]
implementation of check_output we found on stackoverflow
The package has two SLES11 compliance issues:
1. usage of g++ 4.8 needs to be specified on SLES11
Changes the compiler dependency in the head section
%if 0%{?sles_version} == 11
BuildRequires: gcc48-c++
%else
BuildRequires: gcc-c++
%endif
and
%if 0%{?sles_version} == 11
export CXX="g++-4.8"
%endif
before running the configure script
2. python 2.6 does not include the check_output method used in the configure
script. We need to patch it into the script
Patch2: nodejs-configure.patch
%if 0%{?sles_version} == 11
# add check_output to configure script (not part of python 2.6 in SLES11)
%patch2 -p1
%endif