Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

RPM can't figure out how to increment versions. #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When we release -rc versions, we supply users with an rpm spec which generates:

memcached-1.4.2-rc1.x86_64.rpm or whatever.

But the "rpm approved" versioning is really:

memcached-1.4.2-0.1.rc.x86_64.rpm

Which allows the final release to be:

memcached-1.4.2-1.x86_64.rpm

Which allows stupid tools like yum to actually upgrade the software.

So our specfile generator needs to turn a tag of:

1.4.2-rc1

into:

Version: 1.4.2
Release: 0.1.rc

... for the spec file.

Original issue reported on code.google.com by dorma...@rydia.net on 12 Oct 2009 at 10:51

GoogleCodeExporter commented 9 years ago
okay, I got *that* wrong.

Should be more like:

memcached-1.4.2-0.1.rc1.x86_64.rpm

... so people can bump releaess of -rc1 if they have to...

is that obscure enough? can this work now? :P

Original comment by dorma...@rydia.net on 12 Oct 2009 at 10:58

GoogleCodeExporter commented 9 years ago
Looks like the right fix is in my issue_98 branch finally. Closing it out, will
reopen if it's still broken.

Original comment by dorma...@rydia.net on 2 Nov 2009 at 10:16

GoogleCodeExporter commented 9 years ago
Meant to close this issue, sorry for the spam :(

Original comment by dorma...@rydia.net on 2 Nov 2009 at 10:17