[Bug 351606] osc build doesn't set %release to the proper value
http://bugzilla.novell.com/show_bug.cgi?id=351606 http://bugzilla.novell.com/show_bug.cgi?id=351606#c2 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com, | |mmeeks@novell.com --- Comment #2 from Ludwig Nussel <lnussel@novell.com> 2009-12-01 13:25:20 UTC --- Actually the buildinfo call does upload the spec file for inspection. The buildinfo return value even can contain a release tag. However the release tag is imply not included in the reply when uploading a spec file. By contrast, if not specifying a spec file the release is returned: home:lnussel:Factory/SuSEfirewall2 > osc buildinfo openSUSE_11.2 i586 > f home:lnussel:Factory/SuSEfirewall2 > osc buildinfo openSUSE_11.2 i586 SuSEfirewall2.spec > g dif[0] lnussel@tanana:/space/lnussel/bs/home:lnussel:Factory/SuSEfirewall2 > diff -u f g --- f 2009-12-01 14:20:49.000000000 +0100 +++ g 2009-12-01 14:20:54.000000000 +0100 @@ -1,13 +1,5 @@ <buildinfo project="home:lnussel:Factory" repository="openSUSE_11.2" package="SuSEfirewall2" downloadurl="http://download.opensuse.org/repositories"> <arch>i586</arch> - <srcmd5>7b4838c49e5d590e11a1338a0dfb1833</srcmd5> - <verifymd5>238e473d033c784cf7acb4210c879ba5</verifymd5> - <rev>3</rev> - <specfile>SuSEfirewall2.spec</specfile> - <file>SuSEfirewall2.spec</file> - <versrel>3.6_SVNr226-6</versrel> - <bcnt>1</bcnt> - <release>6.1</release> <debuginfo>0</debuginfo> osc does pass the value of the release tag down to build which in turn passes it to substitutedeps to replace it in the spec file. The value just needs to be actually returned by the api. -- 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.
participants (1)
-
bugzilla_noreply@novell.com