On 06/15/2012 09:53 PM, Ryan Harper wrote:
I saw a discussion on #ovirt about how the build system is supposed to
increment the _XXXX past the version but that's not happening. Well,
newer rpms are now posted to the repo, but because the
version is the same expect for the githash, it won't upgrade. Can we
get this fixed[1]?
In my opinion the version number of the RPM should not include that
_XXXX suffix. We should build packages using the numbering schema
recommended for snapshot and pre-release packages here:
http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Release_Tag
So the pre-release numbers should be something like this:
3.1.0-0.1.20120615git0a4333
3.1.0-0.2.20120618git94a365
...
That way the day we do the release we can change to this numbering:
3.1.0-1
3.1.0-2
...
And any release number will be greater than any pre-release number.
[root@ichigo-dom234 ~]# ls *.rpm
ovirt-engine-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-backend-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-config-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-dbscripts-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-genericapi-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-notification-service-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-restapi-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-setup-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-tools-common-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-userportal-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
ovirt-engine-webadmin-portal-3.1.0_0001-0.gitdd65f3.fc17.noarch.rpm
[root@ichigo-dom234 ~]# rpm -Uvh --test *.rpm
Preparing... ########################################### [100%]
package ovirt-engine-backend-3.1.0_0001-0.gitf093e0.fc17.noarch (which is
newer than ovirt-engine-backend-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package ovirt-engine-dbscripts-3.1.0_0001-0.gitf093e0.fc17.noarch (which
is newer than ovirt-engine-dbscripts-3.1.0_0001-0.gitdd65f3.fc17.noarch) is
already installed
package ovirt-engine-genericapi-3.1.0_0001-0.gitf093e0.fc17.noarch (which
is newer than ovirt-engine-genericapi-3.1.0_0001-0.gitdd65f3.fc17.noarch) is
already installed
package ovirt-engine-restapi-3.1.0_0001-0.gitf093e0.fc17.noarch (which is
newer than ovirt-engine-restapi-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package ovirt-engine-setup-3.1.0_0001-0.gitf093e0.fc17.noarch (which is
newer than ovirt-engine-setup-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package ovirt-engine-config-3.1.0_0001-0.gitf093e0.fc17.noarch (which is
newer than ovirt-engine-config-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package
ovirt-engine-notification-service-3.1.0_0001-0.gitf093e0.fc17.noarch (which is
newer than
ovirt-engine-notification-service-3.1.0_0001-0.gitdd65f3.fc17.noarch) is
already installed
package ovirt-engine-tools-common-3.1.0_0001-0.gitf093e0.fc17.noarch
(which is newer than
ovirt-engine-tools-common-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package ovirt-engine-userportal-3.1.0_0001-0.gitf093e0.fc17.noarch (which
is newer than ovirt-engine-userportal-3.1.0_0001-0.gitdd65f3.fc17.noarch) is
already installed
package ovirt-engine-webadmin-portal-3.1.0_0001-0.gitf093e0.fc17.noarch
(which is newer than
ovirt-engine-webadmin-portal-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already
installed
package ovirt-engine-3.1.0_0001-0.gitf093e0.fc17.noarch (which is newer
than ovirt-engine-3.1.0_0001-0.gitdd65f3.fc17.noarch) is already installed
1. I know I can --nodeps --force to get this to work.
_______________________________________________
Arch mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/arch