----- Original Message -----
On 06/23/2014 11:20 AM, Joe Rafaniello wrote:
> Hi all,
>
> Does anyone use gem2rpm to upgrade an existing rpm to new versions of
> upstream gems?
>
> I'm contemplating working on a pull request to make gem2rpm aware of an
> existing .spec file and only update specific sections such as: version,
> requires, buildrequires, and adding a changelog. As it is now, it
> overwrites the existing rpm spec, removing any changelog entries, etc.
>
> Is this a good idea? What do others do to regenerate the updated version,
> requires/buildrequires to avoid human error?
>
> Thanks,
>
You should be able to use polisher from where-ever to do this
programmatically.
Just updated the last outstanding PR to incorporate your latest feedback
https://github.com/ManageIQ/polisher/pull/98
As always, glad to review any additional PR's w/ any new polisher
features & enhancements.
-Mo
Yeah, Mo.
I'm wondering if the complexity should live in polisher or gem2rpm.
It seems strange to use gem2rpm for initial rpms and polisher for updates.
If we can solve both initial and updates to a spec in gem2rpm, we can eliminate similar
logic in both.
--
Joe Rafaniello