npm-pkgbuild 17.3.0 → 17.3.1

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/README.md CHANGED
@@ -117,9 +117,8 @@ See [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-fronte
117
117
  * [Parameters](#parameters-6)
118
118
  * [Properties](#properties-3)
119
119
  * [asyncIterator](#asynciterator)
120
- * [hookMapping](#hookmapping)
121
- * [hookMapping](#hookmapping-1)
122
120
  * [DEBIAN](#debian)
121
+ * [hookMapping](#hookmapping)
123
122
  * [prepare](#prepare)
124
123
  * [Parameters](#parameters-7)
125
124
  * [fields](#fields)
@@ -130,6 +129,7 @@ See [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-fronte
130
129
  * [quoteFile](#quotefile)
131
130
  * [Parameters](#parameters-8)
132
131
  * [RPM](#rpm)
132
+ * [hookMapping](#hookmapping-1)
133
133
  * [prepare](#prepare-1)
134
134
  * [Parameters](#parameters-9)
135
135
  * [OCI](#oci)
@@ -339,20 +339,16 @@ List all entries.
339
339
 
340
340
  Returns **AsyncIterable\<ContentEntry>** all entries
341
341
 
342
- ## hookMapping
343
-
344
- map install hook named from arch to deb
345
-
346
- ## hookMapping
347
-
348
- map install hook named from arch to rpm
349
-
350
342
  ## DEBIAN
351
343
 
352
344
  **Extends Packager**
353
345
 
354
346
  Create .deb packages
355
347
 
348
+ ### hookMapping
349
+
350
+ Map install hook named from default (arch) to deb.
351
+
356
352
  ### prepare
357
353
 
358
354
  #### Parameters
@@ -398,6 +394,10 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
398
394
 
399
395
  Produce rpm packages.
400
396
 
397
+ ### hookMapping
398
+
399
+ Map install hook named from default (arch) to rpm.
400
+
401
401
  ### prepare
402
402
 
403
403
  Check for rpmbuild presence.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "17.3.0",
3
+ "version": "17.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
@@ -93,13 +93,8 @@ export class DEBIAN extends Packager {
93
93
  "mode"
94
94
  )
95
95
  );
96
-
97
- if (
98
- properties.dependencies &&
99
- Object.keys(properties.dependencies).length > 0
100
- ) {
101
- properties.Depends = this.makeDepends(properties.dependencies);
102
- }
96
+
97
+ properties.Depends = this.makeDepends(properties.dependencies);
103
98
 
104
99
  const fp = fieldProvider(properties, fields);
105
100
  const debianControlName = "DEBIAN/control";