From e327903f6cb92211f8f1605052807e4442d257524304dec8281497e51fa26757 Mon Sep 17 00:00:00 2001 From: nick wang Date: Wed, 29 Jul 2015 01:10:03 +0000 Subject: [PATCH] Accepting request 319181 from home:wanghaisu:branches:network:ha-clustering:Factory BSC#939778. Add obsoletes and a description for kmp package. OBS-URL: https://build.opensuse.org/request/show/319181 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd?expand=0&rev=15 --- drbd.changes | 7 +++++++ drbd.spec | 18 +++++++++++++++++- preamble | 2 ++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/drbd.changes b/drbd.changes index 9ce0f0a..80ee29e 100644 --- a/drbd.changes +++ b/drbd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 29 01:03:11 UTC 2015 - nwang@suse.com + +- BSC#939778. Add obsolete of old packages and a description for + KMP package. +- Require kernel-source-rt for RT. + ------------------------------------------------------------------- Mon Jul 20 07:52:36 UTC 2015 - nwang@suse.com diff --git a/drbd.spec b/drbd.spec index 24a31e2..ed8575b 100644 --- a/drbd.spec +++ b/drbd.spec @@ -25,7 +25,7 @@ Name: drbd Version: 8.4.6 Release: 0 #Name: drbd-kernel -Summary: Kernel driver for DRBD +Summary: Distributed Replicated Block Device License: GPL-2.0+ Group: Productivity/Clustering/HA Url: http://www.drbd.org/ @@ -52,16 +52,32 @@ BuildRequires: kernel-source BuildRequires: kernel-syms BuildRequires: module-init-tools %if 0%{?buildrt} == 1 +BuildRequires: kernel-source-rt BuildRequires: kernel-syms-rt %endif + Requires: drbd-utils >= 8.9.0 Supplements: drbd-utils >= 8.9.0 +Obsoletes: drbd-bash-completion < %{version} +Obsoletes: drbd-kmp < %{version} +Obsoletes: drbd-pacemaker < %{version} +Obsoletes: drbd-udev < %{version} +Obsoletes: drbd-utils < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: i586 s390 %kernel_module_package -n drbd -p %_sourcedir/preamble %description +Drbd is a distributed replicated block device. It mirrors a block +device over the network to another machine. Think of it as networked +raid 1. It is a building block for setting up clusters. + +%package KMP +Summary: Kernel driver for DRBD +Group: Productivity/Clustering/HA + +%description KMP This module is the kernel-dependent driver for DRBD. This is split out so that multiple kernel driver versions can be installed, one for each installed kernel. diff --git a/preamble b/preamble index ace95d0..a1043de 100644 --- a/preamble +++ b/preamble @@ -1 +1,3 @@ Requires: kernel-%1 +Recommends: drbd +Recommends: drbd-utils