[
https://issues.jboss.org/browse/JBDS-4076?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-4076:
----------------------------------
You are correct, [~vkadlcik], I'm using the current date & time in the spec file:
https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/devstu...
I guess this happens because the spec file is used twice, and sometimes the current
time's minute changes between calls. I guess we'd be better if the time was set in
build.sh and passed to the specfile as a parameter.
I've added an rpm component to devstudio, [~akazakov].
"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/20...
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)