[packages/nodejs/NODE_8: 1/2] Rename to node8 to allow parallel install with other node versions

glen glen at pld-linux.org
Mon Mar 23 20:26:32 CET 2020


commit 8435abe701db0910a16c3d212a2fe18f2ccc058f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Mar 20 21:45:08 2020 +0200

    Rename to node8 to allow parallel install with other node versions

 nodejs.spec                                       | 12 ++++++------
 nodejs-lib64path.patch => nodejs8-lib64path.patch |  0
 nodejs-libpath.patch => nodejs8-libpath.patch     |  0
 nodejs-shared.patch => nodejs8-shared.patch       |  0
 nodejs-soname.patch => nodejs8-soname.patch       |  0
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 2e3c8b4..d082fbe 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -17,7 +17,7 @@
 %define		node_module_version	57
 Summary:	Asynchronous JavaScript Engine
 Summary(pl.UTF-8):	Asynchroniczny silnik JavaScriptu
-Name:		nodejs
+Name:		nodejs8
 # 8.x LTS - https://github.com/nodejs/Release
 # Active start: 2017-10-31
 # Maintenance start: April 2019
@@ -117,17 +117,17 @@ sieciowych.
 
 Ten pakiet zawiera dokumentację Node.js.
 
-%package -n systemtap-nodejs
+%package -n systemtap-%{name}
 Summary:	systemtap/dtrace probes for Node.js
 Summary(pl.UTF-8):	Sondy systemtap/dtrace dla Node.js
 Group:		Development/Tools
 Requires:	%{name} = %{version}-%{release}
 Requires:	systemtap-client
 
-%description -n systemtap-nodejs
+%description -n systemtap-%{name}
 systemtap/dtrace probes for Node.js.
 
-%description -n systemtap-nodejs -l pl.UTF-8
+%description -n systemtap-%{name} -l pl.UTF-8
 Sondy systemtap/dtrace dla Node.js.
 
 %prep
@@ -257,13 +257,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libnode.so
 %endif
 %{_includedir}/node
-%{_pkgconfigdir}/nodejs.pc
+%{_pkgconfigdir}/nodejs8.pc
 %{_usrsrc}/%{name}
 
 %files doc
 %defattr(644,root,root,755)
 %doc %{_docdir}/%{name}-doc-%{version}
 
-%files -n systemtap-nodejs
+%files -n systemtap-%{name}
 %defattr(644,root,root,755)
 %{_datadir}/systemtap/tapset/node.stp
diff --git a/nodejs-lib64path.patch b/nodejs8-lib64path.patch
similarity index 100%
rename from nodejs-lib64path.patch
rename to nodejs8-lib64path.patch
diff --git a/nodejs-libpath.patch b/nodejs8-libpath.patch
similarity index 100%
rename from nodejs-libpath.patch
rename to nodejs8-libpath.patch
diff --git a/nodejs-shared.patch b/nodejs8-shared.patch
similarity index 100%
rename from nodejs-shared.patch
rename to nodejs8-shared.patch
diff --git a/nodejs-soname.patch b/nodejs8-soname.patch
similarity index 100%
rename from nodejs-soname.patch
rename to nodejs8-soname.patch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/474a607e462410f4b988e6b42a245ce1d8549d37



More information about the pld-cvs-commit mailing list