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

Missing field: package.metadata #71

Closed
gustawdaniel opened this issue Mar 21, 2023 · 2 comments
Closed

Missing field: package.metadata #71

gustawdaniel opened this issue Mar 21, 2023 · 2 comments
Labels
question Further information is requested

Comments

@gustawdaniel
Copy link

gustawdaniel commented Mar 21, 2023

After command

cargo generate-rpm

I have error

Missing field: package.metadata
@cat-in-136 cat-in-136 added the question Further information is requested label Mar 21, 2023
@cat-in-136
Copy link
Owner

@gustawdaniel
Copy link
Author

Fixed by

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/gpt-cli", dest = "/usr/bin/gpt-cli", mode = "755" },
    { source = "gpt-cli.svg", dest = "/usr/share/icons/hicolor/", mode = "644" },
]

Thanks @cat-in-136

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

No branches or pull requests

2 participants