npm-pkgbuild 7.14.6 → 7.14.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "7.14.6",
3
+ "version": "7.14.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,6 +42,8 @@ export class RPM extends Packager {
42
42
  const properties = this.properties;
43
43
  const tmp = await this.tmpdir;
44
44
 
45
+ properties.Requires = Object.entries(dependencies).map(([n,e]) => `${n}${e}`).join(' ');
46
+
45
47
  await Promise.all(
46
48
  ["BUILDROOT", "RPMS", "SRPMS", "SOURCES", "SPECS"].map(d =>
47
49
  mkdir(join(tmp, d))
@@ -71,7 +73,7 @@ export class RPM extends Packager {
71
73
  expander
72
74
  )) {
73
75
  if (options.verbose) {
74
- console.log(file);
76
+ console.log(file.destination);
75
77
  }
76
78
  yield file.destination + "\n";
77
79
  }