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
- 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

View File

@ -22,15 +22,17 @@ Release: 0
Summary: Virtual SCSI Host Bus Adapter
License: GPL-2.0+
Group: System/Kernel
Url: http://cdemu.sourceforge.net/about/vhba/
Url: http://cdemu.sf.net/about/vhba/
Source: vhba-module-%{version}.tar.bz2
Source2: %{name}-preamble
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
Source2: %name-preamble
Patch1: vhba-no-werror.diff
BuildRequires: kernel-syms >= 2.6.20
BuildRequires: modutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kernel_module_package -n vhba -p %{name}-preamble
%kernel_module_package -n vhba -p %name-preamble
%description
A Linux kernel module implementing a virtual SCSI Host Bus Adapter to
@ -51,27 +53,27 @@ part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux.
%prep
echo %{flavors_to_build}
%setup -qn vhba-module-%{version}
echo %flavors_to_build
%setup -qn vhba-module-%version
%patch -P 1 -p1
%build
for flavor in %{flavors_to_build}; do
cp -a . ../obj-$flavor/
pushd ../obj-$flavor/
make KDIR=/usr/src/linux-obj/%{_target_cpu}/$flavor \
%{?_smp_mflags}
popd
for flavor in %flavors_to_build; do
cp -a . "../obj-$flavor/"
pushd "../obj-$flavor/"
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
%{?_smp_mflags}
popd
done
%install
export INSTALL_MOD_PATH="%{buildroot}"
export INSTALL_MOD_PATH="%buildroot"
for flavor in %{flavors_to_build}; do
pushd ../obj-$flavor/
make KDIR=/usr/src/linux-obj/%{_target_cpu}/$flavor \
modules_install
popd
for flavor in %flavors_to_build; do
pushd "../obj-$flavor/"
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
modules_install
popd
done
%changelog