diff --git a/nodejs.spec b/nodejs.spec index b8dc378..fd26e84 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -1,5 +1,5 @@ Name: nodejs -Version: 18.11.0 +Version: 19.0.0 Release: 1mamba Summary: Evented I/O for V8 JavaScript Group: System/Servers @@ -35,8 +35,10 @@ This package contains libraries and header files for developing applications tha %prep %setup -q -n node-v%{version} +#-D -T %build +#:<< _EOF %ifnarch x86_64 export CFLAGS="%{optflags} -g0 -Wl,--no-keep-memory -fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped" export CXXFLAGS="%{optflags} -g0 -Wl,--no-keep-memory -fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped" @@ -68,6 +70,14 @@ make -j2 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%ifnarch x86_64 +export CFLAGS="%{optflags} -g0 -Wl,--no-keep-memory -fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped" +export CXXFLAGS="%{optflags} -g0 -Wl,--no-keep-memory -fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped" +%else +export CFLAGS="%{optflags}" +export CXXFLAGS="%{optflags}" +%endif + %makeinstall cd %{buildroot}/%{_bindir} ln -s node %{buildroot}/%{_bindir}/nodejs @@ -86,7 +96,7 @@ ln -s node %{buildroot}/%{_bindir}/nodejs %{_prefix}/lib/node_modules/corepack/* %dir %{_prefix}/lib/node_modules %{_prefix}/lib/node_modules/npm -%{_datadir}/systemtap/tapset/node.stp +#%{_datadir}/systemtap/tapset/node.stp %{_mandir}/man1/node.1* %dir %{_datadir}/doc/node %{_datadir}/doc/node/* @@ -109,6 +119,9 @@ ln -s node %{buildroot}/%{_bindir}/nodejs #%doc ChangeLog %changelog +* Sat Oct 22 2022 Automatic Build System 19.0.0-1mamba +- automatic version update by autodist + * Sat Oct 15 2022 Automatic Build System 18.11.0-1mamba - automatic version update by autodist