SHA256
1
0
forked from pool/vhba-kmp

- Add vhba-devname.diff

OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=18
This commit is contained in:
2015-11-23 22:36:51 +00:00
committed by Git OBS Bridge
parent bc199254ba
commit 89b18088ff
3 changed files with 31 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package vhba-kmp
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@ Url: http://cdemu.sf.net/about/vhba/
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
Source2: %name-preamble
Patch1: vhba-no-werror.diff
Patch2: vhba-devname.diff
BuildRequires: kernel-syms >= 2.6.20
BuildRequires: modutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -55,7 +56,7 @@ Linux.
%prep
echo %flavors_to_build
%setup -qn vhba-module-%version
%patch -P 1 -p1
%patch -P 1 -P 2 -p1
%build
for flavor in %flavors_to_build; do