diff --git a/nodejs.spec b/nodejs.spec index c5cc340..c8f5a45 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -25,7 +25,7 @@ %global nodejs_patch 0 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} -%global nodejs_release 1 +%global nodejs_release 2 # == Bundled Dependency Versions == # v8 - from deps/v8/include/v8-version.h @@ -307,6 +307,8 @@ export CXXFLAGS='%{optflags} -g \ export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')" export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')" +export LDFLAGS="%{build_ldflags}" + # Work around Fedora 28 issue: # https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out # Tracking BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1550564 @@ -493,6 +495,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - %{_pkgdocdir}/npm/doc %changelog +* Fri Apr 13 2018 Rafael dos Santos - 1:8.11.0-2 +- Use standard Fedora linker flags (bug #1543859) + * Wed Mar 28 2018 Stephen Gallagher - 1:8.11.0-1 - Update to 8.11.0 - https://nodejs.org/en/blog/release/v8.11.0/