SHA256
1
0
forked from pool/vhba-kmp

Restore style and metadata fields, and add a changelog entry

OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2014-07-14 11:37:18 +00:00 committed by Git OBS Bridge
parent 3b586e7dd1
commit 037e727c76
2 changed files with 22 additions and 19 deletions

View File

@ -1,7 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
- Update to 20140629 - Update to new upstream release 20140629 (cdemu-3.0.0)
* CD image write support
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 9 14:14:21 UTC 2013 - jengelh@inai.de Sun Jun 9 14:14:21 UTC 2013 - jengelh@inai.de

View File

@ -22,15 +22,17 @@ 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.sourceforge.net/about/vhba/ Url: http://cdemu.sf.net/about/vhba/
Source: vhba-module-%{version}.tar.bz2 #Git-Clone: git://git.code.sf.net/p/cdemu/code
Source2: %{name}-preamble Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
Source2: %name-preamble
Patch1: vhba-no-werror.diff Patch1: 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
@ -51,25 +53,25 @@ part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux. Linux.
%prep %prep
echo %{flavors_to_build} echo %flavors_to_build
%setup -qn vhba-module-%{version} %setup -qn vhba-module-%version
%patch -P 1 -p1 %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