Bläddra i källkod

dkms-vhba-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5326 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 13 år sedan
förälder
incheckning
b4b4a201e0
1 ändrade filer med 9 tillägg och 2 borttagningar
  1. 9 2
      d/dkms-vhba/dkms-vhba-vl.spec

+ 9 - 2
d/dkms-vhba/dkms-vhba-vl.spec

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