Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351322

Summary: Macros in Release not resolved
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: RPMAssignee: Alexander Kurtakov <akurtakov>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: linux.rpm-inbox, mnowak
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Andrew Overholt CLA 2011-07-06 08:42:35 EDT
Pressing Ctrl-Alt-c for the following .spec:

%if 0%{?_buildid}
%define pkg_release 0.%{?_buildid}%{?dist}
%else
%define pkg_release 4%{?dist}
%endif

Name: test
Version: 1.1.16
Release: %{?pkg_release}
Summary: test summary
License: EPL
URL: http://foo.com
Source0: test-1.tar.bz2

results in:

* Wed Jul 6 2011 Andrew Overholt <overholt@redhat.com> 1.1.16-%{?pkg_release}

The Release isn't resolved.  I suspect we're not properly resolving internal or system-defined macros such as _buildid.
Comment 1 Eclipse Genie CLA 2014-05-20 01:27:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2016-05-10 17:02:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2018-05-01 15:21:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2020-04-21 18:10:47 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2022-04-12 13:58:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.