Can you simplify the requirements?
+%if 0%{?suse_version} < 1315 || 0%{?suse_version} > 1316 +BuildRequires: nodejs-packaging +BuildRequires: npm4 +BuildRequires: nodejs4-devel +%endif +%if 0%{?suse_version} == 1316 +BuildRequires: nodejs-devel +%endif
This should be simplified to just nodejs-packaging. Nodejs-packaging should pull nodejs in. If there are ambiguities, then that can be fixed in project config.
+%if 0%{?suse_version} >= 1315 || 0%{?suse_version} <= 1316 +%define nodejs_sitelib /usr/lib/node_modules +%endif
This condition is kind of useless - it always matches. Drop the %if completely.
and ios/android really needed for openSUSE? I even see *.php...
hillwood created request over 7 years ago
MargueriteSu superseded request over 7 years ago
superseded by SR#447602
hillwood
The Open Build Service is an openSUSE project.
Can you simplify the requirements?
+%if 0%{?suse_version} < 1315 || 0%{?suse_version} > 1316 +BuildRequires: nodejs-packaging +BuildRequires: npm4 +BuildRequires: nodejs4-devel +%endif +%if 0%{?suse_version} == 1316 +BuildRequires: nodejs-devel +%endif
This should be simplified to just nodejs-packaging. Nodejs-packaging should pull nodejs in. If there are ambiguities, then that can be fixed in project config.
+%if 0%{?suse_version} >= 1315 || 0%{?suse_version} <= 1316 +%define nodejs_sitelib /usr/lib/node_modules +%endif
This condition is kind of useless - it always matches. Drop the %if completely.
and ios/android really needed for openSUSE? I even see *.php...