23 Sep
2010
23 Sep
'10
18:23
On 09/23/2010 05:56 AM, Johannes Weberhofer wrote:
Adrian, thank you for leading me to the "if" section. I have checked the spec-file, and found that for RHEL4 and SLES9 the "%if %{defined mdkversion}" did not work. Replacing it by "%if 0%{?mandriva_version}" solved the problem.
I will confirm that "%if 0%{?tagname}" works consistently across a broad
array of repos, whereas "%if %{defined tagname}" does not. I spent time
researching it last week.
Cheers,
James
--
James Perkins