Description of problem:
For "third party tools" (like TPS) there's sometimes need to access to the resulting string from Release line in SPEC file.
Input is SPEC file with this lines
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}} Release: 3%{_extra_release}.1
Output is .el5_1.1 or The Right String.
See this bug 441672.
Version-Release number of selected component (if applicable): rpm-4.4.2-48.el5
How reproducible: always
Actual results: no exported API
Expected results: exported API
Description of problem:
For "third party tools" (like TPS) there's sometimes need to access to the
resulting string from Release line in SPEC file.
Input is SPEC file with this lines
%define _extra_release %{?dist: %{dist} }%{!?dist: %{?extra_ release: %{extra_ release} }} release} .1
Release: 3%{_extra_
Output is .el5_1.1 or The Right String.
See this bug 441672.
Version-Release number of selected component (if applicable):
rpm-4.4.2-48.el5
How reproducible:
always
Actual results:
no exported API
Expected results:
exported API