On Mon, Dec 03, 2007 at 11:40:13PM +0100, Marek Stopka (M4r3k) wrote:
Hi! I have this construction in my spec... Requires: nexuiz-data == %{version}
And if i try osc build openSUSE_10.3 i586 nexuiz.spec package is builded fine and rpm report this:
mantisha:~ # rpm -qRp /var/tmp/build-root/usr/src/packages/RPMS/i586/nexuiz-2.3-0.pm.0.i586.rpm nexuiz-data = 2.3
But if i build my package in Build Service i get this...
marek@mantisha:~/tmp> rpm -qRp nexuiz-2.3-5.1.i586.rpm nexuiz-data = %{version}
So.. You can see... Build service don't expand that %{version}.
In attachment is that buggy nexuiz.spec
No, that's not true. The buggy version (rev 7) from the build service looks like this: ... BuildRoot: %{_tmppath}/%{name}-%{version}-build Autoreqprov: on Requires: nexuiz-data = %{version} Version: 2.3 Release: 0.pm.0 ... %{version} is only defined after the 'Version:' line, so it's not the build service's fault, but a bug in your specfile. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org