Richterrettich / rpm-rs

A pure rust library for building and parsing RPM's
Other
39 stars 18 forks source link

Support String Based Release #37

Closed JamesMc86 closed 2 years ago

JamesMc86 commented 3 years ago

Looking through the builder source the release is internally represented as a string.

This is what I expect as I try to use this to package a file that used to use a spec file.

However the API represents release as a numeric which blocks using this as a string.

This needs adding, presumably in a format that doesn't break the existing API. Maybe a release_string method?

Richterrettich commented 2 years ago

this is implemented now