[opensuse-buildservice] BUG: BS don't expanding %{version} in Requires: nexuiz-data == %{version}
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 -- S pozdravem / Best regards Marek Stopka Kontakty / Contacts Mobil/Cell phone: 774 59 79 40 E-mail: marekstopka@gmail.com WEB: www.m4r3k.org
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
Btw. Nequiz is built in BS already in this repo: https://build.opensuse.org/project/show?project=home%3AUlih Regards Ladislav. 2007/12/4, Michael Schroeder <mls@suse.de>:
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
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Ladislav Michnovič
-
Marek Stopka (M4r3k)
-
Michael Schroeder