move rules to cdemu-daemon

OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=23
This commit is contained in:
Jan Engelhardt 2017-02-06 19:16:02 +00:00 committed by Git OBS Bridge
parent a4a6d88e82
commit eb37e59a07
3 changed files with 0 additions and 18 deletions

View File

@ -1,3 +1,2 @@
Enhances: kernel-%1
Requires: kernel-%1
Requires: vhba-rules

View File

@ -3,7 +3,6 @@ Mon Feb 6 17:35:38 UTC 2017 - jengelh@inai.de
- Update to new upstream release 20161009
* Documentation updates
- Set udev "uaccess" tag for /dev/vhba_ctl
-------------------------------------------------------------------
Wed Dec 9 17:19:01 UTC 2015 - jengelh@inai.de

View File

@ -42,14 +42,6 @@ a virtual SCSI adapter which can have multiple virtual devices. It is
part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux.
%package -n vhba-rules
Summary: System configuration for the vhba module
Group: System/Kernel
%description -n vhba-rules
This subpackage contains udev rules for use with vhba_ctl
to unlock the device node for local users.
%package KMP
Summary: Virtual SCSI Host Bus adapter
Group: System/Kernel
@ -85,12 +77,4 @@ for flavor in %flavors_to_build; do
popd
done
b="%buildroot//usr/lib/udev/rules.d"
mkdir -p "$b"
echo 'KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"' >"$b/70-vhba.rules"
%files -n vhba-rules
%defattr(-,root,root)
/usr/lib/udev/rules.d/*.rules
%changelog