[jbosstools-issues] [JBoss JIRA] (JBDS-4076) "RPM release" mismatch between src.rpm and x86_64.rpm

Nick Boldt (JIRA) issues at jboss.org
Tue Oct 4 16:32:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13302585#comment-13302585 ] 

Nick Boldt commented on JBDS-4076:
----------------------------------

So... I think I've fixed this. 

As an added bonus, the version used in the spec file is now tied to the root pom, rather than being hardcoded in another place.

https://github.com/jbdevstudio/jbdevstudio-product/commit/57b1833a8bc3cf364fe1358c06d8e65152d91544#diff-b40adc1a94896e6ef098104af161117dR268

So when we move to 10.3 or 11.0, we won't have to change the .spec file.

> "RPM release" mismatch between src.rpm and x86_64.rpm
> -----------------------------------------------------
>
>                 Key: JBDS-4076
>                 URL: https://issues.jboss.org/browse/JBDS-4076
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, rpm
>            Reporter: Václav Kadlčík
>            Assignee: Nick Boldt
>
> This is an issue with upcoming rh-eclipse46-devstudio.rpm.
> Sometimes there's a mismatch in the "RPM release" between a built RPM and its src.rpm. For example https://devstudio.jboss.com/10.0/snapshots/builds/devstudio.rpm_master/2016-10-04_00-57-00-B156/x86_64/ contains:
> rh-eclipse46-devstudio-10.2-0.20161004.0056.el7.src.rpm
> rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.x86_64.rpm
> The RPM release part is "0.20161004.0057.el7"; looks constructed using the date and time of building. The time bits are different between the two files.
> The SOURCERPM info in the RPM is broken as well:
> {{$ rpm -q --qf='%{SOURCERPM}\n' -p rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.x86_64.rpm
> rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.src.rpm
> }}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list