|
@@ -2,7 +2,7 @@ Summary: VHBA virtual host bus adapter module
|
|
|
Summary(ja): VHBA(仮想ホストバスアダプタ)モジュール
|
|
|
Name: dkms-vhba
|
|
|
#Version: 1.2.1
|
|
|
-Version: 20110416
|
|
|
+Version: 20110915
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: GPLv2+
|
|
|
Group: System Environment/Kernel
|
|
@@ -10,6 +10,8 @@ URL: http://cdemu.sourceforge.net
|
|
|
Source: http://downloads.sourceforge.net/cdemu/vhba-module-%{version}.tar.gz
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
+
|
|
|
+BuildRequires: kernel-headers
|
|
|
Requires: gcc, make
|
|
|
Requires(post): dkms
|
|
|
Requires(preun): dkms
|
|
@@ -48,7 +50,7 @@ EOF
|
|
|
%{__mkdir_p} %{buildroot}/etc/udev/rules.d
|
|
|
%{__cat} > %{buildroot}/etc/udev/rules.d/60-vhba.rules << 'EOF'
|
|
|
# Make vhba
|
|
|
-KERNEL=="vhba_ctl", NAME="%k", MODE="0660", OWNER="root", GROUP="users"
|
|
|
+KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="users"
|
|
|
EOF
|
|
|
|
|
|
%clean
|
|
@@ -72,6 +74,11 @@ dkms remove -m %{dkms_name} -v %{dkms_vers} %{?quiet} --all || :
|
|
|
%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd1@gmail.com> - 20110915-1
|
|
|
+- new upstream release
|
|
|
+- added BuildRequires: kernel-headers
|
|
|
+- fixed udev rule
|
|
|
+
|
|
|
* Wed May 11 2011 Toshiharu Kudoh <toshi.kd1@gmail.com> - 20110416-1
|
|
|
- new upstream release
|
|
|
|