Accepting request 240828 from home:XRevan86

OBS-URL: https://build.opensuse.org/request/show/240828
OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2014-07-14 11:33:34 +00:00 committed by Git OBS Bridge
parent bd6e6acd80
commit 3b586e7dd1
5 changed files with 35 additions and 31 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
- Update to 20140629
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 9 14:14:21 UTC 2013 - jengelh@inai.de Sun Jun 9 14:14:21 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package vhba-kmp # spec file for package vhba-kmp
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,22 +17,20 @@
Name: vhba-kmp Name: vhba-kmp
Version: 20130607 Version: 20140629
Release: 0 Release: 0
Summary: Virtual SCSI Host Bus Adapter Summary: Virtual SCSI Host Bus Adapter
License: GPL-2.0+ License: GPL-2.0+
Group: System/Kernel Group: System/Kernel
Url: http://cdemu.sf.net/ Url: http://cdemu.sourceforge.net/about/vhba/
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux Source: vhba-module-%{version}.tar.bz2
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2 Source2: %{name}-preamble
Source2: %name-preamble Patch1: vhba-no-werror.diff
Patch3: vhba-no-werror.diff
BuildRequires: kernel-syms >= 2.6.20 BuildRequires: kernel-syms >= 2.6.20
BuildRequires: modutils BuildRequires: modutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kernel_module_package -n vhba -p %name-preamble %kernel_module_package -n vhba -p %{name}-preamble
%description %description
A Linux kernel module implementing a virtual SCSI Host Bus Adapter to A Linux kernel module implementing a virtual SCSI Host Bus Adapter to
@ -53,26 +51,27 @@ part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux. Linux.
%prep %prep
%setup -qn vhba-module-%version echo %{flavors_to_build}
%patch -P 3 -p1 %setup -qn vhba-module-%{version}
%patch -P 1 -p1
%build %build
for flavor in %flavors_to_build; do for flavor in %{flavors_to_build}; do
cp -a . "../obj-$flavor"; cp -a . ../obj-$flavor/
pushd "../obj-$flavor/"; pushd ../obj-$flavor/
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \ make KDIR=/usr/src/linux-obj/%{_target_cpu}/$flavor \
%{?_smp_mflags}; %{?_smp_mflags}
popd; popd
done; done
%install %install
export INSTALL_MOD_PATH="%buildroot"; export INSTALL_MOD_PATH="%{buildroot}"
for flavor in %flavors_to_build; do for flavor in %{flavors_to_build}; do
pushd "../obj-$flavor/"; pushd ../obj-$flavor/
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \ make KDIR=/usr/src/linux-obj/%{_target_cpu}/$flavor \
modules_install; modules_install
popd; popd
done; done
%changelog %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2c4919d2904a8f880e2730250f7ed6e3143575d5c4de6b88a97c2228aa2a185
size 15528

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e607cab56038ef4f5923c57279bbee4c2c0b57ce77e7003693d0938d09d6957
size 15797

View File

@ -6,10 +6,10 @@ Upstream: tendency: no
Makefile | 2 +- Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
Index: vhba-module-20130607/Makefile Index: vhba-module-20140629/Makefile
=================================================================== ===================================================================
--- vhba-module-20130607.orig/Makefile --- vhba-module-20140629.orig/Makefile
+++ vhba-module-20130607/Makefile +++ vhba-module-20140629/Makefile
@@ -8,7 +8,7 @@ KDIR ?= /lib/modules/$(KERNELRELEASE)/bu @@ -8,7 +8,7 @@ KDIR ?= /lib/modules/$(KERNELRELEASE)/bu
PWD ?= $(shell pwd) PWD ?= $(shell pwd)