Hillier, Gernot wrote:
I would like to make an additional update to this patch, but I seem to need help from the osc hackers:
1) It turned out, that the error handling should be improved. For example, some SPEC file authors use a macro for the package name and thus, "createpacfromsrcrpm" would use "%{name}" for the package name. I don't think that this rare case has to be really automatically fixed
Never seen that, but it shouldn't be that hard to fix this: rpm -q --qf '%{name}\n' --specfile foo.spec | head -1 OR rpm -q --qf '%{name}\n' --package foo.src.rpm gives you the name of the main package. hth, Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org