Accepting request 401378 from home:wanghaisu:branches:network:ha-clustering:Factory
bsc#983633, upgrade to ver9.0.2 to build against kernel 4.6/4.7-rc2 OBS-URL: https://build.opensuse.org/request/show/401378 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd?expand=0&rev=34
This commit is contained in:
committed by
Git OBS Bridge
parent
18bba12a8c
commit
524400d0e7
17
drbd.spec
17
drbd.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package drbd
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,7 +23,7 @@
|
||||
%endif
|
||||
|
||||
Name: drbd
|
||||
Version: 9.0.1+git.86e4439
|
||||
Version: 9.0.2+git.14d2eea
|
||||
Release: 0
|
||||
Summary: DRBD driver for Linux
|
||||
License: GPL-2.0
|
||||
@@ -34,8 +34,13 @@ Source1: preamble
|
||||
#In kernel is: kernel/drivers/block/drbd/drbd.ko
|
||||
Source2: Module.supported
|
||||
Source3: drbd_git_revision
|
||||
Patch0: kernel-4.5-compat.patch
|
||||
Patch1: drbd-buildcompare.patch
|
||||
Patch0: drbd-buildcompare.patch
|
||||
Patch1: kernel-4.5-compat.patch
|
||||
Patch2: compat-4.7-9902af79-i_mutex.patch
|
||||
Patch3: compat-4.7-fe8fb75e-blk_queue_write_cache.patch
|
||||
#Patch4 should work together with Patch5
|
||||
Patch4: compat-4.7-50225243-kill-nla_put_u64.patch
|
||||
Patch5: compat-4.7-1dee3f59-align-nla-u64.patch
|
||||
BuildRequires: kernel-source
|
||||
BuildRequires: kernel-syms
|
||||
BuildRequires: module-init-tools
|
||||
@@ -71,6 +76,10 @@ installed kernel.
|
||||
%setup -q -n drbd-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
mkdir source
|
||||
cp -a drbd/. source/. || :
|
||||
|
Reference in New Issue
Block a user