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

rpm:packageBin needs License #335

Closed
sdether opened this issue Aug 26, 2014 · 2 comments
Closed

rpm:packageBin needs License #335

sdether opened this issue Aug 26, 2014 · 2 comments
Labels

Comments

@sdether
Copy link

sdether commented Aug 26, 2014

I've tried rpm:packageBin with rpmbuild 4.8 & 4.11 with the same result:

[info] Wrote /opt/dataApi/target/scala-2.10/dataapi_2.10-0.1.pom
[error] error: License field must be present in package: (main package)
[info] Building target platforms: noarch-Org-Linux
[info] Building for target noarch-Org-Linux
[trace] Stack trace suppressed: run last rpm:packageBin for the full output.
[error] (rpm:packageBin) Unable to run rpmbuild, check output for details.
[error] Total time: 2 s, completed Aug 26, 2014 12:01:12 AM

I couldn't find a packageLicense or similar to use in build.sbt. Is this a bug or local misconfiguration?

@antonini
Copy link

Hi...

You have to add the license information on the configuration.

Here is a sample:

rpmLicense := Some("Apache License")

@sdether
Copy link
Author

sdether commented Aug 26, 2014

Thx. i should've realized that it was under the rpm prefix

@sdether sdether closed this as completed Aug 26, 2014
@muuki88 muuki88 added the rpm label Aug 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants