[fuel-plugin] Unhardcode rpm release version

Bug #1616929 reported by Aleksey Zvyagintsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Aleksey Zvyagintsev

Bug Description

Release variable for rpm version should be UN-hardcoded

https://github.com/openstack/fuel-plugins/blob/master/fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako#L19

cat metadata.yaml |grep version
version: '2.0.20160825143111'

rpm -qip detach-murano-2.0-2.0.20160825143111-1.noarch.rpm
Name : detach-murano-2.0
Version : 2.0.20160825143111
Release : 1

This change need to be able cover daily-build's of plugin
(same version - different revision)

Tags: area-plugins
Evgeniy L (rustyrobot)
Changed in fuel:
assignee: Evgeniy L (rustyrobot) → nobody
Revision history for this message
Evgeniy L (rustyrobot) wrote :

Has to be fixed by providing an optional parameter "build_version" in metadata.yaml which by default should be "1". It further should be rendered in rpm spec in "Release" section.

Changed in fuel:
assignee: nobody → Aleksey Zvyagintsev (azvyagintsev)
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/362016
Committed: https://git.openstack.org/cgit/openstack/fuel-plugins/commit/?id=dd03155047f88035ee88bdc21acdb8c04b08fd33
Submitter: Jenkins
Branch: master

commit dd03155047f88035ee88bdc21acdb8c04b08fd33
Author: alexz <email address hidden>
Date: Mon Aug 29 13:57:35 2016 +0300

    Allow posibility to provide rpm 'Release' version

     * This option allow to iterate pkg version, w\o
       updating plugin version

    Closes-Bug: #1616929

    Change-Id: I41cfb19da93d2d6e0c95fcb17ead1d08fbfcab99

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.