Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-04-10 14:02:14 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-04-10 19:06:56 +0200
commit6d148376c09bcfcce292e488dec5b79513630707 (patch)
tree124b9972d44b83d50a120254bfd2602531d3bb5d
parentd6c71ceaa0b8137666b70134bfd20f757b351e2d (diff)
kernel-subpackage-spec: Add dummy package to ensure subpackages are
rebuilt with kernel update (bsc#1106751). In factory packages are not rebuilt automatically so a dependency is needed on the old kernel to get a rebuild with the new kernel. THe subpackage itself cannot depend on the kernel so add another empty pacakge that does depend on it. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
-rw-r--r--rpm/kernel-subpackage-spec13
1 files changed, 13 insertions, 0 deletions
diff --git a/rpm/kernel-subpackage-spec b/rpm/kernel-subpackage-spec
index f8b30937cc..4501aeb6aa 100644
--- a/rpm/kernel-subpackage-spec
+++ b/rpm/kernel-subpackage-spec
@@ -48,6 +48,19 @@ Conflicts: %(rpm -q --queryformat '[%%{PROVIDENEVRS}\n]' %kernel_package_na
This is a subpackage of %kernel_package_name. Development files are in
%kernel_package_name-devel and sources in kernel-source%variant.
+%package rebuild
+Summary: Empty package to ensure rebuilding %name in OBS
+Group: Other
+Requires: %kernel_package_name = %rpm_kver-%rpm_krel
+
+%description rebuild
+This is empty package that ensures %name is rebuilt every time
+%kernel_package_name is rebuilt in OBS.
+
+There is no reason to install this package.
+
+%files rebuild
+
%prep
%build