File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -550,6 +550,7 @@ Requires: %{name}-ndbclient%{?_isa} = %{version}-%{release}
550550This package contains the development header files and libraries
551551necessary to develop client applications for MySQL NDB storage engine.
552552
553+ %if 0%{?ndb_nodejs_extras_path:1}
553554%package nodejs
554555Summary: Set of Node.js adapters for MySQL Cluster
555556Group: Applications/Databases
@@ -558,6 +559,7 @@ This package contains MySQL NoSQL Connector for JavaScript, a set of
558559Node.js adapters for MySQL Cluster and MySQL Server, which make it
559560possible to write JavaScript applications for Node.js using MySQL
560561data.
562+ %endif
561563
562564%package java
563565Summary: MySQL Cluster Connector for Java
@@ -1322,10 +1324,12 @@ fi
13221324%attr(644, root, root) %{_libdir}/mysql/libndbclient_static.a
13231325%{_libdir}/mysql/libndbclient.so
13241326
1327+ %if 0%{?ndb_nodejs_extras_path:1}
13251328%files nodejs
13261329%defattr(-, root, root, -)
13271330%doc %{?license_files_server}
13281331%{_datadir}/mysql/nodejs/
1332+ %endif
13291333
13301334%files java
13311335%defattr(-, root, root, -)
Original file line number Diff line number Diff line change @@ -443,6 +443,7 @@ Requires: %{name}-ndbclient%{?_isa} = %{version}-%{release}
443443This package contains the development header files and libraries
444444necessary to develop client applications for MySQL NDB storage engine.
445445
446+ %if 0%{?ndb_nodejs_extras_path:1}
446447%package nodejs
447448Summary: Set of Node.js adapters for MySQL Cluster
448449Group: Applications/Databases
@@ -451,6 +452,7 @@ This package contains MySQL NoSQL Connector for JavaScript, a set of
451452Node.js adapters for MySQL Cluster and MySQL Server, which make it
452453possible to write JavaScript applications for Node.js using MySQL
453454data.
455+ %endif
454456
455457%package java
456458Summary: MySQL Cluster Connector for Java
@@ -1128,10 +1130,12 @@ fi
11281130%attr(644, root, root) %{_libdir}/mysql/libndbclient_static.a
11291131%{_libdir}/mysql/libndbclient.so
11301132
1133+ %if 0%{?ndb_nodejs_extras_path:1}
11311134%files nodejs
11321135%defattr(-, root, root, -)
11331136%doc %{?license_files_server}
11341137%{_datadir}/mysql/nodejs/
1138+ %endif
11351139
11361140%files java
11371141%defattr(-, root, root, -)
You can’t perform that action at this time.
0 commit comments