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

Default value for rpm source package does not follow rpm naming conventions #401

Open
fepeti opened this issue Jul 21, 2021 · 0 comments · May be fixed by #411
Open

Default value for rpm source package does not follow rpm naming conventions #401

fepeti opened this issue Jul 21, 2021 · 0 comments · May be fixed by #411

Comments

@fepeti
Copy link

fepeti commented Jul 21, 2021

Currently, rpm source packages are, by default, named as name-src.rpm. This way, the package will not have any arch defined.
https://github.com/nebula-plugins/gradle-ospackage-plugin/blob/master/src/main/groovy/com/netflix/gradle/plugins/rpm/RpmPlugin.groovy#L40
This causes scanning tools that rely on rpm names to be name-version-release.arch(.rpm) to fail as they may not be able to parse the package name (it is the case for Trivy).

Please, make the default rpm names end with .src.rpm, instead of -src.rpm.

@benty-amzn benty-amzn linked a pull request May 3, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant