Closed DevFlorian closed 6 years ago
Which version of the plugin do you use? There was a bug in the 0.9.x versions which made "yum" detect RPMs are source RPMs although they were not. This should be fixes in 0.10.x releases.
From the link you provide I am not really sure what you are pointing to.
Maybe you could also add a bit more context of what is not working. Like something to reproduce.
I'm using 0.10.2 and createrepo to create a repomd.xml.
This is my configuration:
`
Ok I see … thanks for the update. I guess that could be a quick fix.
This should be fixed in version 1.0.0 which I just released. Please re-open otherwise.
rpms doesn't work with zypper or createRepo. Maybe add a default Entry for Source RPM Header like gradle RPM Plugin does.
// need a source package because createrepo will assume your package is a source package without it
https://github.com/nebula-plugins/gradle-ospackage-plugin/blob/master/src/main/groovy/com/netflix/gradle/plugins/rpm/RpmCopyAction.groovy