Hi Nils,
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124364 .
-14: _sourcedir %{_topdir}/%{name}-%{version}
The latest "Version:" tag in the spec file is the one for popt. It looks as if this value is substituted for %{version}. How can this be fixed?
I guess this has to be fixed in RPM itself -- I think you should file it in Bugzilla (actually I stumbled over this a while ago but was too lazy to file it ;-).
What do you think the above bugzilla reference is for? Sadly Jeff has already tagged this a WONTFIX. Too bad, as this setup with spec, source and patch files separated by package is very convenient.
Guess we will have to work around packages that define "Version:" tags for sub packages. Too bad :( .
Leonard.