-
Notifications
You must be signed in to change notification settings - Fork 14
Description
OK, this time I promise it's not PEBKAC - I have a package here:
https://github.com/jfhbrook/public/tree/main/old-memes/licenseify
which has these text files in it:
https://github.com/jfhbrook/public/tree/main/old-memes/licenseify/licenses
and listed in the package.json as files here:
https://github.com/jfhbrook/public/blob/main/old-memes/licenseify/package.json#L29-L34
but the package only contains *.js files, node_modules and the package.json:
$ ls /usr/lib/node_modules_18/licenseify
bin.js generate.js list.js node_modules package.json pretty-error.js
I'm guessing that npm2rpm is being naive about trying to scrub non-js files, under the philosophy that a package shouldn't contain the extra cruft that often gets shipped to npm. But in my case those are effectively embedded blobs. Is there a sensible way to get npm2rpm to leave those files in? I'm OK with having to manually edit the spec file, if I know what I'm aiming for.