http://bugzilla.novell.com/show_bug.cgi?id=571491
http://bugzilla.novell.com/show_bug.cgi?id=571491#c2
--- Comment #2 from Stephan Kleine 2010-01-30 09:54:12 UTC ---
Steps to reproduce:
1. $ mkdir tmp
2. $ cd tmp
3. $ osc co security:openvas:UNSTABLE openvas-libraries
4. $ mv security\:openvas\:UNSTABLE/openvas-libraries/* .
5. $ rm -rf security\:openvas\:UNSTABLE
6. Append the following to the spec right after %build before the first %if
echo FEDORA: 0%{?fedora_version}
echo MANDRIVA: 0%{?mandriva_version}
echo SUSE: 0%{?suse_version}
7. $ osc build --local-package --alternative-project openSUSE:11.2
openvas-libraries.spec
(works correctly)
8. $ osc build --local-package --alternative-project Fedora:12
openvas-libraries.spec
( fails with "libgpgme-devel is needed". Note how libgpgme-devel is required
for suse inside some %if while fedora requires gpgme-devel in the .spec)
9. $ osc build --local-package --alternative-project Mandriva:2010
openvas-libraries.spec
( note how it says "MANDRIVA: 0" and "SUSE: 01120" which is wrong since we
build for Mandriva )
10. $ osc build --local-package --alternative-project openSUSE:11.0
openvas-libraries.spec
( note how it says "SUSE: 01120" instead of 01100 )
11. $ osc build --local-package --alternative-project openSUSE:11.1
openvas-libraries.spec
( note how it says "SUSE: 01120" instead of 01110 )
This happens only if one builds packages that don't exist on the server. Also
it worked before so it has to be some regression.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.