(In reply to Dominique Leuenberger from comment #10) > (In reply to Fabian Vogt from comment #9) > > I can only think of a hacky way to (ab)use the rebuild bot: Add a fake > > "-rebuildme" subpackage to kernel-default-base.spec which has > > %(rpm -q --qf 'Requires: %{name} = %{version}-%{release}\n' kernel-default). > > > > As the subpackage turns uninstallable once kernel-default changed, it would > > be rebuilt. > > > > @dimstar, @lnussel: Any better idea? > > Yucks - let alone this can't work (ignoring the non-escaped %{version} for > now): > > The release counter is not under control on kernel-default-base: it is - and > will remain for a while, at 1.x, until it gets direct source changes, when > it turns into 2.x - and actually, weirdly, now it is 1.2.1.6... WTH) The kernel version from git is part of the Release: field in the .spec. > So having a requires on a kernel version-release would only make it rebuild > forever in an attempt to reach the checking/rebuild counter of kernel-default It wouldn't - kernel-default-base.spec is separate from kernel-default.spec > If anything, we'd need to add it to the parent/child rebuild trigger, as in: > https://github.com/openSUSE/openSUSE-release-tools/blob/master/rebuildpacs. > pl#L77 Yes, that's cleaner. > But that is also 'just' a workaround - OBS itself has no support for this > (except switching to rebuild=direct|transitive, which is too expensive for > TW) (In reply to Petr Tesa����k from comment #11) > I must be missing something. > > kernel-default-base now BuildRequires kernel-default-devel. Since this > binary package is built from kernel-default, it must change whenever > kernel-default is rebuilt, triggering a rebuild of kernel-default-base > (because of meta change). > > Why does it not happen for kernel-default-base? TW does not have rebuild=transient/direct enabled, this is intentional. > (In reply to Ludwig Nussel from comment #12) > well, if we wanted to rely on rebuildpacs.pl that can be done in a more easy > way, it has a list of special packages built in. so just add yet another one > :) > > As long as kernel-default-base has bcntsynctag on kernel-source it should be > rebuilt automatically with rebuild counter sync by OBS though. That might work as well, but would require special configuration everywhere... The current design of a split kernel-default-base.spec has multiple issues: - Needs to be handled separately for maintenance submissions - Is missing debuginfo and debugsources - This rebuild issue