https://bugzilla.novell.com/show_bug.cgi?id=351606 Summary: osc build doesn't set %release to the proper value Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: adrian@novell.com ReportedBy: jblunck@novell.com QAContact: adrian@novell.com CC: mls@novell.com Found By: Development In kernel-syms.spec for the Kernel projects in the OBS we check for the proper release numbers of the BuildRequired binary kernel packages (kernel-default, etc) to be equal to the release number of the kernel-syms package. This fails when you try to build the kernel-syms package locally with osc build because the release number from the specfile is used instead. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7208 + umask 022 + cd /usr/src/packages/BUILD + export NO_BRP_NOEXECSTACK=yes + NO_BRP_NOEXECSTACK=yes + rm -rf /var/tmp/kernel-syms-2.6.24_rc6_git7-build + mkdir /var/tmp/kernel-syms-2.6.24_rc6_git7-build + /usr/src/packages/SOURCES/guards i586 IA32 ++ /usr/src/packages/SOURCES/guards i586 IA32 + for config in '$(/usr/src/packages/SOURCES/guards i586 IA32 < /usr/src/packages/SOURCES/config.conf)' + arch=i386 + flavor=default + rpm -q --quiet kernel-default ++ case $flavor in + set -- kernel-default default + /usr/src/packages/SOURCES/guards kernel-default default i586 IA32 + diff -q /usr/src/packages/BUILD/kernel-source.patches /usr/src/packages/BUILD/kernel-default.patches ++ rpm -q --qf '%{RELEASE}' kernel-default + set -- 0 40.1 + set -- 0 40 + '[' 0 '!=' 40 ']' + echo 'Release numbers 0 and 40 do not match' Release numbers 0 and 40 do not match + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.7208 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7208 (%install) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.