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:
parent
3b586e7dd1
commit
037e727c76
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user