Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include non-javascript files in package #74

Open
jfhbrook opened this issue Jun 14, 2023 · 0 comments
Open

include non-javascript files in package #74

jfhbrook opened this issue Jun 14, 2023 · 0 comments

Comments

@jfhbrook
Copy link

jfhbrook commented Jun 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant