npm-pkgbuild 11.0.2 → 11.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/output/rpm.mjs
CHANGED
|
@@ -184,7 +184,10 @@ export class RPM extends Packager {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
await cp(
|
|
187
|
-
join(tmpdir, "RPMS",
|
|
187
|
+
join(tmpdir, "RPMS",
|
|
188
|
+
// TODO handle arrays ?
|
|
189
|
+
Array.isArray(properties.arch) ? properties.arch[0] : properties.arch,
|
|
190
|
+
this.packageFileName),
|
|
188
191
|
packageFile,
|
|
189
192
|
{ preserveTimestamps: true }
|
|
190
193
|
);
|